summaryrefslogtreecommitdiff
path: root/Kernel/KeyCode.h
diff options
context:
space:
mode:
authorHüseyin ASLITÜRK <asliturk@hotmail.com>2020-05-30 22:16:04 +0300
committerAndreas Kling <kling@serenityos.org>2020-06-03 21:52:40 +0200
commit46b92fa173f92400e5fbe51ae8b6e860807f4420 (patch)
treefb9732e1e2f07a9dd4d6dfa6cbdb4c5cfbab93a0 /Kernel/KeyCode.h
parented208003207882a36432d9c90e223c1dadfb135e (diff)
downloadserenity-46b92fa173f92400e5fbe51ae8b6e860807f4420.zip
Kernel: Add scancode value to KeyEvent
Diffstat (limited to 'Kernel/KeyCode.h')
-rw-r--r--Kernel/KeyCode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/KeyCode.h b/Kernel/KeyCode.h
index 6d56b9449f..a80a776ac2 100644
--- a/Kernel/KeyCode.h
+++ b/Kernel/KeyCode.h
@@ -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; }