1INPUT_SET_KEYCODE(9) Input Subsystem INPUT_SET_KEYCODE(9)
2
3
4
6 input_set_keycode - assign new keycode to a given scancode
7
9 int input_set_keycode(struct input_dev * dev, unsigned int scancode,
10 unsigned int keycode);
11
13 dev
14 input device which keymap is being updated
15
16 scancode
17 scancode (or its equivalent for device in question)
18
19 keycode
20 new keycode to be assigned to the scancode
21
23 This function should be called by anyone needing to update current
24 keymap. Presently keyboard and evdev handlers use it.
25
27Kernel Hackers Manual 2.6. November 2011 INPUT_SET_KEYCODE(9)