;
; NEStopia Linux controls file
;
; First column cannot be changed or you'll break the emulator
; Second column is the key for the first column, or one of these special names:
; 
; _ENTER, _LCTRL, _RCTRL, _LALT, _RALT, _SPACE, _LSHIFT, _RSHIFT, _TAB
; _UP, _DOWN, _LEFT, _RIGHT, _KPENTER, _KP0, _KP1, _KP2, _KP3, _KP4, _KP5, _KP6,
; _KP7, _KP8, _KP9, _KPDOT, _KPSLASH, _KPSTAR, _KPMINUS, _KPPLUS (use __ to bind the actual _)
;
; Third column maps joypads:
; _JxAyPLUS = joystick #x axis #y positive direction
; _JxAyMINUS = joystick #x axis #y negative direction
; _JxBy = joystick #x button #y pressed
;
; Some keys are special:
; ESC always exits
; ALT-ENTER always toggles screen modes
;

; player 1
; default joypad values are for a PlayStation 2 controller via an EMS USB adaptor
;
P1UP	_UP	_J0A1MINUS
P1DN	_DOWN	_J0A1PLUS
P1LT	_LEFT	_J0A0MINUS
P1RT	_RIGHT	_J0A0PLUS
P1A	,	_J0B2
P1B	.	_J0B3
P1START	1	_J0B9
P1SELECT	2 _J0B8

; player 2
P2UP	_KP8	_J1A1MINUS
P2DN	_KP2	_J1A1PLUS
P2LT	_KP4	_J1A0MINUS
P2RT	_KP6	_J1A0PLUS
P2A	_KPSLASH	_J1B2
P2B	_KPSTAR	_J1B3
P2START	_KPENTER	_J1B9
P2SELECT	_KPPLUS	_J1B8

; end of file

