Skip to content

Commit

Permalink
Added support for Pokken controller and iBuffalo SNES gamepad
Browse files Browse the repository at this point in the history
Added configs for for the Pokken Tournament controller and the iBuffalo
USB SNES gamepad
  • Loading branch information
HealthyMinmo committed Aug 5, 2016
1 parent 498afd7 commit 1d0811e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
19 changes: 19 additions & 0 deletions iBuffalo_SNES_USB_gamepad.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
//iBuffalo SNES USB Gamepad
[vid=0x0583,pid=0x2060]

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

//Buttons
VPAD_BUTTON_A = 0x02, 0x01
VPAD_BUTTON_B = 0x02, 0x02
VPAD_BUTTON_X = 0x02, 0x04
VPAD_BUTTON_Y = 0x02, 0x08
VPAD_BUTTON_PLUS = 0x02, 0x80
VPAD_BUTTON_MINUS = 0x02, 0x40
VPAD_BUTTON_L = 0x02, 0x10
VPAD_BUTTON_R = 0x02, 0x20
29 changes: 29 additions & 0 deletions pokken_controller.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
//Pokken Tournament Controller
[vid=0x0f0d,pid=0x0092]

//DPad
DPAD_MODE = DPAD_HAT
DPAD_MASK = 0x0F
VPAD_BUTTON_DPAD_Neutral = 0x02, 0x0F
VPAD_BUTTON_DPAD_N = 0x02, 0x00
VPAD_BUTTON_DPAD_NE = 0x02, 0x01
VPAD_BUTTON_DPAD_E = 0x02, 0x02
VPAD_BUTTON_DPAD_SE = 0x02, 0x03
VPAD_BUTTON_DPAD_S = 0x02, 0x04
VPAD_BUTTON_DPAD_SW = 0x02, 0x05
VPAD_BUTTON_DPAD_W = 0x02, 0x06
VPAD_BUTTON_DPAD_NW = 0x02, 0x07

//Buttons
VPAD_BUTTON_A = 0x00, 0x04
VPAD_BUTTON_B = 0x00, 0x02
VPAD_BUTTON_X = 0x00, 0x08
VPAD_BUTTON_Y = 0x00, 0x01
VPAD_BUTTON_PLUS = 0x01, 0x02
VPAD_BUTTON_MINUS = 0x01, 0x01
VPAD_BUTTON_L = 0x00, 0x10
VPAD_BUTTON_R = 0x00, 0x20

//Triggers
VPAD_BUTTON_ZL = 0x00, 0x40
VPAD_BUTTON_ZR = 0x00, 0x80

0 comments on commit 1d0811e

Please sign in to comment.