Add options to control gamepad autoselection heuristics
Also move gamepad type selection to the input tab while we're here
This commit is contained in:
parent
97c921629a
commit
6ea836c511
5 changed files with 133 additions and 36 deletions
|
|
@ -420,6 +420,8 @@ namespace config {
|
|||
platf::supported_gamepads().front().size(),
|
||||
}, // Default gamepad
|
||||
true, // back as touchpad click enabled (manual DS4 only)
|
||||
true, // client gamepads with motion events are emulated as DS4
|
||||
true, // client gamepads with touchpads are emulated as DS4
|
||||
|
||||
true, // keyboard enabled
|
||||
true, // mouse enabled
|
||||
|
|
@ -1048,6 +1050,8 @@ namespace config {
|
|||
|
||||
string_restricted_f(vars, "gamepad"s, input.gamepad, platf::supported_gamepads());
|
||||
bool_f(vars, "ds4_back_as_touchpad_click", input.ds4_back_as_touchpad_click);
|
||||
bool_f(vars, "motion_as_ds4", input.motion_as_ds4);
|
||||
bool_f(vars, "touchpad_as_ds4", input.touchpad_as_ds4);
|
||||
|
||||
bool_f(vars, "mouse", input.mouse);
|
||||
bool_f(vars, "keyboard", input.keyboard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue