mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 17:35:10 +00:00
Kernel: Add scancode value to KeyEvent
This commit is contained in:
parent
ed20800320
commit
46b92fa173
2 changed files with 3 additions and 1 deletions
|
@ -160,6 +160,7 @@ enum KeyModifier {
|
|||
|
||||
struct KeyEvent {
|
||||
KeyCode key { Key_Invalid };
|
||||
u32 scancode { 0 };
|
||||
u8 character { 0 };
|
||||
u8 flags { 0 };
|
||||
bool alt() const { return flags & Mod_Alt; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue