Re: GTK app with no keyboard/mouse

2005-02-24 Thread Marc Santhoff
Am Do, den 24.02.2005 schrieb Olexiy Avramchenko um 10:10: > Marc Santhoff wrote: > > According to some postings on this list, some people tried to synthesize > > GDK events from their code and failed. > What exactly did you try to do ? I use gdk_event_put to simulate > keyboard events from GIOCh

Re: GTK app with no keyboard/mouse

2005-02-24 Thread Olexiy Avramchenko
Marc Santhoff wrote: According to some postings on this list, some people tried to synthesize GDK events from their code and failed. What exactly did you try to do ? I use gdk_event_put to simulate keyboard events from GIOChannel that reads data from keyboard on serial port. Works well (maybe my

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Zeeshan Ali
Hello, IMHO another option is to implement an in-kernel 'input' device. I dont know ANYTHING about the other options people suggested you here but this way would enable you to: 1. Generate both keyboard/mouse events from the same device 2. Use your device from any (even non-gtk and non-X) appli

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Mihael Vrbanec
Hi, > Let's assume for the moment that the remote has just six buttons. Menu, > up, down, left, right, select. Any thoughts on the best way to inject > events? So far I have found that a "move-focus" signal on the window > containing a bunch of button and slider widgets is not the answer (for >

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Brian J. Tarricone
Mike Rosenlof wrote: This system will have a display, and a remote control device. I'm planning on a separate thread from the GUI which receives the remote codes, interprets them, and injects appropriate events into the GUI. Let's assume for the moment that the remote has just six buttons. Menu,

Re: GTK app with no keyboard/mouse

2005-02-23 Thread Marc Santhoff
Am Mi, den 23.02.2005 schrieb Mike Rosenlof um 21:23: > Hello, > > I'm starting design work on an application which will run on a system > with no keyboard or mouse. I'm not an experienced GTK programmer, I'm > very experienced in embedded systems development FWIW. > > > This system will have a

GTK app with no keyboard/mouse

2005-02-23 Thread Mike Rosenlof
Hello, I'm starting design work on an application which will run on a system with no keyboard or mouse. I'm not an experienced GTK programmer, I'm very experienced in embedded systems development FWIW. This system will have a display, and a remote control device. I'm planning on a separate th