libkeymap
2.4.0
Library to manage the Linux keymaps
|
Functions for loading objects into the kernel. More...
#include <keymap/context.h>
Go to the source code of this file.
Macros | |
#define | __attribute__(x) /*NOTHING*/ |
Functions | |
int | lk_kernel_keymap (struct lk_ctx *ctx, int console) __attribute__((nonnull(1))) |
int | lk_kernel_keys (struct lk_ctx *ctx, int console) __attribute__((nonnull(1))) |
int | lk_kernel_funcs (struct lk_ctx *ctx, int console) __attribute__((nonnull(1))) |
int | lk_kernel_diacrs (struct lk_ctx *ctx, int console) __attribute__((nonnull(1))) |
Functions for loading objects into the kernel.
#define __attribute__ | ( | x | ) | /*NOTHING*/ |
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.
ctx | is a keymap library context. |
console | is open file descriptor. |
int lk_kernel_keys | ( | struct lk_ctx * | ctx, |
int | console | ||
) |
Loads keycodes into the kernel.
ctx | is a keymap library context. |
console | is open file descriptor. |
int lk_kernel_funcs | ( | struct lk_ctx * | ctx, |
int | console | ||
) |
Loads function keys into the kernel.
ctx | is a keymap library context. |
console | is open file descriptor. |
int lk_kernel_diacrs | ( | struct lk_ctx * | ctx, |
int | console | ||
) |
Loads accent table into the kernel.
ctx | is a keymap library context. |
console | is open file descriptor. |