|
ginnOS
The reference: libc, the libraries and the kernel
|
the ioctls of /dev/kbd: list, read and set the keyboard layout. More...
#include "common/stdint.h"Go to the source code of this file.
Data Structures | |
| struct | kbd_layout_name |
| KBD_IOC_LAYOUT_NAME: set index; the kernel fills in name. More... | |
| struct | kbd_keymap |
| KBD_IOC_GET_KEYMAP: the characters of the active layout, by key code (the Linux key code of /dev/input, below 128). More... | |
Macros | |
| #define | KBD_LAYOUT_NAME_MAX 32 |
| #define | KBD_IOC_LAYOUT_COUNT 0x4B80 |
| #define | KBD_IOC_LAYOUT_NAME 0x4B81 |
| #define | KBD_IOC_GET_LAYOUT 0x4B82 |
| #define | KBD_IOC_SET_LAYOUT 0x4B83 |
| #define | KBD_IOC_GET_KEYMAP 0x4B84 |
| #define | KBD_KEYMAP_KEYS 128 |
the ioctls of /dev/kbd: list, read and set the keyboard layout.
the values and the struct are ABI; libc's <sys/kbd.h> has the same.
| #define KBD_LAYOUT_NAME_MAX 32 |
| #define KBD_IOC_LAYOUT_COUNT 0x4B80 |
| #define KBD_IOC_LAYOUT_NAME 0x4B81 |
| #define KBD_IOC_GET_LAYOUT 0x4B82 |
| #define KBD_IOC_SET_LAYOUT 0x4B83 |
| #define KBD_IOC_GET_KEYMAP 0x4B84 |
| #define KBD_KEYMAP_KEYS 128 |