Setup & Operation
Introduction
Out of the box, the JVS-PAC 2 behaves like a keyboard, suitable for use with MAME without any user configuration. In other words, if you have a working MAME setup, you can simply connect the JVS-PAC 2 and things should work.
Setup and configuration
Connect the cabinet’s JVS I/O board to the JVS-PAC 2, and the JVS-PAC 2 to your computer or console using a data-capable USB cable. Power off before connecting or reseating JVS cables.
Press B to move through the OLED menus, and A to change a setting. Choose SAVE CONFIG to keep your settings on the microSD card, and wait for it to finish before powering off.
The USB mode menu lets you choose Keyboard, XInput, Switch or PS3. Keyboard uses the mappings below. XInput provides two gamepads and supports analog controls. Switch and PS3 each provide two digital controllers, without keyboard, mouse or analog output.
Changes between Keyboard and XInput take effect immediately. Changing to, from, or between Switch and PS3 requires SAVE+REBOOT. Menus for analog and rotary controls appear when suitable hardware is connected; analog also requires XInput mode.
Controlling MAME and MiSTer – shift mode
In MAME, to quit games, control volume, pause a game etc, you would normally use a keyboard. The JVS-PAC 2 makes this easy by having the 1P Start button work a little differently. Choose Off, Mame ESC, Mame Full, Mister Core or Mister Full in the OLED menu. Shift mode works with both Keyboard and XInput output.
No shift mode
If you don’t want the shift key functionality, choose Off.
Mame ESC – exit games only
This is the default shift mode. Hold 1P Start for more than two seconds, then release it to send ESC and exit the game. A normal tap sends the key configured for 1P Start on release.
Mame Full
Mame Full adds the shortcuts below to the long-press ESC function. Activate by pressing and holding 1P Start, then one of the inputs below. Using a shortcut cancels the long-press action.
| Input | Keyboard |
| Player 1 left | Enter |
| Player 1 right | Tab – enter MAME menu |
| Player 1 up | Grave (`) – adjustments in MAME |
| Player 1 down | p – pause MAME |
| Player 1 button 1 | 5 – increase credit |
| Player 1 button 2 | INS – speed up MAME |
| Player 1 button 3 | F2 – MAME test key |
MiSTer shift modes
Mister Core lets you open core selection by holding 1P Start for more than two seconds, then releasing it. This sends Alt+F12. Mister Full adds the shortcuts below, plus volume up and down on Player 1 up and down. Hold 1P Start, then use the input. Using a shortcut cancels the long-press action.
| Input | Keyboard |
| Player 1 left | Enter |
| Player 1 right | F12 – MiSTer menu |
Default Keyboard Mapping
This section details the keys sent in Keyboard mode, based on cabinet input. The mapping is tailored for use with MAME. Coin slots 3 and 4 send 7 and 8, and the tilt input sends T.
Cabinet related
| Cabinet Input | Keyboard |
| credit increase slot 1 | 5 |
| credit increase slot 2 | 6 |
| player 1 service button | 9 |
| player 2 service button | 0 |
| test button | F2 |
Player input
| Player 1 | Player 2 | Player 3 | Player 4 | |
| Start | 1* | 2 | 3 | 4 |
| Left | left key | d | i | Keypad 4 |
| Right | right key | g | k | Keypad 6 |
| Up | up key | r | j | Keypad 8 |
| Down | down key | f | l | Keypad 2 |
| Button 1 | left CTRL | a | right CTRL | Keypad 0 |
| Button 2 | left ALT | s | right SHIFT | Keypad comma |
| Button 3 | space key | q | Enter | Keypad enter |
| Button 4 | left SHIFT | w | ||
| Button 5 | z | e | ||
| Button 6 | x | k | ||
| Button 7 | c | j | ||
| Button 8 | v | l |
*) If a shift mode is enabled, a normal tap on 1P Start sends “1” on release.
Player 3 and 4 require either a Capcom I/O in four-player mode or a linked setup. Four-player output uses Keyboard mode.
Changing keyboard layout
If you have special needs, or want to wire up an extra button for non-game use, you can change the keyboard mapping by editing jvspac2.ini, generated when saving the configuration. Power off before removing the card. Edit the entries under [keyboard], safely eject the card, then put it back and power on.
For example, M_P1B1=KEY_Z assigns player 1 button 1 to Z. Use KEY_NONE to disable an input’s keyboard output. Shift shortcuts remain fixed. The following keys are available, along with KEY_VOLUMEUP, KEY_VOLUMEDOWN and KEY_MUTE:
| KEY_NONE | KEY_M | KEY_3 | KEY_RIGHTBRACE | KEY_F7 | KEY_LEFT | KEY_KP8 | KEY_KPCOMMA |
| KEY_N | KEY_4 | KEY_BACKSLASH | KEY_F8 | KEY_DOWN | KEY_KP9 | KEY_LEFTCTRL | |
| KEY_O | KEY_5 | KEY_HASHTILDE | KEY_F9 | KEY_UP | KEY_KP0 | KEY_LEFTSHIFT | |
| KEY_P | KEY_6 | KEY_SEMICOLON | KEY_F10 | KEY_NUMLOCK | KEY_KPDOT | KEY_LEFTALT | |
| KEY_A | KEY_Q | KEY_7 | KEY_APOSTROPHE | KEY_F11 | KEY_KPSLASH | KEY_LEFTMETA | |
| KEY_B | KEY_R | KEY_8 | KEY_GRAVE | KEY_F12 | KEY_KPASTERISK | KEY_COMPOSE | KEY_RIGHTCTRL |
| KEY_C | KEY_S | KEY_9 | KEY_COMMA | KEY_SYSRQ | KEY_KPMINUS | KEY_POWER | KEY_RIGHTSHIFT |
| KEY_D | KEY_T | KEY_0 | KEY_DOT | KEY_SCROLLLOCK | KEY_KPPLUS | KEY_KPEQUAL | KEY_RIGHTALT |
| KEY_E | KEY_U | KEY_ENTER | KEY_SLASH | KEY_PAUSE | KEY_KPENTER | KEY_F13 | KEY_RIGHTMETA |
| KEY_F | KEY_V | KEY_ESC | KEY_CAPSLOCK | KEY_INSERT | KEY_KP1 | KEY_F14 | |
| KEY_G | KEY_W | KEY_BACKSPACE | KEY_F1 | KEY_HOME | KEY_KP2 | KEY_F15 | |
| KEY_H | KEY_X | KEY_TAB | KEY_F2 | KEY_PAGEUP | KEY_KP3 | KEY_F16 | |
| KEY_I | KEY_Y | KEY_SPACE | KEY_F3 | KEY_DELETE | KEY_KP4 | KEY_F17 | |
| KEY_J | KEY_Z | KEY_MINUS | KEY_F4 | KEY_END | KEY_KP5 | KEY_F18 | |
| KEY_K | KEY_1 | KEY_EQUAL | KEY_F5 | KEY_PAGEDOWN | KEY_KP6 | KEY_F19 | |
| KEY_L | KEY_2 | KEY_LEFTBRACE | KEY_F6 | KEY_RIGHT | KEY_KP7 | KEY_F20 |
Last Updated on 2026-10-16 by admin
