Added support for joysticks with analogue inputs.