code: func (w *Window) UpdateInput() {
  	mainthread.Call(func() {
  		glfw.PollEvents()
  	})
  
  	w.prevInp = w.currInp
  	w.currInp = w.tempInp
  
  	w.tempInp.repeat = [KeyLast + 1]bool{}
  	w.tempInp.scroll = pixel.ZV
  	w.tempInp.typed = ""
  
  	w.updateJoystickInput()
  }
docs: // UpdateInput polls window events. Call this function to poll window events
  // without swapping buffers. Note that the Update method invokes UpdateInput.