mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibKeyboard: Move character map from Kernel to LibKeyboard
This commit is contained in:
parent
3ebdb5ea30
commit
f79b410baa
3 changed files with 99 additions and 4 deletions
|
@ -27,6 +27,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <Kernel/KeyCode.h>
|
||||
#include <LibKeyboard/CharacterMapData.h>
|
||||
|
||||
namespace Keyboard {
|
||||
|
@ -37,9 +38,11 @@ public:
|
|||
CharacterMap(const String& file_name);
|
||||
|
||||
int set_system_map();
|
||||
char get_char(KeyEvent);
|
||||
void set_character_map_data(CharacterMapData character_map_data);
|
||||
|
||||
private:
|
||||
CharacterMapData m_character_map;
|
||||
CharacterMapData m_character_map_data;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue