Client and server changes to implement joystick control