libkeymap
2.2.0
Library to manage the Linux keymaps
Main Page
Data Structures
Files
File List
Globals
src
libkeymap
keymap
kmap.h
Go to the documentation of this file.
1
5
#ifndef LK_KMAP_H
6
#define LK_KMAP_H
7
8
#include <
keymap/context.h
>
9
10
int
lk_add_map
(
struct
lk_ctx *ctx,
int
k_table);
11
int
lk_map_exists
(
struct
lk_ctx *ctx,
int
k_table);
12
13
int
lk_get_keys_total
(
struct
lk_ctx *ctx,
int
k_table);
14
15
int
lk_add_key
(
struct
lk_ctx *ctx,
int
k_table,
int
k_index,
int
keycode);
16
int
lk_del_key
(
struct
lk_ctx *ctx,
int
k_table,
int
k_index);
17
int
lk_get_key
(
struct
lk_ctx *ctx,
int
k_table,
int
k_index);
18
int
lk_key_exists
(
struct
lk_ctx *ctx,
int
k_table,
int
k_index);
19
20
/* Functions for key string manipulations */
21
int
lk_get_func
(
struct
lk_ctx *ctx,
struct
kbsentry *kbs);
22
int
lk_add_func
(
struct
lk_ctx *ctx,
struct
kbsentry *kbs);
23
int
lk_del_func
(
struct
lk_ctx *ctx,
int
index);
24
int
lk_func_exists
(
struct
lk_ctx *ctx,
int
index);
25
26
/* Functions for manipulations with diacritical table */
27
int
lk_get_diacr
(
struct
lk_ctx *ctx,
int
index,
struct
lk_kbdiacr
*dcr);
28
int
lk_add_diacr
(
struct
lk_ctx *ctx,
int
index,
struct
lk_kbdiacr
*dcr);
29
int
lk_del_diacr
(
struct
lk_ctx *ctx,
int
index);
30
int
lk_diacr_exists
(
struct
lk_ctx *ctx,
int
index);
31
int
lk_append_diacr
(
struct
lk_ctx *ctx,
struct
lk_kbdiacr
*dcr);
32
int
lk_append_compose
(
struct
lk_ctx *ctx,
struct
lk_kbdiacr
*dcr);
33
34
int
lk_add_constants
(
struct
lk_ctx *ctx);
35
36
#include <kbdfile.h>
37
38
int
lk_parse_keymap
(
struct
lk_ctx *ctx,
struct
kbdfile *f);
39
int
lk_load_keymap
(
struct
lk_ctx *ctx,
int
fd,
int
kbd_mode);
40
41
#endif
/* LK_KMAP_H */
Generated on Sat Sep 21 2019 17:26:33 for libkeymap by
1.8.3.1