<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.wowcube.com/index.php?action=history&amp;feed=atom&amp;title=SDK_6.3%2FC%2B%2B%2FMotion_Sensors</id>
	<title>SDK 6.3/C++/Motion Sensors - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.wowcube.com/index.php?action=history&amp;feed=atom&amp;title=SDK_6.3%2FC%2B%2B%2FMotion_Sensors"/>
	<link rel="alternate" type="text/html" href="https://wiki.wowcube.com/index.php?title=SDK_6.3/C%2B%2B/Motion_Sensors&amp;action=history"/>
	<updated>2026-07-26T22:45:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.wowcube.com/index.php?title=SDK_6.3/C%2B%2B/Motion_Sensors&amp;diff=16966&amp;oldid=prev</id>
		<title>WowBot: Split C++ Native API into per-module pages with minimal examples (WowBot)</title>
		<link rel="alternate" type="text/html" href="https://wiki.wowcube.com/index.php?title=SDK_6.3/C%2B%2B/Motion_Sensors&amp;diff=16966&amp;oldid=prev"/>
		<updated>2026-07-26T09:47:45Z</updated>

		<summary type="html">&lt;p&gt;Split C++ Native API into per-module pages with minimal examples (WowBot)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{notice|'''Official WOWCube SDK documentation.''' SDK 6.3, C++ (WebAssembly) API. Signatures are extracted from the canonical SDK headers shipped with the WOWCube Development Kit; the headers remain authoritative.}}&lt;br /&gt;
&lt;br /&gt;
{{SDK 6.3 nav}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''← [[SDK 6.3]] · [[SDK 6.3/C++/Native API|C++ Native API]] / Motion Sensors''&lt;br /&gt;
&lt;br /&gt;
Per-display accelerometer and gyroscope readings.&lt;br /&gt;
&lt;br /&gt;
Shared types, enums and constants are listed on the [[SDK 6.3/C++/Native API#Types and data structures|Native API overview]].&lt;br /&gt;
&lt;br /&gt;
== Minimal example ==&lt;br /&gt;
&lt;br /&gt;
Reading tilt for the screen currently being rendered:&lt;br /&gt;
&lt;br /&gt;
 i32_t ax = MS_getFaceAccelX(screen.ID());&lt;br /&gt;
 i32_t ay = MS_getFaceAccelY(screen.ID());&lt;br /&gt;
 // move the ball by the tilt of this display&lt;br /&gt;
 pos.X += ax / 64.0f;  pos.Y += ay / 64.0f;&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
&lt;br /&gt;
===MS_getFaceAccelX===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t MS_getFaceAccelX(u32_t display)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get accelerometer value along X axis of some display.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Accelerometer value along X axis.&lt;br /&gt;
&lt;br /&gt;
===MS_getFaceAccelY===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t MS_getFaceAccelY(u32_t display)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get accelerometer value along Y axis of some display.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Accelerometer value along Y axis.&lt;br /&gt;
&lt;br /&gt;
===MS_getFaceAccelZ===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t MS_getFaceAccelZ(u32_t display)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get accelerometer value along Z axis of some display.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Accelerometer value along Z axis.&lt;br /&gt;
&lt;br /&gt;
===MS_getFaceGyroX===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t MS_getFaceGyroX(u32_t display)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get gyroscope value around X axis of some display.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Gyroscope value around X axis.&lt;br /&gt;
&lt;br /&gt;
===MS_getFaceGyroY===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t MS_getFaceGyroY(u32_t display)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get gyroscope value around Y axis of some display.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Gyroscope value around Y axis.&lt;br /&gt;
&lt;br /&gt;
===MS_getFaceGyroZ===&lt;br /&gt;
Syntax:&lt;br /&gt;
 i32_t MS_getFaceGyroZ(u32_t display)&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
: Get gyroscope value around Z axis of some display.&lt;br /&gt;
&lt;br /&gt;
Return values:&lt;br /&gt;
: Gyroscope value around Z axis.&lt;br /&gt;
&lt;br /&gt;
[[Category:SDK 6.3]]&lt;br /&gt;
[[Category:C++ API]]&lt;/div&gt;</summary>
		<author><name>WowBot</name></author>
		
	</entry>
</feed>