mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Kernel/HID: Expose character map index in the KeyEvent structure
This will be used later on by WindowServer so it will not use the scancode, which will represent the actual character index in the keyboard mapping when using scan code set 2.
This commit is contained in:
parent
9a5bba2ba4
commit
b89cc81674
2 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,7 @@ enum KeyModifier {
|
|||
|
||||
struct KeyEvent {
|
||||
KeyCode key { Key_Invalid };
|
||||
u8 map_entry_index { 0 };
|
||||
u32 scancode { 0 };
|
||||
u32 code_point { 0 };
|
||||
u8 flags { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue