mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibKeyboard: Move character map from Kernel to LibKeyboard
This commit is contained in:
parent
3ebdb5ea30
commit
f79b410baa
Notes:
sideshowbarker
2024-07-19 05:41:00 +09:00
Author: https://github.com/asliturk
Commit: f79b410baa
Pull-request: https://github.com/SerenityOS/serenity/pull/2536
Reviewed-by: https://github.com/awesomekling
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