f***ed up and needed to rework packages
This commit is contained in:
parent
b43ab1702f
commit
f7a87d7519
78 changed files with 3713 additions and 0 deletions
34
packages/input/glfw/mouse.c
Normal file
34
packages/input/glfw/mouse.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#ifdef ARC_GLFW_INPUT
|
||||
#include "arc/input/mouse.h"
|
||||
|
||||
#include "mouse.h"
|
||||
#include "arc/math/point.h"
|
||||
#include "arc/std/errno.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
|
||||
void ARC_Mouse_CreateWithInput(ARC_Keyboard **keyboard, ARC_Input *input){
|
||||
}
|
||||
|
||||
void ARC_Mouse_Destroy(ARC_Mouse *mouse){
|
||||
}
|
||||
|
||||
void ARC_Mouse_UpdateButton(ARC_Mouse *mouse, uint8_t button, uint32_t *buttons, uint32_t mask){
|
||||
}
|
||||
|
||||
void ARC_Mouse_Update(ARC_Mouse *mouse){
|
||||
}
|
||||
|
||||
ARC_Point *ARC_Mouse_GetCoords(ARC_Mouse *mouse){
|
||||
return mouse->coords;
|
||||
}
|
||||
|
||||
ARC_MouseState ARC_Mouse_GetState(ARC_Mouse *mouse, ARC_MouseButton button){
|
||||
return mouse->buttons[button];
|
||||
}
|
||||
|
||||
int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse){
|
||||
return mouse->scrollY;
|
||||
}
|
||||
|
||||
#endif // ARC_SDL_INPUT
|
||||
Loading…
Add table
Add a link
Reference in a new issue