Go to the source code of this file.
int lk_kernel_keymap |
( |
struct lk_ctx * |
ctx, |
|
|
int |
console |
|
) |
| |
Loads keymap into the kernel. This is a high-level function that calls lk_kernel_keys, lk_kernel_funcs and lk_kernel_diacrs.
- Parameters
-
ctx | is a keymap library context. |
console | is open file descriptor. |
- Returns
- 0 on success, -1 on error.
int lk_kernel_keys |
( |
struct lk_ctx * |
ctx, |
|
|
int |
console |
|
) |
| |
Loads keycodes into the kernel.
- Parameters
-
ctx | is a keymap library context. |
console | is open file descriptor. |
- Returns
- 0 on success, -1 on error.
int lk_kernel_funcs |
( |
struct lk_ctx * |
ctx, |
|
|
int |
console |
|
) |
| |
Loads function keys into the kernel.
- Parameters
-
ctx | is a keymap library context. |
console | is open file descriptor. |
- Returns
- 0 on success, -1 on error.
int lk_kernel_diacrs |
( |
struct lk_ctx * |
ctx, |
|
|
int |
console |
|
) |
| |
Loads accent table into the kernel.
- Parameters
-
ctx | is a keymap library context. |
console | is open file descriptor. |
- Returns
- 0 on success, -1 on error.