Skip to content

Commit

Permalink
Call hat_switch_converter::erase_device in libkrbn_hid_value_monitor.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tekezo committed Sep 2, 2023
1 parent 223091e commit 2fa8f3a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ class libkrbn_hid_value_monitor final {
auto device_id = krbn::make_device_id(registry_entry_id);

hid_queue_value_monitors_.erase(device_id);

krbn::hat_switch_converter::get_global_hat_switch_converter()->erase_device(device_id);
});

hid_manager_->error_occurred.connect([](auto&& message, auto&& kern_return) {
Expand Down

0 comments on commit 2fa8f3a

Please sign in to comment.