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
21
packages/input/glfw/keyboard.h
Normal file
21
packages/input/glfw/keyboard.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef ARC_GLFW_KEYBOARD_H_
|
||||
#define ARC_GLFW_KEYBOARD_H_
|
||||
|
||||
#ifdef ARC_GLFW_INPUT
|
||||
#include <GLFW/glfw3.h>
|
||||
#include "arc/input/keyboard.h"
|
||||
|
||||
struct ARC_Keyboard {
|
||||
GLFWwindow *window;
|
||||
|
||||
ARC_KeyboardState *keys;
|
||||
ARC_KeyboardState *released;
|
||||
};
|
||||
|
||||
struct ARC_KeyboardInfo {
|
||||
GLFWwindow *window;
|
||||
};
|
||||
|
||||
#endif // !ARC_GLFW_INPUT
|
||||
|
||||
#endif // !ARC_GLFW_KEYBOARD_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue