Version2.0/controls

Last-modified: 2009-03-28 (土) 15:20:13
  • Void Controls.read()
    Read the controls and update all control structures
  • Stylus:

Stylus.X: x-coordinate of the stylus
Stylus.Y: y-coordinate of the stylus
Stylus.held: is the stylus held on the screen
Stylus.released: is the stylus released
Stylus.doubleClick: true if stylus do a double click
Stylus.deltaX: delta x of the stylus movement
Stylus.deltaY: delta y of the stylus movement
Stylus.newPress: true if stylus do a new press

  • Keys:

([KEY] can take the following values :
A B X Y L Start Select Up Down Left Right)

Keys.held.[KEY]: is the key held
Keys.released.[KEY]: is the key released
Keys.newPress.[KEY]: true if key do a new press