  @app.route("/control/<x>/<y>")
  def control(x, y):
    x,y = float(x), float(y)
    x = max(-1, min(1, x))
    y = max(-1, min(1, y))
    dat = messaging.new_message('testJoystick')
 
</s>
  global last_send_time
  @app.route("/control/<x>/<y>")
  def control(x, y):
  global last_send_time
    x,y = float(x), float(y)
    x = max(-1, min(1, x))
    y = max(-1, min(1, y))
    dat = messaging.new_message('testJoystick')
keep add keep keep keep keep
 body: web joystick handle timeout
tools/joystick/web.py