diff options
| author | realtradam <[email protected]> | 2023-04-24 02:27:18 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-04-24 02:27:18 -0400 |
| commit | 92b561030f7f713fc4e2893de05fdc7a06c8a139 (patch) | |
| tree | e48f6719d839f12e4a11281d0c29cef25e21b747 /src/rodeo_input.c | |
| parent | cb3c2a69576168a3193151f14d6c1f4aeaa30e0b (diff) | |
| download | RodeoKit-92b561030f7f713fc4e2893de05fdc7a06c8a139.tar.gz RodeoKit-92b561030f7f713fc4e2893de05fdc7a06c8a139.zip | |
added positional inputs to input system
Diffstat (limited to 'src/rodeo_input.c')
| -rw-r--r-- | src/rodeo_input.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/rodeo_input.c b/src/rodeo_input.c deleted file mode 100644 index 3a40b77..0000000 --- a/src/rodeo_input.c +++ /dev/null @@ -1,23 +0,0 @@ - -// public internal -#include "rodeo_types.h" -#include "rodeo.h" - -// external -#include "SDL/SDL.h" - -int32_t -rodeo_input_mouse_x_get(void) -{ - int32_t x, y; - SDL_GetMouseState(&x, &y); - return x; -} - -int32_t -rodeo_input_mouse_y_get(void) -{ - int32_t x, y; - SDL_GetMouseState(&x, &y); - return y; -} |
