Multi-function joystick