Commit Graph

6 Commits

Author SHA1 Message Date
Andreas Haas f9a12d2d19 Joystick demo script cleanup
Removes a leftover variable and uses constants instead of magic numbers.
2016-05-10 20:32:12 +02:00
hondres e700829bf9 update joystick demo with joy_connection_changed handling 2016-01-26 14:33:12 +01:00
hondres 0d938dab07 visual representation for joystick demo 2016-01-06 01:01:50 +01:00
Rémi Verschelde f76b29f30d Use upper-cased first letter at the start of comment sentences 2015-12-09 08:39:12 +01:00
Rémi Verschelde 708a0caf4a 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 c535cf3c69 added joysticks demo 2014-08-06 02:29:14 -04:00