mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:37:45 +00:00
LibKeyboard: Replace char data type to u32 for code point
This commit is contained in:
parent
cfaed04464
commit
25e14911c5
5 changed files with 39 additions and 35 deletions
|
@ -26,15 +26,17 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Types.h>
|
||||
|
||||
#define CHAR_MAP_SIZE 0x80
|
||||
|
||||
namespace Keyboard {
|
||||
|
||||
struct CharacterMapData {
|
||||
char map[CHAR_MAP_SIZE];
|
||||
char shift_map[CHAR_MAP_SIZE];
|
||||
char alt_map[CHAR_MAP_SIZE];
|
||||
char altgr_map[CHAR_MAP_SIZE];
|
||||
u32 map[CHAR_MAP_SIZE];
|
||||
u32 shift_map[CHAR_MAP_SIZE];
|
||||
u32 alt_map[CHAR_MAP_SIZE];
|
||||
u32 altgr_map[CHAR_MAP_SIZE];
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue