mirror of
https://github.com/htrefil/rkvm.git
synced 2025-02-05 20:46:13 +01:00
Use SYN_REPORT
This commit is contained in:
parent
9ae39a24b9
commit
435d384eeb
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ impl Event {
|
|||
direction: Direction::Down,
|
||||
code,
|
||||
} => (setup::EV_KEY as _, code, 1),
|
||||
Event::Sync => (setup::EV_SYN as _, 0, 0),
|
||||
Event::Sync => (setup::EV_SYN as _, setup::SYN_REPORT as _, 0),
|
||||
};
|
||||
|
||||
input_event {
|
||||
|
@ -62,7 +62,7 @@ impl Event {
|
|||
direction: Direction::Down,
|
||||
code: code as _,
|
||||
},
|
||||
(setup::EV_SYN, _, _) => Event::Sync,
|
||||
(setup::EV_SYN, setup::SYN_REPORT, _) => Event::Sync,
|
||||
_ => return None,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue