The Linux dumpkeys command is used to display the keyboard ing table. The output content can be identified by the loadkeys command to change the ing relationship.
Syntax
Dumpkey [select parameters]
Parameter description:
- -I driver information (key code range, quantity, and status key)
- -L detailed driver information
- -N hexadecimal display
- -F: display all information
- -1 branch display key combination
- -S: Set the output format (0: default 1: Complete 2: Branch 3 simple)
- -- Funcs-only function key information
- -- Keys-only key combination information
- -- Compose-only common key information
Instance
Display Function key information
# Dumpkeys -- funcs-only string F1 = "\ 033 [[A" string F2 = "\ 033 [[B" string F3 = "\ 033 [[C" string F4 =" \ 033 [[D "string F5 =" \ 033 [[E "string F6 =" \ 033 [17 ~ "String F7 =" \ 033 [18 ~ "String F8 =" \ 033 [19 ~ "String F9 =" \ 033 [20 ~ "String F10 =" \ 033 [21 ~ "String F11 =" \ 033 [23 ~ "String F12 =" \ 033 [24 ~ "String F13 =" \ 033 [25 ~ "String F14 =" \ 033 [26 ~ "String F15 =" \ 033 [28 ~ "String F16 =" \ 033 [29 ~ "String F17 =" \ 033 [31 ~ "String F18 =" \ 033 [32 ~ "String F19 =" \ 033 [33 ~ "String F20 =" \ 033 [34 ~ "String Find =" \ 033 [1 ~ "String Insert =" \ 033 [2 ~ "String Remove =" \ 033 [3 ~ "String Select =" \ 033 [4 ~ "String Prior =" \ 033 [5 ~ "String Next =" \ 033 [6 ~ "String Macro =" \ 033 [M "string Pause =" \ 033 [P "root @ snil-hnlinux :~ #
Display Driver Information
# The dumpkeys-I key-value code range is supported by the kernel: 1-255 maximum actions that can be bound to a key value: 256 the number of actually used keys: 128 among them, 121 has been dynamically allocated to the kernel support the action code value range 0x0000-0x00ff0x0100-0x01ff0x0200-0x02130x0300-0x03130-0x0400- 0x05ff0x0600-0x06030x0700-0x07080x0800-0x08ff0x0900-0x09190x0a00-0x0a080x0b00-0x0c080x0d00-0x0e0a: 256 maximum nr for definition writing: 256 write definition actually used nr: 68