Thread: Key numbers?
View Single Post
  #9  
Old 08-04-2009, 08:01 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ya, onKeypressed() functions off of the keyboard preferences on the OS, much like actual typing. So if you have onKeypressed(), and you hold down S, it will input S, then after a moment repeatedly call the function over and over, just like holding down S would do in a text editor. The speed of which it does this depends purely on how the persons keyboard is set-up, so it would not function the same for everyone -- not ideal for movement at all.
Reply With Quote