keyboard: use kbvm::Components
This commit is contained in:
parent
e7d5a23af3
commit
51ceba72b0
10 changed files with 106 additions and 44 deletions
|
|
@ -45,10 +45,10 @@ impl EiKeyboard {
|
|||
self.client.event(Modifiers {
|
||||
self_id: self.id,
|
||||
serial: self.client.serial(),
|
||||
depressed: state.mods.mods_depressed,
|
||||
locked: state.mods.mods_locked,
|
||||
latched: state.mods.mods_latched,
|
||||
group: state.mods.group,
|
||||
depressed: state.mods.mods_pressed.0,
|
||||
locked: state.mods.mods_locked.0,
|
||||
latched: state.mods.mods_latched.0,
|
||||
group: state.mods.group.0,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue