Joystick Simultaneous Left/Right

Questions about the RaspberryJAMMA adapter.

Moderator: dee2eR

Post Reply
Varthel
Observer
Observer
Posts: 1
Joined: Tue Dec 15, 2020 8:14 pm

Joystick Simultaneous Left/Right

Post by Varthel » Tue Dec 15, 2020 8:18 pm

There's a little bit of "My own project" in this.

Basically, the controls I'm using over the jamma joystick input are a series of switches. I'm finding that I can't simultaneously register a left and right at the same time.

I'm guessing it is the mk joystick driver that is limiting me-- is there some way around this?

dee2eR
Inventor
Inventor
Posts: 1617
Joined: Tue Aug 22, 2017 2:07 pm

Re: Joystick Simultaneous Left/Right

Post by dee2eR » Sat Dec 19, 2020 12:57 am

It probably is the joystick driver as left/right are handled as one axis. You would have to either use inputs set up as buttons (and setup MAME inputs to suit) or re-write the mk_arcade_joystick driver to handle the joystick directions as buttons.

Not sure what you're trying to do but you may find being able to press left and right at the same time can cause in game issues as some games just won't know what to do as when using a joystick it is not physically possible to have left and right pushed at the same time. Depending on the game code you may see unexpected results (eg. glitches or crashing).

Post Reply