Skip to content

Commit

Permalink
fix keycode offset
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Aug 23, 2024
1 parent 2ae3296 commit 55b67c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atspi_ei.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl AtspiEiState {
}
}
for (context, device, keyboard) in &self.keyboards {
keyboard.key(keysym.raw_code().raw(), state);
keyboard.key(keysym.raw_code().raw() - 8, state);
device.frame(EI_SERIAL_COUNTER.next_serial().into(), time);
context.flush();
}
Expand Down

0 comments on commit 55b67c3

Please sign in to comment.