Reimplemented GamepadManager. Added joystick event functionality.