controller_patcher_configs/Generic_SNES_wired_pad.ini

23 lines
693 B
INI

//Generic SNES wired USB Joystick manufactured by BlankChinese Inc.
//Note it is an 8 buttons joystick, so we will not map a lot of Wii U gamepad buttons, making it good enough just to virtual consoles games.
[vid=081f,pid=e401]
//Buttons
VPAD_BUTTON_A = 0x05,0x2F
VPAD_BUTTON_B = 0x05,0x4F
VPAD_BUTTON_X = 0x05,0x1F
VPAD_BUTTON_Y = 0x05,0x8F
VPAD_BUTTON_PLUS = 0x06,0x20
VPAD_BUTTON_MINUS = 0x06,0x10
//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
//Trigger
VPAD_BUTTON_R = 0x06,0x02
VPAD_BUTTON_L = 0x06,0x01