Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Mouse/Keyboard input: (2 Items)
   
Mouse/Keyboard input  
Hello,

I'm currently trying Qt on Qnx.
I managed to compile a simple program which shows a MainWindow...but I'm not abble to move the mouse or type any key 
using the keyboard.

However I edit the environment variables with :
export QWS_KEYBOARD=qnx
export QWS_MOUSE_PROTO=qnx

But ...nothing...
Re: Mouse/Keyboard input  
You must start the followiing, in addition to what you already did.  Make sure are in text mode - not in Photon.

# /usr/photon/bin/devi-hid -Pr kbd mouse
...prior to starting your program.  

Once devi-hid is started, you must have a terminal session on serial or telnet since the 
console will no longer function in text mode.

Dennis