Modified Joystick code to send data in the short way