1INPUT_GET_KEYCODE(9) Input Subsystem INPUT_GET_KEYCODE(9)
2
3
4
6 input_get_keycode - retrieve keycode currently mapped to a given
7 scancode
8
10 int input_get_keycode(struct input_dev * dev, int scancode,
11 int * keycode);
12
14 dev
15 input device which keymap is being queried
16
17 scancode
18 scancode (or its equivalent for device in question) for which
19 keycode is needed
20
21 keycode
22 result
23
25 This function should be called by anyone interested in retrieving
26 current keymap. Presently keyboard and evdev handlers use it.
27
29Kernel Hackers Manual 2.6. June 2019 INPUT_GET_KEYCODE(9)