Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How can I catch a KeyPress event if my device doesn't have touch screen

Hi,I wonder how can I catch a KeyPress event if my device doesn't have touch screen,for example,I want to write a chess game,and I can chess by touch on the screen if I have a touch screen,otherwise I can chess by keyboard(up/down/left/right) to move the chess pieces on the chessboard if I don't have touch screen.
But how can I catch a KeyPress Event?I can't find any Information in the Documentation.
Many thanks

— asked October 18th 2010 by Wen Bin
  • keypress
0 Comments

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.