getkeycodes
Linux Commands - Administrative Commands

getkeycodes

This command will return the scancode-to-keycode mapping from the kernel.