Add outer deadzone config (#2348)

* Add outer deadzone

* Documentation

* Add max outer deadzone to the controller remapping GUI

* Fix init values

* fix GUI saving syntax
This commit is contained in:
kalaposfos13 2025-02-05 16:26:14 +01:00 committed by GitHub
parent 00465d5e41
commit f5d64239cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 57 additions and 31 deletions

View file

@ -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) {