- Home /
Change "kAccelerometerFrequency" at runtime?
I have been doing some optimization lately, and I am playing with tuning the main loop, as per cited in this documentation page:
I changed the "kAccelerometerFrequency" to a lower value, but I would like to set it to 0 when I don't need the Accelerometer, for example, when using touch controls instead of tilt controls.
Is there a way to change it at run-time? Thanks for your time! Stephane
Comment
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How to check what iDevice your using and adjust GUI sizes according... 1 Answer
how to make simple touch commands and play animation? 1 Answer
TPS Camera with Joystick (Android) 0 Answers
build for iphone - "function is not a member of object" 1 Answer