Update Joystick.cpp

Fixes syntax problems