setkeycodes
setkeycodes
setkeycodes scancode keycode
System administration command. Assign a keycode event to the specified keyboard scancode. The kernel matches these to its own keycodes. Scancodes in the range of 1-88 are hardwired in the kernel, but the remaining scancodes can be assigned to keycodes in the range of 1-127. Use getkeycodes to see current assignments. Use showkey to discover what scancode a key is sending.