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:
parent
c20f1e06c0
commit
98d666eab3
2 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue