From d240084aa7e41725a0228e123080aa7fe8a241b7 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 6 Aug 2008 19:35:49 +0000 Subject: target hovering, cursors and mouse and joystick interaction --- src/client/input.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/client/input.h') 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 -- cgit v1.2.3