    dat = messaging.new_message('testJoystick')
    dat.testJoystick.axes = [y,x]
    dat.testJoystick.buttons = [False]
    pm.send('testJoystick', dat)
    return ""
  
  def handle_timeout():
    while 1:
      this_time = time.time()
      if (last_send_time+0.5) < this_time:
 
</s>
  last_send_time = time.time()
    dat = messaging.new_message('testJoystick')
    dat.testJoystick.axes = [y,x]
    dat.testJoystick.buttons = [False]
    pm.send('testJoystick', dat)
  last_send_time = time.time()
    return ""
  
  def handle_timeout():
    while 1:
      this_time = time.time()
      if (last_send_time+0.5) < this_time:
keep keep keep add keep keep keep keep keep keep
 body: web joystick handle timeout
tools/joystick/web.py