Menu

#2026 WOJ userport joy adapter reports values inverted

v3.x
closed-fixed
None
MacOS X
2024-05-08
2024-05-06
No

hi,

the Wheel of Joy (WOJ) userport joystick adapter reports bits as 0 when not pressed and 1 when pressed, it should be the reverse:

Quoting the documentation at https://github.com/SukkoPera/WheelOfJoy: "Every bit will be 0 if the corresponding direction/button is pressed, 1 otherwise."

I've confirmed this with real hardware: The attached program works on real hardware and clearly shows the problem when run in Vice. Press F7, then F2 to switch to the Wheel of Joy screen.

I've tested this with VICE 3.8 (GTK3 3.24.38, GLib 2.78.0, Cairo 1.17.6, Pango 1.50.14)
Darwin 23.4.0
Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; rootxnu-10063.101.17~1/RELEASE_ARM64_T6000
arm64

1 Attachments

Discussion

  • gpz

    gpz - 2024-05-06

    Never heard about this adapter - does it even match one of those that VICE emulates? Which one did you select?

     
  • gpz

    gpz - 2024-05-06
    • assigned_to: Marco van den Heuvel
     
  • Querino

    Querino - 2024-05-07

    Which one did you select?

    probably the "WOJ userport joy adapter" :)

    here a question arises. why some joystick adapters (in userport devices) are labeled as "userport xxxxxx joy adapter" while others are "xxxxxx userport joy adapter"?
    what is the logic behind this?

     
  • gpz

    gpz - 2024-05-07

    No specific logic at all i think :)

     
  • gpz

    gpz - 2024-05-08

    Uhm, and which Adapter should i select in "Joyride"? shrug

    edit: oops, i started an older version of joyride - i see it now :)

     

    Last edit: gpz 2024-05-08
  • gpz

    gpz - 2024-05-08

    fixed in r45152 - cheers!

     
  • gpz

    gpz - 2024-05-08
    • status: open --> closed-fixed
     
  • Dieter Baron

    Dieter Baron - 2024-05-08

    Thanks!

     

Log in to post a comment.