Update ObjectOriented.c

Fixed a joystick flaw