Merge pull request #26 from MrMcGoats/master

Added config files for Kiwitata SNES USB Controller, and MAYFLASH Genesis USB adapter
This commit is contained in:
Maschell 2018-07-27 13:18:39 +02:00 committed by GitHub
commit 0a6d674c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -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

View File

@ -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