mirror of
https://github.com/Maschell/controller_patcher_configs.git
synced 2024-11-06 00:15:07 +01:00
32 lines
1.0 KiB
INI
32 lines
1.0 KiB
INI
|
//DragonRise Inc. PC TWIN SHOCK Gamepad
|
||
|
//Generic so called zero delay usb encoder (e.g. https://www.ebay.com/itm/Zero-Delay-LED-Arcade-MAME-Encoder-USB-To-PC-5Pin-Joystick-PCB-Board-Cables/263292913676?hash=item3d4d7b080c:m:mMQPf9TPDzotI0VP9pNM8CQ)
|
||
|
[vid=0x0079,pid=0x0006]
|
||
|
|
||
|
//DPad
|
||
|
DPAD_MODE = DPAD_Absolute_2Values
|
||
|
VPAD_BUTTON_DPAD_ABS_UP = 0x01, 0x00
|
||
|
VPAD_BUTTON_DPAD_ABS_DOWN = 0x01, 0xFF
|
||
|
VPAD_BUTTON_DPAD_ABS_LEFT = 0x00, 0x00
|
||
|
VPAD_BUTTON_DPAD_ABS_RIGHT = 0x00, 0xFF
|
||
|
|
||
|
//Button layout:
|
||
|
// o o
|
||
|
// Joy O O O O
|
||
|
// stick O O O O
|
||
|
//
|
||
|
// - +
|
||
|
// Y X ZL ZR
|
||
|
// B A L R
|
||
|
//Buttons
|
||
|
VPAD_BUTTON_A = 0x05, 0x2F
|
||
|
VPAD_BUTTON_B = 0x05, 0x1F
|
||
|
VPAD_BUTTON_X = 0x06, 0x02
|
||
|
VPAD_BUTTON_Y = 0x06, 0x01
|
||
|
VPAD_BUTTON_PLUS = 0x06, 0x20
|
||
|
VPAD_BUTTON_MINUS = 0x06, 0x10
|
||
|
VPAD_BUTTON_L = 0x05, 0x4F
|
||
|
VPAD_BUTTON_ZL = 0x06, 0x04
|
||
|
VPAD_BUTTON_R = 0x05, 0x8F
|
||
|
VPAD_BUTTON_ZR = 0x06, 0x08
|
||
|
PAD_COUNT=1
|