Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Keyboard keys
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chalcids




PostPosted: Fri Dec 16, 2011 5:42 pm   Post subject: Keyboard keys

What are the rest of the code for the letter keys because the arrow keys are (KEY_DOWN_ARROW)
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Fri Dec 16, 2011 5:48 pm   Post subject: RE:Keyboard keys

keycodes
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
chalcids




PostPosted: Sat Dec 17, 2011 5:35 pm   Post subject: RE:Keyboard keys

that doesn't help i need to know to do KEY_(something to use the key f)
Raknarg




PostPosted: Sat Dec 17, 2011 5:50 pm   Post subject: RE:Keyboard keys

('f')

make sure to use single quote marks
chalcids




PostPosted: Sat Dec 17, 2011 5:55 pm   Post subject: RE:Keyboard keys

so it would be KEY_'F'
Insectoid




PostPosted: Sat Dec 17, 2011 6:05 pm   Post subject: RE:Keyboard keys

No, just 'f'.
RandomLetters




PostPosted: Sat Dec 17, 2011 9:44 pm   Post subject: RE:Keyboard keys

KEY_DOWN_ARROW is just a number constant

when you call Input.KeyDown or something, and look at chars(KEY_DOWN_ARRAY) or chars('f') it's really the same as using chars(n) where n is a number from the chart Tony posted.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: