diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-06 19:35:49 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-06 19:35:49 +0000 |
commit | d240084aa7e41725a0228e123080aa7fe8a241b7 (patch) | |
tree | 09dcde28b6c301c1aff3aaeae6322cc6025d0eb9 /src/client/input.h | |
parent | 6979c74625d51897d99797b309974c2ee82a024b (diff) |
target hovering, cursors and mouse and joystick interaction
Diffstat (limited to 'src/client/input.h')
-rw-r--r-- | src/client/input.h | 7 |
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 |