Anything Related to Gamepad
-
I am looking for examples related to PyQt QGamepad but didn't find any relevant examples but just discussions about it on different forums
Saw this link related to C++ only but not python: https://doc.qt.io/qt-5/qtgamepad-index.html -
Hi,
The examples might be C++ but they are pretty basic and should not be too hard to translate to Python,
@SGaist Thanks but the problem is it doesn't allow to reconnect to the joystick if the joystick is disconnected while the Qt program is running and the joystick is detect at /dev/input/js0, which can only be accessed using struct module. I have implemented this using struct module inside a QThread to read the data and again reconnect.
-
Hi,
The examples might be C++ but they are pretty basic and should not be too hard to translate to Python,
@SGaist Thanks but the problem is it doesn't allow to reconnect to the joystick if the joystick is disconnected while the Qt program is running and the joystick is detect at /dev/input/js0, which can only be accessed using struct module. I have implemented this using struct module inside a QThread to read the data and again reconnect.
-
V VIDYUL SHAH has marked this topic as solved on