Retrieve keycode currently mapped to a given scancode
int input_get_keycode(struct input_dev * dev, struct input_keymap_entry * ke);
dev
input device which keymap is being queried
ke
keymap entry
This function should be called by anyone interested in retrieving current keymap. Presently evdev handlers use it.