Electric1447 / 1Controller

Magisk module which adds proper key mapping for various game controllers.
26 stars 11 forks source link

Add support for more gampads #2

Closed djsmax closed 4 years ago

djsmax commented 5 years ago

Hi, and first, thanks for such a great module! However, it looks like some products (controllers) are missing. What I did was - I made a fork, and changed some things:

You can check it in my commits history, I think that's the case when code says more than words 😄 I used a list of USB vendors and products and their ids from Linux USB project: http://www.linux-usb.org/usb.ids Also to be double sure, I used a second list with all MS USB-connectable deivces: https://www.the-sz.com/products/usbid/index.php?v=0x045E

And what is important: the only device I have at hand, as I said above, is this Receiver for 360, so I didn't check all other devices. But looking at the names, I don't think there are so many differences between them. Maybe on some devices will still be something like "buttons mixed up" or some time it might come to the situation like "guys, a D-Pad doesn't work on this thing" or any other kind of issues, but with these improvments other users can discover that their controllers or connectors or adapters can be supported - I think that's the aim of 1Controller :)

Electric1447 commented 4 years ago

Your changes have been merges.

Thanks :)