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 1/2] 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 From 5bd6586ae460768043755859dcf4087c48584f39 Mon Sep 17 00:00:00 2001 From: Jacque McGoats <31115470+MrMcGoats@users.noreply.github.com> Date: Mon, 16 Jul 2018 21:01:48 -0700 Subject: [PATCH 2/2] Added layout for MAYFLASH Genesis adapter, but DPAD doesn't work, as it uses two bytes, which is not supported currently --- ...SH_Genesis_Controller_Adapter_for_PC_USB.ini | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 MAYFLASH_Genesis_Controller_Adapter_for_PC_USB.ini diff --git a/MAYFLASH_Genesis_Controller_Adapter_for_PC_USB.ini b/MAYFLASH_Genesis_Controller_Adapter_for_PC_USB.ini new file mode 100644 index 0000000..10af963 --- /dev/null +++ b/MAYFLASH_Genesis_Controller_Adapter_for_PC_USB.ini @@ -0,0 +1,17 @@ +//MAYFLASH Genesis Controller Adapter for PC USB +[vid=0x0079,pid=0x18ae] + +PAD1_FILTER=0x00,0x00 +PAD2_FILTER=0x00,0x01 + +VPAD_BUTTON_UP = 0x02,0x00 +VPAD_BUTTON_RIGHT = 0x02,0x02 +VPAD_BUTTON_DOWN = 0x02,0x04 +VPAD_BUTTON_LEFT = 0x02,0x06 + +VPAD_BUTTON_A = 0x00,0x01 +VPAD_BUTTON_B = 0x00,0x02 +VPAD_BUTTON_Y = 0x00,0x04 //C button on Genesis controller +VPAD_BUTTON_PLUS = 0x01,0x02 + +PAD_COUNT=2