8000 MouseX() and MouseY() gets rescaled but not TouchX(i), TouchY(i) · Issue #54 · swoolcock/diddy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MouseX() and MouseY() gets rescaled but not TouchX(i), TouchY(i) #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
philippeback opened this issue Dec 24, 2015 · 0 comments
Open

Comments

@philippeback
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0