INPUT_GET_KEYCODE(9) Input Subsystem INPUT_GET_KEYCODE(9)
NAME
input_get_keycode - retrieve keycode currently mapped to a given scancode
SYNOPSIS
int input_get_keycode(struct input_dev * dev, unsigned int scancode, unsigned int * keycode);
ARGUMENTS
dev
input device which keymap is being queried
scancode
scancode (or its equivalent for device in question) for which keycode is needed
keycode
result
DESCRIPTION
This function should be called by anyone interested in retrieving current keymap. Presently keyboard and evdev handlers use it.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 INPUT_GET_KEYCODE(9)