mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 07:09:41 +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
Notes:
sideshowbarker
2024-07-16 21:45:42 +09:00
Author: https://github.com/supercomputer7
Commit: b89cc81674
Pull-request: https://github.com/SerenityOS/serenity/pull/18342
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/BertalanD
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