Skip to contentSkip to conversation

want add numpad to matrix_keypad driver. need help.

DISCUSSION Xiangfu Liu 1 participant 1 message Jan 17, 2010 HID

lore
Share & tools
lore
#0 lore raw

Hi

in this[1] picture. there is blue [Fn] and blue Numbers. I want make the [Fn] as KEY_NUMLOCK. (just like IBM keyboard)

I use the matrix_keypad driver in our device. I try to modify the matrix_keypad.c but not work.

I also try to modify the keyboard.c there is function[2], I want map the [U] [I] [O] to 7 8 9, but not work.

please give me some advice. thanks.

[1]http://downloads.qi-hardware.com/hardware/Photos/2009_09_30_keyboard.jpg [2]static void k_pad(struct vc_data *vc, unsigned char value, char up_flag)

Best Regards
Xiangfu.