diff --git a/src/common/config.cpp b/src/common/config.cpp index d9dfb861f..86e28285d 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -1008,8 +1008,8 @@ axis_right_x = axis_right_x axis_right_y = axis_right_y # Range of deadzones: 1 (almost none) to 127 (max) -analog_deadzone = leftjoystick, 2 -analog_deadzone = rightjoystick, 2 +analog_deadzone = leftjoystick, 2, 127 +analog_deadzone = rightjoystick, 2, 127 )"; } std::filesystem::path GetFoolproofKbmConfigFile(const std::string& game_id) { diff --git a/src/qt_gui/kbm_help_dialog.h b/src/qt_gui/kbm_help_dialog.h index c482d2b5c..3e39d4397 100644 --- a/src/qt_gui/kbm_help_dialog.h +++ b/src/qt_gui/kbm_help_dialog.h @@ -167,9 +167,10 @@ You can find these here, with detailed comments, examples and suggestions for mo You can make an input toggleable with this, for example: Let's say we want to be able to toggle l1 with t. You can then bind l1 to a key you won't use, like kpenter, then bind t to toggle that, so you will end up with this: l1 = kpenter; key_toggle = t, kpenter; -'analog_deadzone' = , ; - value goes from 1 to 127 (no deadzone to max deadzone) - devices: leftjoystick, rightjoystick, l2, r2 +'analog_deadzone' = , , ; + Values go from 1 to 127 (no deadzone to max deadzone), first is the inner, second is the outer deadzone + If you only want inner or outer deadzone, set the other to 1 or 127, respectively + Devices: leftjoystick, rightjoystick, l2, r2 )"; } }; \ No newline at end of file