diddy
diddy copied to clipboard
MouseX() and MouseY() gets rescaled but not TouchX(i), TouchY(i)
I noticed that the rescale of MouseX() and MouseY() occured in framework.monkey (ReadInputs) but TouchX(i) and TouchY(i) are read in inputcache.monkey and stored as-is.
' get the location of each touch
touchX[i] = TouchX(i)
touchY[i] = TouchY(i)
How would you suggest to have TouchX(i) and TouchY(i) neatly rescaled?
I use this config:
Self.inputCache.MonitorNothing()
Self.inputCache.MonitorTouch(True)
And a smaller window in Glfw (and a touch screen), so that I can see code and game.