windows 8 accelerometer
reginald.bernardin
Member Posts: 346
hey i currently publishing my game to windows 8. this may be a dumb question but does do the new windows 8 tablets have an accelerometer function for tilting? my game focuses heavily on this. I notice the tablets are hybrids like a laptop. So i am just making sure if that function is still there. anyone who answers i appreciate, thanks and take care.
Comments
http://code.msdn.microsoft.com/windowsapps/Gyrometer-Sensor-Sample-4fe891d9
http://code.msdn.microsoft.com/windowsapps/Accelerometer-Sensor-Sample-22982671
There's a good post (a little dated but accurate) from Gavin Gear on the thought behind integrating sensors which I found to be interesting:
http://blogs.msdn.com/b/b8/archive/2012/01/24/supporting-sensors-in-windows-8.aspx
One thing, though: devices don't HAVE to have sensors. I just checked my Surface, though, and it has the Gyro, Accelerometer, Inclinometer, etc.