| Main > Main Forum |
| Soft switchable 4/8 way? |
| << < (3/4) > >> |
| dgame:
"if the last good direction is UP and the next output from the joystick is UP/RIGHT, then make direction RIGHT", I would want if the last good direction is UP and the next output from the joystick is UP/RIGHT, then DO NOTHING until there is only RIGHT. Meaning just ignore the diagonals and only register the cardinals. Can someone post an example of MAME config file with the NOT function being used? Something like Up = Up NOT Up/Left NOT Up/Right? Is this possible? Thanks |
| Nephasth:
--- Quote from: dgame on November 04, 2011, 08:02:50 pm ---"if the last good direction is UP and the next output from the joystick is UP/RIGHT, then make direction RIGHT", I would want if the last good direction is UP and the next output from the joystick is UP/RIGHT, then DO NOTHING until there is only RIGHT. Meaning just ignore the diagonals and only register the cardinals. --- End quote --- For that you could just set UP = UP, UP/RIGHT, UP/LEFT; DOWN = DOWN, DOWN/RIGHT, DOWN/LEFT; RIGHT = RIGHT; LEFT = LEFT. |
| equlizer:
I just set mine to UP, UP, DOWN, DOWN, LEFT RIGHT, LEFT RIGHT, B, A, SELECT START >:D |
| Nephasth:
--- Quote from: Nephasth on November 04, 2011, 08:09:20 pm ---For that you could just set UP = UP, UP/RIGHT, UP/LEFT; DOWN = DOWN, DOWN/RIGHT, DOWN/LEFT; RIGHT = RIGHT; LEFT = LEFT. --- End quote --- Nope, doesn't work. |
| RandyT:
--- Quote from: dgame on November 04, 2011, 08:02:50 pm --- I would want if the last good direction is UP and the next output from the joystick is UP/RIGHT, then DO NOTHING until there is only RIGHT. Meaning just ignore the diagonals and only register the cardinals. --- End quote --- I believe that is MAME's "sticky" mode. Some like it, some don't. Supposedly it used to be that way by default, and was removed because too many folks were needing to re-compile to get rid of it. There may be a way to activate it in current builds. BTW, here are a few 8-year old threads on the topic of this thread (The effort put into this topic has been pretty exhaustive. ;)); http://forum.arcadecontrols.com/index.php?topic=7520.msg54062#msg54062 http://forum.arcadecontrols.com/index.php?topic=7288.msg52066#msg52066 http://forum.arcadecontrols.com/index.php?topic=5854.msg39913#msg39913 RandyT |
| Navigation |
| Message Index |
| Next page |
| Previous page |