summaryrefslogtreecommitdiff
path: root/core/os/input.h
diff options
context:
space:
mode:
authorIlija Boshkov <ilija.boshkov@gmail.com>2017-01-25 19:21:41 +0100
committerRĂ©mi Verschelde <rverschelde@gmail.com>2017-01-25 19:21:41 +0100
commit1005a56e5a27fb7f491d280d5aff6fe88691365c (patch)
tree3b6ba52457db0287feed818955b3f917c5485b7b /core/os/input.h
parent4c28f35b2c6dacd30a0e10453af1bcd977de9342 (diff)
Added focus tracking in X11 and Windows classes, added new confined mouse mode (#7162)
Diffstat (limited to 'core/os/input.h')
-rw-r--r--core/os/input.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/os/input.h b/core/os/input.h
index 82c7a80d3f..2cea154a50 100644
--- a/core/os/input.h
+++ b/core/os/input.h
@@ -47,7 +47,8 @@ public:
enum MouseMode {
MOUSE_MODE_VISIBLE,
MOUSE_MODE_HIDDEN,
- MOUSE_MODE_CAPTURED
+ MOUSE_MODE_CAPTURED,
+ MOUSE_MODE_CONFINED
};
void set_mouse_mode(MouseMode p_mode);