Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Re: key codes
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3256 of 3326
Post > Topic >>

Re: key codes

by Joe Strout <joe@[EMAIL PROTECTED] > Sep 4, 2007 at 09:13 AM

In article <1i3s6uo.3vv4ao1regf9aN%pkg@[EMAIL PROTECTED]
>,
 pkg@[EMAIL PROTECTED]
 (pkg) wrote:

> I need to know the key codes of my usb keyboard.
> I've found something, but that's for adb key boards, does not work with
> usb key boards.

If what you found is the diagram in the User's Guide and Language 
Reference (printed or PDF versions, under both SpriteSurface and 
Keyboard), then it's the same for USB and ADB keyboards.

In fact, I can't imagine what you may have found that wouldn't apply; 
the key codes are the same regardless of what communications protocol is 
used to connect the hardware.

You can also write a little app that simple checks ALL key codes (0 to 
127) and tells you which one is pressed, then use this to test any key 
you're curious about.

Best,
- Joe

-- 
"Polywell" fusion -- an approach to nuclear fusion that might actually
work.
Learn more and discuss via: 
<http://www.strout.net/info/science/polywell/>
 




 2 Posts in Topic:
key codes
pkg@[EMAIL PROTECTED] (p  2007-09-01 21:42:46 
Re: key codes
Joe Strout <joe@[EMAIL  2007-09-04 09:13:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:46:46 CDT 2008.