Do not use tilt to control function in non-windows

Fixing an annoying bug which screw the analog key functions when the option is accidently checked.