Implemented support for xbox-controller for the rotation script