Skip to content

Commit

Permalink
Fix issue under kde/wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
AethanFoot committed Mar 11, 2024
1 parent 7e2ef37 commit cc5f09e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lefthk-core/src/evdev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ impl EvDev {
}

fn generate_device() -> Result<VirtualDevice> {
// Can't enable more keys due to wayland/kde
let keys = AttributeSet::from_iter(
(Key::KEY_RESERVED.code()..Key::BTN_TRIGGER_HAPPY40.code()).map(Key::new),
(Key::KEY_RESERVED.code()..Key::KEY_ALS_TOGGLE.code()).map(Key::new),
);

let relative_axes = evdev::AttributeSet::from_iter([
Expand Down

0 comments on commit cc5f09e

Please # to comment.