Commit graph

6 commits

Author SHA1 Message Date
Andreas Haas
86b46c0b7e Joystick demo script cleanup
Removes a leftover variable and uses constants instead of magic numbers.
2016-05-10 20:32:12 +02:00
hondres
31d441f409 update joystick demo with joy_connection_changed handling 2016-01-26 14:33:12 +01:00
hondres
63ad92f4c2 visual representation for joystick demo 2016-01-06 01:01:50 +01:00
Rémi Verschelde
8c4f19e79d Use upper-cased first letter at the start of comment sentences 2015-12-09 08:39:12 +01:00
Rémi Verschelde
8639cecf4c Improve code formatting and update to 2.0
The scripts were streamlined using more or less the following conventions:
 - space after a comma in lists of arguments
 - space around weak operators (+, -), no space around strong operators (*, /)
 - space after a comment start (#)
 - removed trailing spaces or tabs, apart from those that delimit the function indentation level (those could be removed too but since they are added automatically by the editor when typing code, keeping them for now)
 - function blocks separate by two newlines

The scene files were resaved with the (current) 2.0 format, and some scenes that were in XML format were converted to SCN, to be consistent across all demos.
2015-12-09 08:38:23 +01:00
Dana Olson
f10233ba31 added joysticks demo 2014-08-06 02:29:14 -04:00