input and handler possibly fixed and point

This commit is contained in:
herbglitch 2022-11-11 01:15:54 -07:00
parent d6281e8eac
commit 3fa74e8f9e
7 changed files with 288 additions and 0 deletions

View file

@ -0,0 +1,24 @@
#ifndef ARC_SDL_MOUSE_H_
#define ARC_SDL_MOUSE_H_
#ifdef ARC_SDL
#include <SDL.h>
#include "arc/input/mouse.h"
#include "arc/math/point.h"
struct ARC_Mouse {
SDL_Event *event;
ARC_Point *coords;
int32_t *scroll;
ARC_MouseState *buttons;
uint8_t *buttonsReleased;
};
struct ARC_MouseInfo {
SDL_Event *event;
};
#endif // ARC_SDL
#endif // !ARC_SDL_MOUSE_H_