diff --git a/.gitignore b/.gitignore index 0e8cf8c..f6e7aaa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,3 @@ buildSysmodule/* *.rar *.xml *.png -*.ini diff --git a/config/sys-con/config_dualshock3.ini b/config/sys-con/config_dualshock3.ini new file mode 100644 index 0000000..c3d9baf --- /dev/null +++ b/config/sys-con/config_dualshock3.ini @@ -0,0 +1,9 @@ +; Config for the Dualshock 3 controller +left_stick_deadzone = 10 ; from 0 to 100 +right_stick_deadzone = 10 ; from 0 to 100 +trigger_deadzone = 0 ; from 0 to 100 + +swap_dpad_and_lstick = false ; set this to true to swap the d-pad and left stick + +; For information on input mapping, see "example.ini" +;key_SYNC = LSTICK_CLICK ; Remove the semicolon at the start to take effect \ No newline at end of file diff --git a/config/sys-con/config_dualshock4.ini b/config/sys-con/config_dualshock4.ini new file mode 100644 index 0000000..12bd0b5 --- /dev/null +++ b/config/sys-con/config_dualshock4.ini @@ -0,0 +1,9 @@ +; Config for the Dualshock 4 controller +left_stick_deadzone = 10 ; from 0 to 100 +right_stick_deadzone = 10 ; from 0 to 100 +trigger_deadzone = 0 ; from 0 to 100 + +swap_dpad_and_lstick = false ; set this to true to swap the d-pad and left stick + +; For information on input mapping, see "example.ini" +;key_SYNC = LSTICK_CLICK ; Remove the semicolon at the start to take effect \ No newline at end of file diff --git a/config/sys-con/config_global.ini b/config/sys-con/config_global.ini new file mode 100644 index 0000000..ac38cd3 --- /dev/null +++ b/config/sys-con/config_global.ini @@ -0,0 +1,11 @@ +; Global overwrite config. Controller configs take priority +;left_stick_deadzone = 0 ; from 0 to 100 +;right_stick_deadzone = 0 ; from 0 to 100 +;trigger_deadzone = 0 ; from 0 to 100 + +;swap_dpad_and_lstick = false ; set this to true to swap the d-pad and left stick + +; For information on input mapping, see "example.ini" +; Remove the semicolons below to take effect +;key_FACE_DOWN = FACE_RIGHT +;key_FACE_LEFT = FACE_UP \ No newline at end of file diff --git a/config/sys-con/config_xbox360.ini b/config/sys-con/config_xbox360.ini new file mode 100644 index 0000000..8dfd6b4 --- /dev/null +++ b/config/sys-con/config_xbox360.ini @@ -0,0 +1,9 @@ +; Config for the Xbox 360 and Xbox 360 Wireless type controllers +left_stick_deadzone = 21 ; from 0 to 100 +right_stick_deadzone = 25 ; from 0 to 100 +trigger_deadzone = 0 ; from 0 to 100 + +swap_dpad_and_lstick = false ; set this to true to swap the d-pad and left stick + +; For information on input mapping, see "example.ini" +;key_SYNC = LSTICK_CLICK ; Remove the semicolon at the start to take effect \ No newline at end of file diff --git a/config/sys-con/config_xboxone.ini b/config/sys-con/config_xboxone.ini new file mode 100644 index 0000000..714ba06 --- /dev/null +++ b/config/sys-con/config_xboxone.ini @@ -0,0 +1,11 @@ +; Config for the Xbox One type controllers +left_stick_deadzone = 10 ; from 0 to 100 +right_stick_deadzone = 17 ; from 0 to 100 +trigger_deadzone = 0 ; from 0 to 100 + +swap_dpad_and_lstick = false ; set this to true to swap the d-pad and left stick + +; For information on input mapping, see "example.ini" +; Remove the semicolons below to take effect +;key_FACE_DOWN = FACE_RIGHT +;key_FACE_LEFT = FACE_UP \ No newline at end of file diff --git a/config/sys-con/config_xboxorig.ini b/config/sys-con/config_xboxorig.ini new file mode 100644 index 0000000..db4f777 --- /dev/null +++ b/config/sys-con/config_xboxorig.ini @@ -0,0 +1,9 @@ +; Config for the original XBOX type controllers +left_stick_deadzone = 21 ; from 0 to 100 +right_stick_deadzone = 25 ; from 0 to 100 +trigger_deadzone = 0 ; from 0 to 100 + +swap_dpad_and_lstick = false ; set this to true to swap the d-pad and left stick + +; For information on input mapping, see "example.ini" +;key_SYNC = GUIDE ; Remove the semicolon at the start to take effect \ No newline at end of file diff --git a/config/sys-con/example.ini b/config/sys-con/example.ini new file mode 100644 index 0000000..12b6668 --- /dev/null +++ b/config/sys-con/example.ini @@ -0,0 +1,36 @@ +; stick_deadzone is the percentage of how far the stick should be pushed before it is visible +; 0 - always, 100 - not at all +left_stick_deadzone = 10 ; from 0 to 100 +right_stick_deadzone = 17 ; from 0 to 100 + +; trigger_deadzone is the percentage of how hard the trigger should be pressed before it is visible +; 0 - always, 100 - not at all +trigger_deadzone = 0 ; from 0 to 100 + +; to modify the key values, type "key_* = *" +; where * is one of the values from this table +; FACE_UP X on joycons +; FACE_RIGHT A on joycons +; FACE_DOWN B on joycons +; FACE_LEFT Y on joycons +; LSTICK_CLICK Left stick press +; RSTICK_CLICK Right stick press +; LEFT_BUMPER Left bumper/ L +; RIGHT_BUMPER Right bumper/ R +; LEFT_TRIGGER Left trigger/ ZL +; RIGHT_TRIGGER Right trigger/ ZR +; BACK Minus on joycons +; START Plus on joycons +; DPAD_UP D-pad UP +; DPAD_RIGHT D-pad RIGHT +; DPAD_DOWN D-pad DOWN +; DPAD_LEFT D-pad LEFT +; SYNC Capture on joycons +; GUIDE Home on joycons + +; example: this will swap the X and Y, A and B buttons to match the names on Xbox controllers +key_FACE_DOWN = FACE_RIGHT +key_FACE_LEFT = FACE_UP + +; example: this will press the Capture button on Left stick press +key_LSTICK_CLICK = SYNC