> > > Well I say mostly working they are displaying how I want them=20 > > to. My next job is to get them to react to button presses.=20 > > We're not using a keyboard or mouse we just have some arrow=20 > > keys and buttons that and I need to work out how to generate=20 > > events from them for the app to use, but I'm hoping that is=20 > > easier than getting the text to work. > > OK - if you want to describe your h/w config in a little more detail I > *might* have some suggestions. For example, touchscreen? Or...? > > In summary though, stuffing events into the X11 queue via the XTest > interface might be easiest... (yes, I *know* it is meant for test > harnesses, but it makes a very handy way of stuffing "keyboard" and > "mouse" events into your WM if you do not have a "real" keyboard and > mouse...) > Or see if you can hook Xinput, which is more "proper" but may be > trickier. > > > Testing it on a PC with=20 > > a mouse it works fine. > > Well that's a good start. >
Hi Thanks, for your reply. I have about a dozen buttons which will be used to change menus/options these are read through an FPGA device, I have a driver working that reads the FPGA on a timer and then wakes the user space app on a epoll when a button has been pressed/released. This all works fine but I need to generate events for fltk. I've also tried fltk 2.0 and I now have text working, so I will be going with that I think. Cheers Stuart. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

