LinuxCommandLibrary

getkeycodes

keyboard scancode-to-keycode mapping display

TLDR

Display keyboard scancodes

$ getkeycodes
copy

SYNOPSIS

getkeycodes

DESCRIPTION

getkeycodes displays the kernel scancode-to-keycode mapping table. It shows how raw keyboard scancodes are translated to key codes used by applications.
The output shows scancode ranges and their corresponding keycodes. This mapping is used by the Linux input system to translate hardware key presses.
getkeycodes is useful for debugging keyboard issues and understanding key mapping.

PARAMETERS

None.

CAVEATS

Requires console access. Output format is dense. Shows kernel-level mapping only.

HISTORY

getkeycodes is part of the kbd package, providing keyboard utilities for Linux console management.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community