From 5680cffdd4afdb99d39c644a6c397e670e958848 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 4 Aug 2008 22:32:59 +0000 Subject: initial joystick support, added cl_drawkeypress variable --- src/client/input.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/input.h') 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; -- cgit v1.2.3