Refactored joystick input events