add Joystick cpp file