Skip to content
Related Articles

Related Articles

getkeycodes command in Linux with examples
  • Last Updated : 06 Mar, 2019

getkeycodes command in Linux is used to print the kernel scancode-to-keycode mapping table. This command has no option. setkeycodes command can be used to change the mappings.

Syntax:

getkeycodes

Example:

In the above image:

  • The scan values from 0x50 to 0x7f is translated to the decimal values. For example, 0x54 is mapped to decimal value 99.
  • The scan code values from 0x01 to 0x53 is directly mapped to the keycode.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :