sdl3 migrate now compiling, need to go through all the files and clean them up
This commit is contained in:
parent
df4390ddba
commit
1b2e2cb7f1
26 changed files with 1139 additions and 0 deletions
17
packages/input/sdl3/mouse.h
Normal file
17
packages/input/sdl3/mouse.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef ARC_SDL_MOUSE_H_
|
||||
#define ARC_SDL_MOUSE_H_
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
#include "arc/input/mouse.h"
|
||||
#include "arc/math/point.h"
|
||||
|
||||
struct ARC_Mouse {
|
||||
SDL_Event *event;
|
||||
ARC_FPoint *coords;
|
||||
int32_t *scrollY;
|
||||
|
||||
ARC_MouseState *buttons;
|
||||
uint8_t *buttonsReleased;
|
||||
};
|
||||
|
||||
#endif // !ARC_SDL_MOUSE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue