Linux joystick initialization fails since r39979
Versatile Commodore Emulator
Brought to you by:
blackystardust,
gpz
Since r39979 VICE fails to properly initialize any USB joystick.
Take this config file:
[C64SC]
JoyDevice2=4
and save as 'joy.rc'.
Run x64sc:
x64sc -default -config joy.rc
The expect behaviour (which worked before said commit) is that the joystick works, but it doesn't. In the UI you have to switch the joystick device to for example 'keyset B' and then back to whatever the USB joystick is to make VICE respond to the joystick.
Toggling the value of the combobox in the UI only updates the "JoyDevice2" resource with the current index of the combobox, which then triggers the resource handler, which in turn seems to properly initialize the joystick for use in VICE. Using the config file doesn't appear to trigger the same code.
confirmed. the resources are OK after launch, but joystick does not work
r40068 has a fix, please retest
Works for me now, thanks :)
yep, closing :)
but breaks windows compiling
r40070 should fix it
Windows builds fine now. Closing, again :)