Rechercher une page de manuel
matrix_keypad_build_keymap
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
matrix_keypad_build_keymap - convert platform keymap into matrix keymapSYNOPSIS
- void matrix_keypad_build_keymap(const struct matrix_keymap_data * keymap_data, unsigned int row_shift, unsigned short * keymap, unsigned long * keybit);
ARGUMENTS
keymap_data
- keymap supplied by the platform code
row_shift
- number of bits to shift row value by to advance to the next line in the keymap
keymap
- expanded version of keymap that is suitable for use by matrix keyboad driver
keybit
- pointer to bitmap of keys supported by input device
DESCRIPTION
This function converts platform keymap (encoded with KEY macro) into an array of keycodes that is suitable for using in a standard matrix keyboard driver that uses row and col as indices.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre