View topic - Which function can get keyboard scancode in qnx lib?

Which function can get keyboard scancode in qnx lib?

anything that doesn't fit to other groups.

Which function can get keyboard scancode in qnx lib?

Postby lonki » Wed Sep 24, 2003 9:22 am

Advance thacnk.
lonki
New Member
 
Posts: 3
Joined: Wed Sep 24, 2003 9:19 am

Serg

Postby serg » Wed Sep 24, 2003 12:59 pm

Looking for devi-hirun driver with -r -P options.
serg
New Member
 
Posts: 2
Joined: Tue Sep 16, 2003 2:18 pm
Location: Kharkov

Postby lonki » Thu Sep 25, 2003 1:19 am

Thanks.
But devi-hirun is for Photon and my target running on terminal mode.
Can devi-hirun used in terminal mode?
Do you know which function can use in terminal mode??
Another question:
devi-hirun only is a input driver,how do I use it?
lonki
New Member
 
Posts: 3
Joined: Wed Sep 24, 2003 9:19 am

Postby noc » Thu Sep 25, 2003 2:27 am

yes, you can run devi-hirun without Photon, that's what -P -r means (no Photon, resource manager). This is exactly what I used for XFree86 under QNX for mouse event (Browse the archives at http://www.openqnx.com/PNphpBB2-viewforum-f14-.html for more discussions), and you can certainly do the same for the keyboard events.

as for how to use it. check the Input DDK for examples, and the header file <sys/dcmd_input.h> may be helpful too.
noc
Senior Member
 
Posts: 1634
Joined: Sat Jul 06, 2002 4:34 am

Postby lonki » Thu Sep 25, 2003 3:08 am

Thanks a lot!
lonki
New Member
 
Posts: 3
Joined: Wed Sep 24, 2003 9:19 am


Return to General Programming

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests