Query: matrix_keypad_build_keymap
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MATRIX_KEYPAD_BUILD_(9) Input Subsystem MATRIX_KEYPAD_BUILD_(9)NAMEmatrix_keypad_build_keymap - convert platform keymap into matrix keymapSYNOPSISvoid matrix_keypad_build_keymap(const struct matrix_keymap_data * keymap_data, unsigned int row_shift, unsigned short * keymap, unsigned long * keybit);ARGUMENTSkeymap_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 deviceDESCRIPTIONThis 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 MATRIX_KEYPAD_BUILD_(9)