Kernel: Add scancode value to KeyEvent

This commit is contained in:
Hüseyin ASLITÜRK 2020-05-30 22:16:04 +03:00 committed by Andreas Kling
commit 46b92fa173
Notes: sideshowbarker 2024-07-19 05:52:08 +09:00
2 changed files with 3 additions and 1 deletions

View file

@ -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; }