to use the arrow keys

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mecmec
    New Member
    • Sep 2008
    • 1

    to use the arrow keys

    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.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    The arrow key codes are 37-40. Return true for those and false for anything else.

    Comment

    Working...