Hello,

I am trying to run GTK+ (my test is gtk-demo) over DirectFB using
linuxinput as a keyboard driver for my phone keypad.
By going deeper and deeper in gdk-directfb backend, I detected that
function < gdk_directfb_trtanslate_key > called from <
gdk_directfb_translate_key_event > always receive 0 as key_symbol
argument. This argument is directly given by the dfb_event.

I can correct it for my hardware by rewriting a customized
gdk_directfb_translate_key using only key_id to translate events, but
you understand it is non-portable and so very ugly.

More interesting, df_input mapping funtion also get 0 as key_symbol
for any keypad event. The experiment make me think the problem comes
from linux_input driver for my keypad - my keypad is actually a
keyboard for DirectFB, as I corrected it last week.

I will try to take a look at DirectFB code to see if it is easy to solve.

Best reagrds
Mickael



_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to