Skip to content

Commit

Permalink
Refer device_ignore in game_pad_stick_converter.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Apr 28, 2024
1 parent 6f09088 commit 3c61dcf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,11 @@ class game_pad_stick_converter final : public pqrs::dispatcher::extra::dispatche
return;
}

if (c->get_selected_profile().get_device_ignore(
device_properties.get_device_identifiers())) {
return;
}

bool swap_sticks = c->get_selected_profile().get_device_game_pad_swap_sticks(device_properties.get_device_identifiers());

for (const auto& v : hid_values) {
Expand Down

0 comments on commit 3c61dcf

Please sign in to comment.