gtk+directfb whitout keyboard?
- From: Jorge Berzosa <gorke6 gmail com>
- To: gtk-devel-list gnome org
- Subject: gtk+directfb whitout keyboard?
- Date: Mon, 14 May 2007 19:22:39 +0200
Hi,
I cross compiled GTK+-2.10.10 with Directfb-1.0.0 for an embedded board
without keyboard. When I tun the gtk-demo program I get:
(#) DirectFBError [gdk_display_open: GetInputDevice]: Requested ID not
found!
I have changed the code like this with the hope that the program wont
crass:
ret=directfb->GetInputDevice (directfb, DIDID_KEYBOARD, &keyboard);
if (ret != DFB_OK){
//DirectFBError ("gdk_display_open: GetDisplayLayer", ret);
DirectFBError ("gdk_display_open: GetInputDevice", ret);
//layer->Release (layer);
//directfb->Release (directfb);
//return NULL;
}
But as I expected this trick doesnt work. I get the error:
Gdk-DirectFB-ERROR **: file ../../../gdk/directfb/gdkkeys-directfb.c:
line 1980 (gdk_keymap_get_for_display): assertion fail)
Is there posible to have gtk+directfb without keyboard if Im not going
to use it?
Thanks in advance , and sorry for my English
Jorge
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]