diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-04 22:32:59 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-04 22:32:59 +0000 |
commit | 5680cffdd4afdb99d39c644a6c397e670e958848 (patch) | |
tree | 2ac3d23c49e71731c416b434da37b97b43fa6621 /src/client/input.h | |
parent | 50a1e2b2fe3c207c7227df4941f2f66990db0c2c (diff) |
initial joystick support, added cl_drawkeypress variable
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; |