Correct mode behaviour joystick

The mode switch was wrongly configured