[Mac] Implemented joystick buttons