diff options
Diffstat (limited to 'src/client/input.h')
-rw-r--r-- | src/client/input.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/input.h b/src/client/input.h index 78b813f..f0c4c9e 100644 --- a/src/client/input.h +++ b/src/client/input.h @@ -7,6 +7,7 @@ #ifndef __INCLUDED_cLIENT_INPUT_H__ #define __INCLUDED_cLIENT_INPUT_H__ +#include "client/key.h" #include "core/cvar.h" namespace client @@ -33,6 +34,9 @@ int mouse_position_x(); /// current mouse y position int mouse_position_y(); +/// the last key that was pressed +Key *last_key_pressed(); + extern bool mouse_deadzone; extern bool mouse_control; |