diff options
| author | Jakob Fries <jakob.fries@gmail.com> | 2007-06-10 15:19:04 +0000 |
|---|---|---|
| committer | Jakob Fries <jakob.fries@gmail.com> | 2007-06-10 15:19:04 +0000 |
| commit | 7ad13ccb127edf520dead3f20570dd5f772cc61d (patch) | |
| tree | 4984ef63f6655bf2ba14ad837d5624e69369c105 /src/engine/interface.h | |
| parent | 6523310be6401ca8e2a3974214a97495c63b2523 (diff) | |
| download | zcatch-7ad13ccb127edf520dead3f20570dd5f772cc61d.tar.gz zcatch-7ad13ccb127edf520dead3f20570dd5f772cc61d.zip | |
new input thingies
Diffstat (limited to 'src/engine/interface.h')
| -rw-r--r-- | src/engine/interface.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/engine/interface.h b/src/engine/interface.h index d4bde2af..c8099247 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -6,7 +6,7 @@ */ // TODO: Move the definitions of these keys here -#include <baselib/keys.h> +#include <baselib/input.h> enum { @@ -332,22 +332,6 @@ bool snd_shutdown(); void inp_mouse_relative(int *x, int *y); /* - Function: inp_mouse_button_pressed - Checks if a mouse button is pressed. - - Arguments: - button - Index to the button to check. - * 0 - Left mouse button. - * 1 - Right mouse button. - * 2 - Middle mouse button. - * Others over 2 is undefined mouse buttons. - - Returns: - Returns 1 if the button is pressed, otherwise 0. -*/ -int inp_mouse_button_pressed(int button); - -/* Function: inp_key_pressed Checks if a key is pressed. |