1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:57:34 +00:00

KeyboardDevice: Support whole numpad and Num Lock.

We now support all numpad keys and the Num Lock key.
This commit is contained in:
Nufflee 2019-10-13 23:32:26 +02:00 committed by Andreas Kling
parent 9d5792b73d
commit 0979f372a6
2 changed files with 42 additions and 12 deletions

View file

@ -48,6 +48,8 @@ private:
CircularQueue<Event, 16> m_queue;
u8 m_modifiers { 0 };
bool m_caps_lock_on { false };
bool m_num_lock_on { false };
bool m_is_numpad_key { false };
};
class KeyboardClient {