ccrma / chuck

ChucK Music Programming Language
http://chuck.stanford.edu/
GNU General Public License v2.0
816 stars 130 forks source link

Joystick (Windows) HID is not working #313

Closed gewang closed 1 year ago

gewang commented 1 year ago

issue: cannot see/open joysticks on Windows; urgent issue, should aim to fixed asap for 1.5.0.1

note: the Windows HID code is quite old and only worked when compiled from WindowsXP, the old build environment with Qt4. This has not worked since moving compilation to Windows 10. As reported, in 1.4.2.0, miniAudicle windows joystick works (compiled on XP) whereas command line chuck does not (compiled on Windows10). The entire build system has migrated to Windows 10 and Qt6 starting in 1.5.0.0, and neither mA nor CLI chuck can open joysticks.

gewang commented 1 year ago

this has been addressed (4154220) and will be in chuck-1.5.0.1; certain controllers, including XBox One gamepads, will be recognized but will be receive data over HID; this is due to the ever evolving landscape of input on Windows; one viable workaround is to install HID drivers for the gamepad