mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 09:22:35 +00:00
Clang
This commit is contained in:
parent
97e2f784cc
commit
346c5ccf03
@ -279,8 +279,8 @@ void ParseInputConfig(const std::string game_id = "") {
|
||||
line);
|
||||
continue;
|
||||
}
|
||||
ControllerOutput* toggle_out =
|
||||
&*std::ranges::find(output_array, ControllerOutput((OrbisPadButtonDataOffset)KEY_TOGGLE));
|
||||
ControllerOutput* toggle_out = &*std::ranges::find(
|
||||
output_array, ControllerOutput((OrbisPadButtonDataOffset)KEY_TOGGLE));
|
||||
BindingConnection toggle_connection =
|
||||
BindingConnection(InputBinding(toggle_keys.key2), toggle_out, toggle_keys.key3);
|
||||
connections.insert(connections.end(), toggle_connection);
|
||||
@ -324,8 +324,8 @@ void ParseInputConfig(const std::string game_id = "") {
|
||||
axis_it->second.axis == Axis::TriggerRight)
|
||||
? 127
|
||||
: axis_it->second.value;
|
||||
connection =
|
||||
BindingConnection(binding,
|
||||
connection = BindingConnection(
|
||||
binding,
|
||||
&*std::ranges::find(output_array, ControllerOutput(OrbisPadButtonDataOffset::None,
|
||||
axis_it->second.axis)),
|
||||
value_to_set);
|
||||
|
Loading…
Reference in New Issue
Block a user