archeus/include/arc/input/sdl/mouse.h

24 lines
402 B
C
Raw Normal View History

#ifndef ARC_SDL_MOUSE_H_
#define ARC_SDL_MOUSE_H_
2024-02-08 16:53:31 -07:00
#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;
2023-02-23 16:31:18 -07:00
int32_t *scrollY;
ARC_MouseState *buttons;
uint8_t *buttonsReleased;
};
struct ARC_MouseInfo {
SDL_Event *event;
};
2024-02-08 16:53:31 -07:00
#endif // ARC_SDL2_INPUT
#endif // !ARC_SDL_MOUSE_H_