No keyboard input on BeagleBone Black
-
Also one more thing. I have just implemented by hand a code that reads from
/dev/input/event1
and I have placed it in the main before MainWindow is created and it works, which means that the app has the rights to red the input, just the Qt doesnt interpret it, why?The code here after retrieving 20 events from
/dev/input/event1
continues to the Qt gui App: Keyboard test code -
Just to be entirely sure, Qt 4 series ?
-
Yes, the package i have installee it from was qt 4 everywhere
-
Did I saw correctly ? You have "QWS_KEYBOARD='/dev/tty'" in either a bash script on your target or set in Qt Creator in the run environment panel
-
Yes qt creator seems to set it somehow, even though i have found all occuriences of QWS_KEYBOARD in project files and set it to event1. Thats not that much of a problem, the bigger deal is that it doesnt start from rc.local script.
-
Look on the Run part of the Project panel in the Environment Variables
-
@SGaist i started there, the walue was set correctly with event1 and qt creator doesnt care, i think its a bug.
-
Strange, which version of Qt Creator are you using ?
-
Qt creator version 3.2.0
-
Did you check with a more recent version ?
-
No, I havent. Is there any known bug here? Also, I didnt think there is a newer qt version for embedded systems.
-
Sorry, I meant a more recent version of Qt Creator, as for Qt 4 the latest version is 4.8.7