Access gamepads via QGamepad
I'm currently working on some kind of embedded gaming project. Therefore I've connected two XBOX360 Wireless Gamepads to my Raspberry Pi using the Microsoft Xbox 360 Wireless Receiver.
When using the QGamepad class that comes with Qt 5.7 it recognizes just one gamepad - but accepts input from both of them. Is there any way to tell Qt to directly access the devices?
Linux itself recognizes the two gamepads as /dev/input/js0 and /dev/input/js1.
I'm looking forward to any hints :-)
One thing that comes to my mind is to try out Qt 5.8 - maybe this issue is fixed there already?
This was actually something I thought about, but I'd prefer other solutions than switching to Qt 5.8.
Also: I don't know if it's actually an issue, it just seems as if QGamepad uses gamepads which are connected via USB.