libkeymap 2.0.3 Library to manage the Linux keymaps

- Main Page
- Data Structures
- Files

- File List
- Globals

Functions
src/libkeymap/keymap/kernel.h File Reference

Functions for loading objects into the kernel. More...

`#include <keymap/context.h>`

Go to the source code of this file.

## Functions
int | lk_kernel_keymap (struct lk_ctx *ctx, int console)
int | lk_kernel_keys (struct lk_ctx *ctx, int console)
int | lk_kernel_funcs (struct lk_ctx *ctx, int console)
int | lk_kernel_diacrs (struct lk_ctx *ctx, int console)

## Detailed Description

Functions for loading objects into the kernel.

## Function Documentation

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.