Generalize stretch mode mouse scaling fix

This puts the code to fix mouse coordinates in stretch mode directly
inside KeyPoll::Poll, preventing the need for any other instances of
mouse coordinate usage to copy-paste code.
This commit is contained in:
Misa
2023-08-17 19:57:54 -07:00
parent 100662612b
commit 8e3e29a14c
3 changed files with 39 additions and 26 deletions

View File

@@ -63,7 +63,8 @@ public:
bool controllerWantsDown(void);
int leftbutton, rightbutton, middlebutton;
int mx, my;
int mousex;
int mousey;
bool textentry(void);
bool pressedbackspace;