Main > Main Forum

4-way stick in software?

Pages: (1/6) > >>

seaner:

Has anyone considered turning an 8-way stick into a 4-way in software?  Has anyone tried it?  Success?  Miserable failure?
Since I designed my own keyboard encoder, this is obviously an option for me, rather than eating up panel space for dedicated 4-way sticks.

_Iz-:

I saw a link posted to something that does exactly that. (It has another function also)

http://home.ptd.net/~ruover25/rotary/rotary.html

seaner:

excellent.. yes this does exaclty what I plan on doing.  While scanning the joystick inputs in 4-way mode, don't report any new movements if 2 adjacent switches are closed.  A simple toggle switch on the control panel labelled 4-way/8-way will do the trick!
This is the sort of feature that could even work its way into the mame codebase and apply the filtering at the pc end.

_Iz-:

I thought there already was something like it in MAME. Sticky Keys? Steady Key? I remember discussion of it some time ago. I think it may not have been implemented very well...

seaner:

I've heard of this option, but I had a feeling it was just some debouncing code or other.  no matter, off to work on firmware tonight! can probably just have one switch to switch all joysticks to 4-way mode.. I can't think of any games that would use both 8- and 4-way sticks at the same time :)

Pages: (1/6) > >>

Go to full version