Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-08-06 19:35:49 +0000
committerStijn Buys <ingar@osirion.org>2008-08-06 19:35:49 +0000
commitd240084aa7e41725a0228e123080aa7fe8a241b7 (patch)
tree09dcde28b6c301c1aff3aaeae6322cc6025d0eb9 /src/client/input.h
parent6979c74625d51897d99797b309974c2ee82a024b (diff)
target hovering, cursors and mouse and joystick interaction
Diffstat (limited to 'src/client/input.h')
-rw-r--r--src/client/input.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/input.h b/src/client/input.h
index f0c4c9e..cf4c169 100644
--- a/src/client/input.h
+++ b/src/client/input.h
@@ -37,8 +37,15 @@ int mouse_position_y();
/// the last key that was pressed
Key *last_key_pressed();
+/// time the mouse was last moved
+float mouse_lastmoved_time();
+
+/// time the joystick was last moved
+float joystick_lastmoved_time();
+
extern bool mouse_deadzone;
extern bool mouse_control;
+extern bool joystick_control;
} // namespace input