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

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




PostPosted: Fri Nov 16, 2007 10:20 am   Post subject: Keyboard input

Is it possible to get the last key pressed on the keyboard?

so like..

if keypress = right arrow and then i stop...and then i press another letter..if the keypress was the right arrow then something will happen..but if it was left arrow then something else happens.
Sponsor
Sponsor
Sponsor
sponsor
Carey




PostPosted: Fri Nov 16, 2007 1:01 pm   Post subject: RE:Keyboard input

look up Input.KeyDown in the Turing help file
Jestar




PostPosted: Fri Nov 16, 2007 4:02 pm   Post subject: Re: Keyboard input

nvm i figured it out....thanks.
Euphoracle




PostPosted: Fri Nov 16, 2007 5:18 pm   Post subject: RE:Keyboard input

You should always post your solution, because others may have the same question Wink
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  [ 4 Posts ]
Jump to:   


Style:  
Search: