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

Kernel: Support PS/2 right super key

We currently support the left super key. This poses an issue on
keyboards that only have a right super key, such as my Steelseries 6G.

The implementation mirrors the left/right shift key logic and
effectively considers the right super key identical to the left one.
This commit is contained in:
Jelle Raaijmakers 2022-01-30 14:59:43 +01:00 committed by Andreas Kling
parent c20f1e06c0
commit 98d666eab3
2 changed files with 8 additions and 1 deletions

View file

@ -58,6 +58,8 @@ protected:
bool m_has_e0_prefix { false };
bool m_left_shift_pressed { false };
bool m_right_shift_pressed { false };
bool m_left_super_pressed { false };
bool m_right_super_pressed { false };
void key_state_changed(u8 raw, bool pressed);
};