Menu

#1478 Linux joystick initialization fails since r39979

v3.6
closed-fixed
None
GTK3
2021-12-30
2021-05-24
compyx
No

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.

Discussion

  • gpz

    gpz - 2021-05-24

    confirmed. the resources are OK after launch, but joystick does not work

     
  • Fabrizio Gennari

    • status: open --> pending-fixed
     
  • Fabrizio Gennari

    r40068 has a fix, please retest

     
  • compyx

    compyx - 2021-05-26

    Works for me now, thanks :)

     
  • gpz

    gpz - 2021-05-26

    yep, closing :)

     
  • Querino

    Querino - 2021-05-26

    but breaks windows compiling

     
  • Fabrizio Gennari

    r40070 should fix it

     
  • compyx

    compyx - 2021-05-27
    • status: pending-fixed --> closed-fixed
     
  • compyx

    compyx - 2021-05-27

    Windows builds fine now. Closing, again :)

     

Log in to post a comment.

MongoDB Logo MongoDB