libkeymap  2.4.0
Library to manage the Linux keymaps
context.h
Go to the documentation of this file.
1 
6 #ifndef LK_CONTEXT_H
7 #define LK_CONTEXT_H
8 
9 #include <linux/kd.h>
10 #include <linux/keyboard.h>
11 #include <keymap/array.h>
12 
16 typedef enum {
17  LK_FLAG_UNICODE_MODE = (1 << 1),
18  LK_FLAG_CLEAR_COMPOSE = (1 << 2),
19  LK_FLAG_CLEAR_STRINGS = (1 << 3),
21 } lk_flags;
22 
26 typedef enum {
27  LK_KEYWORD_KEYMAPS = (1 << 1),
28  LK_KEYWORD_ALTISMETA = (1 << 2),
29  LK_KEYWORD_CHARSET = (1 << 3),
31 } lk_keywords;
32 
36 struct lk_kbdiacr {
37  unsigned int diacr, base, result;
38 };
39 
43 struct lk_ctx;
44 
45 #endif /* LK_CONTEXT_H */
Definition: context.h:17
Definition: context.h:29
lk_flags
Parser flags that are set outside the library.
Definition: context.h:16
unsigned int diacr
Definition: context.h:37
Definition: context.h:18
Definition: context.h:28
Definition: context.h:30
unsigned int base
Definition: context.h:37
unsigned int result
Definition: context.h:37
Definition: context.h:19
lk_keywords
Keywords used in keymap files.
Definition: context.h:26
Definition: context.h:27
Copy of struct kbdiacruc.
Definition: context.h:36
Definition: context.h:20