mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 13:27: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:
parent
9d5792b73d
commit
0979f372a6
2 changed files with 42 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue