Accelerometer: Difference between revisions

m
Fix source code formatting
(Updated and revisited the page)
m (Fix source code formatting)
Line 5: Line 5:
|output1={{Port|v|Direction}}
|output1={{Port|v|Direction}}
}}
}}
Outputs the tilt direction of the device.  
Outputs the tilt direction of the device.  


== Notes ==
== Notes ==
* The accelerometer makes the screen orientation unchangeable during gameplay when the direction output is connected to anything.
* The accelerometer makes the screen orientation unchangeable during gameplay when the direction output is connected to anything.
* The accelerometer is device-dependant, meaning it will behave diffrently on diffrent devices. Some may not even have one at all.
* The accelerometer is device-dependant, meaning it will behave diffrently on diffrent devices. Some may not even have one at all.