Update unix.cpp

Added a method to quit from joystick
Merge pull request #1 from badman12345/master

Quit from joystick