1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

KeyboardDevice: Implement Caps Lock handling.

This commit is contained in:
Nufflee 2019-10-13 21:49:11 +02:00 committed by Andreas Kling
parent 437c919dda
commit 9d5792b73d
2 changed files with 19 additions and 4 deletions

View file

@ -47,6 +47,7 @@ private:
KeyboardClient* m_client { nullptr };
CircularQueue<Event, 16> m_queue;
u8 m_modifiers { 0 };
bool m_caps_lock_on { false };
};
class KeyboardClient {