Input: Return const -20 mouse position when outside window
This commit is contained in:
parent
318162a229
commit
8ed6de22a4
3 changed files with 12 additions and 1 deletions
|
|
@ -56,6 +56,7 @@ public:
|
|||
struct MouseState
|
||||
{
|
||||
int x, y;
|
||||
bool inWindow;
|
||||
bool buttons[32];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue