1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:07:35 +00:00

Kernel: Implement AltGr key support

This commit is contained in:
Tibor Nagy 2019-12-31 13:37:38 +01:00 committed by Andreas Kling
parent 36f1de3c89
commit 624116a8b1
6 changed files with 36 additions and 15 deletions

View file

@ -21,7 +21,7 @@ public:
KeyboardDevice();
void set_client(KeyboardClient* client) { m_client = client; }
void set_maps(char* n_map, char* n_shift_map, char* n_alt_map);
void set_maps(const char* n_map, const char* n_shift_map, const char* n_alt_map, const char* n_altgr_map);
// ^CharacterDevice
virtual ssize_t read(FileDescription&, u8* buffer, ssize_t) override;