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
25
packages/input/glfw/mouse.h
Normal file
25
packages/input/glfw/mouse.h
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#ifndef ARC_GLFW_MOUSE_H_
|
||||
#define ARC_GLFW_MOUSE_H_
|
||||
|
||||
#ifdef ARC_GLFW_INPUT
|
||||
#include <GLFW/glfw3.h>
|
||||
#include "arc/input/mouse.h"
|
||||
#include "arc/math/point.h"
|
||||
|
||||
struct ARC_Mouse {
|
||||
GLFWwindow *window;
|
||||
|
||||
ARC_Point *coords;
|
||||
int32_t *scrollY;
|
||||
|
||||
ARC_MouseState *buttons;
|
||||
uint8_t *buttonsReleased;
|
||||
};
|
||||
|
||||
struct ARC_MouseInfo {
|
||||
GLFWwindow *window;
|
||||
};
|
||||
|
||||
#endif // !ARC_GLFW_INPUT
|
||||
|
||||
#endif // !ARC_GLFW_MOUSE_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue