Update unix.cpp

Added a method to quit from joystick