> I just need to get a 
> notification or maybe I should say: it is enough if 
> fltk:wait() returns on all events + if something is pressed 
> on that external KBD.

If it is a serial keyboard, then on unix-like systems, you can use
Fl::add_fd() to monitor the serial port and get a notification of any
characters appearing on the port.

That might be all you need, from the sound of things?

Unfortunately, under win32 you can't monitor a serial port like that, so
you'd need some other  technique there...




SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to