add support for multiple instances of joystick