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.
Formatting and added the PAD_COUNT parameter to all inis
- Loading branch information
Showing
11 changed files
with
87 additions
and
72 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
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
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
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
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
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 |
---|---|---|
@@ -1,51 +1,53 @@ | ||
[vid=0x54c,pid=0x09cc] | ||
VPAD_BUTTON_A = 0x04,0x40 | ||
VPAD_BUTTON_B = 0x04,0x20 | ||
VPAD_BUTTON_X = 0x04,0x80 | ||
VPAD_BUTTON_Y = 0x04,0x10 | ||
VPAD_BUTTON_A = 0x04,0x40 | ||
VPAD_BUTTON_B = 0x04,0x20 | ||
VPAD_BUTTON_X = 0x04,0x80 | ||
VPAD_BUTTON_Y = 0x04,0x10 | ||
|
||
VPAD_BUTTON_PLUS = 0x05,0x20 | ||
VPAD_BUTTON_MINUS = 0x05,0x10 | ||
//VPAD_BUTTON_HOME = 0x01,0x10 | ||
VPAD_BUTTON_PLUS = 0x05,0x20 | ||
VPAD_BUTTON_MINUS = 0x05,0x10 | ||
//VPAD_BUTTON_HOME = 0x01,0x10 | ||
|
||
VPAD_BUTTON_L = 0x05,0x01 | ||
VPAD_BUTTON_R = 0x05,0x02 | ||
VPAD_BUTTON_L = 0x05,0x01 | ||
VPAD_BUTTON_R = 0x05,0x02 | ||
|
||
VPAD_BUTTON_STICK_L = 0x05,0x40 | ||
VPAD_BUTTON_STICK_R = 0x05,0x80 | ||
VPAD_BUTTON_STICK_L = 0x05,0x40 | ||
VPAD_BUTTON_STICK_R = 0x05,0x80 | ||
|
||
//The "value" is a deadzone in this case | ||
VPAD_BUTTON_ZL = 0x05,0x04 | ||
VPAD_BUTTON_ZR = 0x05,0x08 | ||
|
||
VPAD_BUTTON_ZL = 0x05,0x04 | ||
VPAD_BUTTON_ZR = 0x05,0x08 | ||
|
||
DPAD_MODE = DPAD_HAT | ||
DPad_MASK = 0x0F | ||
VPAD_BUTTON_DPAD_N = 0x04,0x00 // postion: 0x05, value: 0x00 | ||
VPAD_BUTTON_DPAD_NE = 0x04,0x01 // postion: 0x05, value: 0x01 | ||
VPAD_BUTTON_DPAD_E = 0x04,0x02 // postion: 0x05, value: 0x02 | ||
VPAD_BUTTON_DPAD_SE = 0x04,0x03 // postion: 0x05, value: 0x03 | ||
VPAD_BUTTON_DPAD_S = 0x04,0x04 // postion: 0x05, value: 0x04 | ||
VPAD_BUTTON_DPAD_SW = 0x04,0x05 // postion: 0x05, value: 0x05 | ||
VPAD_BUTTON_DPAD_W = 0x04,0x06 // postion: 0x05, value: 0x06 | ||
VPAD_BUTTON_DPAD_NW = 0x04,0x07 // postion: 0x05, value: 0x07 | ||
VPAD_BUTTON_DPAD_Neutral = 0x04,0x08 // postion: 0x05, value: 0x08 | ||
|
||
VPAD_L_STICK_X = 0x00,0x80 | ||
VPAD_L_STICK_X_MINMAX = 0x00,0xFF | ||
VPAD_L_STICK_X_DEADZONE = 0x04 | ||
|
||
|
||
VPAD_L_STICK_Y = 0x01,0x80 | ||
VPAD_L_STICK_Y_MINMAX = 0x00,0xFF | ||
VPAD_L_STICK_Y_DEADZONE = 0x05 | ||
VPad_L_Stick_Y_Invert = true | ||
|
||
VPAD_R_STICK_X = 0x02,0x80 | ||
VPAD_R_STICK_X_MINMAX = 0x00,0xFF | ||
VPAD_R_STICK_X_DEADZONE = 0x05 | ||
|
||
VPAD_R_STICK_Y = 0x03,0x80 | ||
VPAD_R_STICK_Y_MINMAX = 0x00,0xFF | ||
VPAD_R_STICK_Y_DEADZONE = 0x05 | ||
VPad_R_Stick_Y_Invert = true | ||
VPAD_BUTTON_DPAD_N = 0x04,0x00 // postion: 0x05, value: 0x00 | ||
VPAD_BUTTON_DPAD_NE = 0x04,0x01 // postion: 0x05, value: 0x01 | ||
VPAD_BUTTON_DPAD_E = 0x04,0x02 // postion: 0x05, value: 0x02 | ||
VPAD_BUTTON_DPAD_SE = 0x04,0x03 // postion: 0x05, value: 0x03 | ||
VPAD_BUTTON_DPAD_S = 0x04,0x04 // postion: 0x05, value: 0x04 | ||
VPAD_BUTTON_DPAD_SW = 0x04,0x05 // postion: 0x05, value: 0x05 | ||
VPAD_BUTTON_DPAD_W = 0x04,0x06 // postion: 0x05, value: 0x06 | ||
VPAD_BUTTON_DPAD_NW = 0x04,0x07 // postion: 0x05, value: 0x07 | ||
VPAD_BUTTON_DPAD_Neutral = 0x04,0x08 // postion: 0x05, value: 0x08 | ||
|
||
VPAD_L_STICK_X = 0x00,0x80 | ||
VPAD_L_STICK_X_MINMAX = 0x00,0xFF | ||
VPAD_L_STICK_X_DEADZONE = 0x04 | ||
|
||
|
||
VPAD_L_STICK_Y = 0x01,0x80 | ||
VPAD_L_STICK_Y_MINMAX = 0x00,0xFF | ||
VPAD_L_STICK_Y_DEADZONE = 0x05 | ||
VPad_L_Stick_Y_Invert = true | ||
|
||
VPAD_R_STICK_X = 0x02,0x80 | ||
VPAD_R_STICK_X_MINMAX = 0x00,0xFF | ||
VPAD_R_STICK_X_DEADZONE = 0x05 | ||
|
||
VPAD_R_STICK_Y = 0x03,0x80 | ||
VPAD_R_STICK_Y_MINMAX = 0x00,0xFF | ||
VPAD_R_STICK_Y_DEADZONE = 0x05 | ||
VPad_R_Stick_Y_Invert = true | ||
|
||
//This device is no adapter that can't have more than 1 pads. | ||
PAD_COUNT = 0x01 |
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
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
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 |
---|---|---|
|
@@ -27,3 +27,5 @@ VPAD_BUTTON_R = 0x00, 0x20 | |
//Triggers | ||
VPAD_BUTTON_ZL = 0x00, 0x40 | ||
VPAD_BUTTON_ZR = 0x00, 0x80 | ||
|
||
PAD_COUNT=1 |
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
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 |
---|---|---|
@@ -1,35 +1,38 @@ | ||
[vid=0x57e,pid=0x2009] | ||
[IgnoreDefault] //Ignoring the built in default values | ||
VPAD_BUTTON_A = SWITCH_PRO_BUTTON_A | ||
VPAD_BUTTON_B = SWITCH_PRO_BUTTON_B | ||
VPAD_BUTTON_X = SWITCH_PRO_BUTTON_X | ||
VPAD_BUTTON_Y = SWITCH_PRO_BUTTON_Y | ||
VPAD_BUTTON_A = SWITCH_PRO_BUTTON_A | ||
VPAD_BUTTON_B = SWITCH_PRO_BUTTON_B | ||
VPAD_BUTTON_X = SWITCH_PRO_BUTTON_X | ||
VPAD_BUTTON_Y = SWITCH_PRO_BUTTON_Y | ||
|
||
VPAD_BUTTON_PLUS = SWITCH_PRO_BUTTON_PLUS | ||
VPAD_BUTTON_MINUS = SWITCH_PRO_BUTTON_MINUS | ||
VPAD_BUTTON_HOME = SWITCH_PRO_BUTTON_HOME | ||
VPAD_BUTTON_PLUS = SWITCH_PRO_BUTTON_PLUS | ||
VPAD_BUTTON_MINUS = SWITCH_PRO_BUTTON_MINUS | ||
VPAD_BUTTON_HOME = SWITCH_PRO_BUTTON_HOME | ||
|
||
VPAD_BUTTON_L = SWITCH_PRO_BUTTON_L | ||
VPAD_BUTTON_R = SWITCH_PRO_BUTTON_R | ||
VPAD_BUTTON_L = SWITCH_PRO_BUTTON_L | ||
VPAD_BUTTON_R = SWITCH_PRO_BUTTON_R | ||
|
||
VPAD_BUTTON_STICK_L = SWITCH_PRO_BUTTON_STICK_L | ||
VPAD_BUTTON_STICK_R = SWITCH_PRO_BUTTON_STICK_R | ||
VPAD_BUTTON_STICK_L = SWITCH_PRO_BUTTON_STICK_L | ||
VPAD_BUTTON_STICK_R = SWITCH_PRO_BUTTON_STICK_R | ||
|
||
VPAD_BUTTON_ZL = SWITCH_PRO_BUTTON_ZL | ||
VPAD_BUTTON_ZR = SWITCH_PRO_BUTTON_ZR | ||
VPAD_BUTTON_ZL = SWITCH_PRO_BUTTON_ZL | ||
VPAD_BUTTON_ZR = SWITCH_PRO_BUTTON_ZR | ||
|
||
DPAD_MODE = SWITCH_PRO_DPAD_MODE | ||
VPAD_BUTTON_DPAD_N = SWITCH_PRO_BUTTON_DPAD_N | ||
VPAD_BUTTON_DPAD_NE = SWITCH_PRO_BUTTON_DPAD_NE | ||
VPAD_BUTTON_DPAD_E = SWITCH_PRO_BUTTON_DPAD_E | ||
VPAD_BUTTON_DPAD_SE = SWITCH_PRO_BUTTON_DPAD_SE | ||
VPAD_BUTTON_DPAD_S = SWITCH_PRO_BUTTON_DPAD_S | ||
VPAD_BUTTON_DPAD_SW = SWITCH_PRO_BUTTON_DPAD_SW | ||
VPAD_BUTTON_DPAD_W = SWITCH_PRO_BUTTON_DPAD_W | ||
VPAD_BUTTON_DPAD_NW = SWITCH_PRO_BUTTON_DPAD_NW | ||
VPAD_BUTTON_DPAD_Neutral = SWITCH_PRO_BUTTON_DPAD_NEUTRAL | ||
DPAD_MODE = SWITCH_PRO_DPAD_MODE | ||
VPAD_BUTTON_DPAD_N = SWITCH_PRO_BUTTON_DPAD_N | ||
VPAD_BUTTON_DPAD_NE = SWITCH_PRO_BUTTON_DPAD_NE | ||
VPAD_BUTTON_DPAD_E = SWITCH_PRO_BUTTON_DPAD_E | ||
VPAD_BUTTON_DPAD_SE = SWITCH_PRO_BUTTON_DPAD_SE | ||
VPAD_BUTTON_DPAD_S = SWITCH_PRO_BUTTON_DPAD_S | ||
VPAD_BUTTON_DPAD_SW = SWITCH_PRO_BUTTON_DPAD_SW | ||
VPAD_BUTTON_DPAD_W = SWITCH_PRO_BUTTON_DPAD_W | ||
VPAD_BUTTON_DPAD_NW = SWITCH_PRO_BUTTON_DPAD_NW | ||
VPAD_BUTTON_DPAD_Neutral = SWITCH_PRO_BUTTON_DPAD_NEUTRAL | ||
|
||
VPAD_L_STICK_X = SWITCH_PRO_STICK_L_X | ||
VPAD_L_STICK_Y = SWITCH_PRO_STICK_L_Y | ||
VPAD_R_STICK_X = SWITCH_PRO_STICK_R_X | ||
VPAD_R_STICK_Y = SWITCH_PRO_STICK_R_Y | ||
VPAD_L_STICK_X = SWITCH_PRO_STICK_L_X | ||
VPAD_L_STICK_Y = SWITCH_PRO_STICK_L_Y | ||
VPAD_R_STICK_X = SWITCH_PRO_STICK_R_X | ||
VPAD_R_STICK_Y = SWITCH_PRO_STICK_R_Y | ||
|
||
//This device is no adapter that can't have more than 1 pads. | ||
PAD_COUNT = 0x01 |