I picked up the iCade, and it's pretty fun on the Atari games on iPad (I hope other games in the future supports it).
This would be a great controller for MAME.
The problem is, the device doesn't act like a normal joystick, so normal joystick logic won't work. The iCade syncs with a device as a bluetooth keyboard.
When you move the joystick or press a button and hold it, only a single keystroke is sent that the game is expected to detect and then react on, instead of a constant signal with joysticks.
When the joystick or button returns to default, a second keystroke is sent telling the game that the action has ended.
I have the keyboard mappings, but hoping someone who's more knowledable with the MAME code can implement.
Here are the key mappings:
Code:
Action | key to ... | start | to end ======================== Up | w | e Down | x | z Left | a | q Right | d | c Btn0 | t | y Btn1 | u | f Btn2 | i | m Btn3 | o | g Btn4 | h | r Btn5 | j | n Btn6 | k | p Btn7 | l | v
The buttons are arranged in 2 rows of 4, with what I call "Btn0" through "Btn3" on the top row, and "Btn4" through "Btn7" on the bottom row. Here's an image that shows what I attempted to explain:
Diagonals are counted by signaling both the UP and the LEFT on, and then both off when centered.
If you rotate the joystick, you get the following signals (I'll start up and go clockwise)
w <-- up on d <-- right on (diagonal) e <-- up off (right) x <-- down on (diagonal) c <-- right off (down) a <-- left on (diagonal) z <-- down off (left) w <-- up on (diagonal) q <-- left off (up again) e <-- up off (joystick centered)
Hope this information helps. I'd love to see iCade functionality added to MAME
Thanks
|