I do not like depending on X. Not all models have it...
Has anybody figured out how to read the accelerometer at a better resolution than 90 degrees? You can now detect a shake to the right or left without tilting it (as a right/left event, or a left/right event). No need to actually rotate it 45 degrees left or right...
A shake could move 5 or 10 degrees (user configurable), while tilting it could rotate continuously until you bring it back to normal orientation...
Last edited by geekmaster; 10-12-2012 at 12:58 PM.
|