summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibKeyboard/CharacterMapData.h
blob: d56426ac916b62c7589de4fb7141bfe6e84ad3d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) 2020, Hüseyin Aslıtürk <asliturk@hotmail.com>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/Types.h>

#define CHAR_MAP_SIZE 0x80

namespace Keyboard {

struct CharacterMapData {
    u32 map[CHAR_MAP_SIZE];
    u32 shift_map[CHAR_MAP_SIZE];
    u32 alt_map[CHAR_MAP_SIZE];
    u32 altgr_map[CHAR_MAP_SIZE];
    u32 shift_altgr_map[CHAR_MAP_SIZE];
};

}