Hi all, I'm running directfb 1.1.0 on my embedded system that have a linuxinput device registered as a keyboard. This keyboard have a 8x8 matrix with this supported key:
Supported Keys: Key 0x00 (Reserved) Key 0x01 (Escape) Key 0x02 (1) Key 0x03 (2) Key 0x04 (3) Key 0x05 (4) Key 0x06 (5) Key 0x07 (6) Key 0x08 (7) Key 0x09 (8) Key 0x0a (9) Key 0x0b (0) Key 0x0e (Backspace) Key 0x0f (Tab) Key 0x1c (Enter) Key 0x1d (LH Control) Key 0x2a (LH Shift) Key 0x38 (LH Alt) Key 0x39 (Space) Key 0x3b (F1) Key 0x3c (F2) Key 0x3d (F3) Key 0x3e (F4) Key 0x3f (F5) Key 0x40 (F6) Key 0x41 (F7) Key 0x42 (F8) Key 0x43 (F9) Key 0x67 (Up) Key 0x69 (Left) Key 0x6a (Right) Key 0x6c (Down) Key 0x8b (Menu) The keyboard was'n correctly recognized unless I made this change (I think to fit the number of key) on linux_input.c : inside get_device_info function I change /** count typical keyboard keys only */ for (i=KEY_Q; i<KEY_M; i++) to /** count most of typical keyboards keys */ for (i=KEY_ESC; i<KEY_MUTE; i++) Giulio
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
