SYNC_POSITION
if (motion->sync & SYNC_POSITION) {
if (motion->sync & SYNC_POSITION)
input->motion.sync &= SYNC_POSITION;
if (motion->sync & SYNC_POSITION) {
motion->sync &= ~SYNC_POSITION;
} else if (input->motion.sync & SYNC_POSITION) {
if (!(input->motion.sync & SYNC_POSITION)
input->motion.sync &= ~SYNC_POSITION;
if ((input->motion.sync & SYNC_POSITION) == 0)