Difference between revisions of "KeyCode"
From GiderosMobile
Line 97: | Line 97: | ||
[[Special:MyLanguage/KeyCode.Y|KeyCode.Y]]<br/><!-- GIDEROSCST:KeyCode.Y 89--> | [[Special:MyLanguage/KeyCode.Y|KeyCode.Y]]<br/><!-- GIDEROSCST:KeyCode.Y 89--> | ||
[[Special:MyLanguage/KeyCode.Z|KeyCode.Z]]<br/><!-- GIDEROSCST:KeyCode.Z 90--> | [[Special:MyLanguage/KeyCode.Z|KeyCode.Z]]<br/><!-- GIDEROSCST:KeyCode.Z 90--> | ||
+ | [[Special:MyLanguage/KeyCode.F1|KeyCode.F1]]<br/><!-- GIDEROSCST:KeyCode.F1 501--> | ||
+ | [[Special:MyLanguage/KeyCode.F2|KeyCode.F2]]<br/><!-- GIDEROSCST:KeyCode.F2 502--> | ||
+ | [[Special:MyLanguage/KeyCode.F3|KeyCode.F3]]<br/><!-- GIDEROSCST:KeyCode.F3 503--> | ||
+ | [[Special:MyLanguage/KeyCode.F4|KeyCode.F4]]<br/><!-- GIDEROSCST:KeyCode.F4 504--> | ||
+ | [[Special:MyLanguage/KeyCode.F5|KeyCode.F5]]<br/><!-- GIDEROSCST:KeyCode.F5 505--> | ||
+ | [[Special:MyLanguage/KeyCode.F6|KeyCode.F6]]<br/><!-- GIDEROSCST:KeyCode.F6 506--> | ||
+ | [[Special:MyLanguage/KeyCode.F7|KeyCode.F7]]<br/><!-- GIDEROSCST:KeyCode.F7 507--> | ||
+ | [[Special:MyLanguage/KeyCode.F8|KeyCode.F8]]<br/><!-- GIDEROSCST:KeyCode.F8 508--> | ||
+ | [[Special:MyLanguage/KeyCode.F9|KeyCode.F9]]<br/><!-- GIDEROSCST:KeyCode.F9 509--> | ||
+ | [[Special:MyLanguage/KeyCode.F10|KeyCode.F10]]<br/><!-- GIDEROSCST:KeyCode.F10 510--> | ||
+ | [[Special:MyLanguage/KeyCode.F11|KeyCode.F11]]<br/><!-- GIDEROSCST:KeyCode.F11 511--> | ||
+ | [[Special:MyLanguage/KeyCode.F12|KeyCode.F12]]<br/><!-- GIDEROSCST:KeyCode.F12 512--> | ||
|} | |} | ||
{{GIDEROS IMPORTANT LINKS}} | {{GIDEROS IMPORTANT LINKS}} |
Revision as of 14:03, 3 July 2020
Supported platforms:
Available since: Gideros 2011.6
Inherits from: Object
Description
KeyCode table holds the key code constants. These map directly to a physical key on the keyboard.
Examples
Listening for back button
stage:addEventListener(Event.KEY_DOWN, function(event)
if event.keyCode == KeyCode.BACK then
application:exit()
end
end)