Changes
Jump to navigation
Jump to search
← Older edit
on.arrowDown
1 byte removed
,
15:37, 1 June 2011
no edit summary
Line 1:
Line 1:
on.'''arrowDown'''() is an event handler. <br> This handler get called when the down arrow key gets pressed. <br>
on.'''arrowDown'''() is an event handler. <br> This handler get called when the down arrow key gets pressed. <br>
−
== Example ==
+
== Example
==
<source lang="lua">
<source lang="lua">
Line 24:
Line 24:
platform.window:invalidate()
platform.window:invalidate()
end
end
−
(
+
function on.arrowRight()
function on.arrowRight()
msg = "Key right"
msg = "Key right"
Line 30:
Line 30:
end
end
−
</source>
+
</source>
== See Also ==
== See Also ==
Jimbauwens
68
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version