1 .TH KBDINFO "1" "June 2019" "kbdinfo from kbd 2.0.4" "User Commands"
3 kbdinfo \- read information about keyboard state
6 [\fI\,options\/\fR] \fI\,getmode \/\fR[\fI\,text|graphics\/\fR]
9 [\fI\,options\/\fR] \fI\,gkbmode \/\fR[\fI\,raw|xlate|mediumraw|unicode\/\fR]
12 [\fI\,options\/\fR] \fI\,gkbmeta \/\fR[\fI\,metabit|escprefix\/\fR]
15 [\fI\,options\/\fR] \fI\,gkbled \/\fR[\fI\,scrolllock|numlock|capslock\/\fR]
17 The utility allows you to read and check various parameters of the keyboard and
21 Get or check virtual console mode.
24 Gets current keyboard mode.
29 Raw (scancode) mode. These are the raw codes generated by the keyboard.
32 Medium raw (scancode) mode. This is extended medium raw mode, with keys above
33 127 encoded as 0, high 7 bits, low 7 bits, with the 0 bearing the 'up' flag if
34 needed. 0 is reserved, so this shouldn't interfere with anything else. The two
35 bytes after 0 will always have the up flag set not to interfere with older
36 applications. This allows for 16384 different keycodes, which should be enough.
39 Translate keycodes using keymap. These are the codes generated via the current
48 Gets meta key handling mode.
53 Specifies if pressing the meta (alt) key generates an ESC (\\033) prefix followed by the keysym.
56 The keysym marked with the high bit set.
62 Get keyboard flags CapsLock, NumLock, ScrollLock (not lights).
67 The scroll lock is down.
73 The caps lock is down.
78 \fB\-C\fR, \fB\-\-console\fR=\fI\,DEV\/\fR
79 the console device to be used;
81 \fB\-V\fR, \fB\-\-version\fR
84 \fB\-h\fR, \fB\-\-help\fR
85 print this usage message.
87 Written by Alexey Gladkov.