diff options
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 |