By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,705 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,705 IT Pros & Developers. It's quick & easy.

to use the arrow keys

P: 1
i am planning a project to control a toy car by using arrow keys of my computer and by wireless communication. pls help me to get a program to detect only arrow keys and ignore other keystrokes.
Sep 29 '08 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
The arrow key codes are 37-40. Return true for those and false for anything else.
Sep 29 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.