Difference between revisions of "KeyCode"

From GiderosMobile
Line 2: Line 2:
 
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
KeyCode table holds the key code constants. These map directly to a physical key on the keyboard.<br /></translate>
 
KeyCode table holds the key code constants. These map directly to a physical key on the keyboard.<br /></translate>
=== Examples ===
+
=== <translate>Examples</translate> ===
 
'''Listening for back button'''<br/>
 
'''Listening for back button'''<br/>
 
<source lang="lua">stage:addEventListener(Event.KEY_DOWN, function(event)
 
<source lang="lua">stage:addEventListener(Event.KEY_DOWN, function(event)
Line 14: Line 14:
 
{|-
 
{|-
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Methods ===
+
=== <translate>Methods</translate> ===
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
=== Events ===
+
=== <translate>Events</translate> ===
=== Constants ===
+
=== <translate>Constants</translate> ===
 
[[Special:MyLanguage/KeyCode.A|KeyCode.A]]<br/>
 
[[Special:MyLanguage/KeyCode.A|KeyCode.A]]<br/>
 
[[Special:MyLanguage/KeyCode.ALT|KeyCode.ALT]]<br/>
 
[[Special:MyLanguage/KeyCode.ALT|KeyCode.ALT]]<br/>

Revision as of 07:27, 24 August 2018