The Joystick listener class