archeus/include/arc/input/sdl/mouse.h
2024-02-08 16:53:31 -07:00

24 lines
No EOL
402 B
C

#ifndef ARC_SDL_MOUSE_H_
#define ARC_SDL_MOUSE_H_
#ifdef ARC_SDL2_INPUT
#include <SDL.h>
#include "arc/input/mouse.h"
#include "arc/math/point.h"
struct ARC_Mouse {
SDL_Event *event;
ARC_Point *coords;
int32_t *scrollY;
ARC_MouseState *buttons;
uint8_t *buttonsReleased;
};
struct ARC_MouseInfo {
SDL_Event *event;
};
#endif // ARC_SDL2_INPUT
#endif // !ARC_SDL_MOUSE_H_