imacarthur schrieb: > > On 8 Jul 2009, at 17:25, Michael Schmid wrote: >> where does FLTK have its input from (Keyboard)? I have a FLTK-GUI on a >> touch and want to use a (modified) nano-X window application (nxkbd -> a >> "software keyboard" on the screen) for user input. But if I have a Input >> field on the GUI and the software-keyboard in front, the characters >> aren't sent to the input field wenn I press the keyboard. >> >> Which pipe does FLTK use? Where do I find this option? >> >> nxkbd has also the possibility to modify its source of datastream... > > It gets it from the event system of whichever > WindowManager/OperatingSystem you happen to be running, not from a > simple pipe as such... > > There was some discussion of this a while back (which I can't now find) > and Greg posted an example (probably on his website) of his approach to > doing this, and I posted an example (which I also can not now find) of > how to go about poking simulated keypresses into the fltk event queue. > > So if you are better than me at searching the archives, you might find > something to your advantage! >
Is there any methode to simulate events? -> Simulate the event in process1 ("Software-Keyboard" on touch) -> Get the event in process2 (My GUI-App.) FLTK: 1.1.9 Kernel: 2.6.24 Window Manager: nano-X 0.91 _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk