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, int scancode,
                      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

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout