forked from Maschell/controller_patcher_configs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Pokken controller and iBuffalo SNES gamepad
Added configs for for the Pokken Tournament controller and the iBuffalo USB SNES gamepad
- Loading branch information
1 parent
498afd7
commit 1d0811e
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |