table of contents
INPUT_SET_KEYCODE(9) | Input Subsystem | INPUT_SET_KEYCODE(9) |
NAME¶
input_set_keycode - assign new keycode to a given scancode
SYNOPSIS¶
int input_set_keycode(struct input_dev * dev, int scancode, int keycode);
ARGUMENTS¶
dev
input device which keymap is being updated
scancode
scancode (or its equivalent for device in question)
keycode
new keycode to be assigned to the scancode
DESCRIPTION¶
This function should be called by anyone needing to update current keymap. Presently keyboard and evdev handlers use it.
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |