July 26, 2011

blaroche blaroche
Lab Rat
34 posts

QCoreApplication / usb keyboard

 

Hello,
I’m trying to figure out the best path for my application to get stdin from a usb keyboard. This would be embedded linux on an arm board. There won’t be any Gui, so there shouldn’t be a need to run it with -qws, making QEvents not an option.

So I think just opening/reading the device file (/dev/tty1 in this case) by using either standard c/c++ or Qt classes.

Does this sound like a good solution, or is there another direction anyone might suggest?

Thanks

0 replies

 
  ‹‹ Windows without title bar but with border      Physical device on N950 + Trick to manage the terminal on N950 device ››

You must log in to post a reply. Not a member yet? Register here!