Fixed buffer overflowing because of mouse input
This commit is contained in:
@ -19,19 +19,19 @@
|
||||
#define INPUT_DEBUG_PLUS (inputbind_t)0x08
|
||||
#define INPUT_DEBUG_MINUS (inputbind_t)0x09
|
||||
|
||||
/** Reserved Inputs (Starts at 64) */
|
||||
#define INPUT_MOUSE_X (inputbind_t)0x40
|
||||
#define INPUT_MOUSE_Y (inputbind_t)0x41
|
||||
/** Real Inputs (Starts at 64/0x40) */
|
||||
#define INPUT_UP (inputbind_t)0x40
|
||||
#define INPUT_DOWN (inputbind_t)0x41
|
||||
#define INPUT_LEFT (inputbind_t)0x42
|
||||
#define INPUT_RIGHT (inputbind_t)0x43
|
||||
#define INPUT_ACCEPT (inputbind_t)0x44
|
||||
|
||||
/** Real Inputs (Starts at 128/0x80) */
|
||||
#define INPUT_UP (inputbind_t)0x80
|
||||
#define INPUT_DOWN (inputbind_t)0x81
|
||||
#define INPUT_LEFT (inputbind_t)0x82
|
||||
#define INPUT_RIGHT (inputbind_t)0x83
|
||||
#define INPUT_ACCEPT (inputbind_t)0x84
|
||||
/** Additional sources */
|
||||
#define INPUT_MOUSE_X (inputsource_t)0x20
|
||||
#define INPUT_MOUSE_Y (inputsource_t)0x21
|
||||
|
||||
#define INPUT_BIND_COUNT 0xFF
|
||||
#define INPUT_SOURCE_COUNT 1024
|
||||
#define INPUT_SOURCE_COUNT 0xFFFF
|
||||
|
||||
/**
|
||||
* Input Bind, a specific action bind reference for the game engine to use.
|
||||
|
Reference in New Issue
Block a user