From ad149f1898f4b6a7d3d44c8c4b2e1b0f5bad7212 Mon Sep 17 00:00:00 2001 From: Jacque McGoats <31115470+MrMcGoats@users.noreply.github.com> Date: Mon, 16 Jul 2018 20:54:08 -0700 Subject: [PATCH] Added layout for Kiwitata SNES USB controller --- kiwitata_SNES_USB_gamepad.ini | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 kiwitata_SNES_USB_gamepad.ini diff --git a/kiwitata_SNES_USB_gamepad.ini b/kiwitata_SNES_USB_gamepad.ini new file mode 100644 index 0000000..add71c7 --- /dev/null +++ b/kiwitata_SNES_USB_gamepad.ini @@ -0,0 +1,20 @@ +//Kiwitata SNES USB Gamepad +[vid=0x0079,pid=0x0011] + +//DPad +DPAD_MODE = DPAD_Absolute_2Values +VPAD_BUTTON_DPAD_ABS_UP = 0x04, 0x00 +VPAD_BUTTON_DPAD_ABS_DOWN = 0x04, 0xFF +VPAD_BUTTON_DPAD_ABS_LEFT = 0x03, 0x00 +VPAD_BUTTON_DPAD_ABS_RIGHT = 0x03, 0xFF + +//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 +VPAD_BUTTON_L = 0x06, 0x01 +VPAD_BUTTON_R = 0x06, 0x02 +PAD_COUNT=1