Hi there!
I searched around the internet, but couldn't find any info about these matters.
Anyone here have some experience on developing for Linux with MV, the gamepads works naturally, or do I need to take any additional step to make them work?
And about the old D-Input? There's any know way to implement support for it on MV?
Thread bump.
Isn't there anyone here that ported to Linux?
So that people have an easy reference to it, I shall place my message to you about gamepads in Linux here as well.
I tested three different controllers (old Logitech, retrousb adapter for NES/SNES controllers and XBox360 controller) with a title I'm working in Linux Mint 18 and all three worked perfectly. The Logitech has some input lag on the D-Pad, but it's very old, probably over a decade, so I chalk that up more to outdated hardware than I do the software. The other two controllers were very responsive and worked as intended. The NES controller, even with only 4 working inputs plus the D-Pad, worked perfectly. Now, if you needed more for custom things, that would require a separate plugin for that and a controller with more inputs, but that it worked beautifully.
As for D-Input, I can't weigh in on that, only to say that because D-Input is so old and it's primarily DirectX, it probably won't work very well in Linux and even if it does, MV might not support D-Input because of the way its coded. Ace and earlier versions could, but if you can find a way to get D-Input to work through Javascript, then it could work.
Pretty sure the gamepad API works in MV... On windows, I can use my old controller with it.
You shouldn't have to implement it.
D-input, I think. I read an article about the Gamepad API on Mozilla, and it said that even old controllers are supported.