Introduction

 Out of the box, the JVS-PAC 2 behaves like a keyboard, suitable for use with MAME without any user configuration.

Default Keyboard Mapping

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 i    
Button 6 x k    
Button 7 c j    
Button 8 v l    

*) If a shift mode is enabled, "1" will be issued upon release
**) Player 3&4 requires either a Capcom IO in 4 player mode, or a linked setup.

Limited shift mode, ESC only

The limited shift mode is the default, and will enable you to exit games from MAME by holding 1P start pressed for a couple of seconds, then releasing.

Full shift mode

 Activate by pressing and holding 1P start.  

Input Keyboard
Player 1 left Enter
Player 1 right Tab - enter MAME menu
Player 1 up ~ - volume adjustmests++ 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

No shift mode

If you don't want or like the shift key functionality, you can choose for it to be "OFF". Be aware that the MAME license does NOT permit operation in a commercial setting.

Changing keyboard layout

You can change the keyboard mapping by editing the .ini file generated when saving the configuration.

The following keys are available:

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