summaryrefslogtreecommitdiff
path: root/src/systems/input.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 20:29:27 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 20:29:27 +1000
commit567d384b698151e287e31140709c93f1b92e6db4 (patch)
treee00975124d3f002a8aaa22e85475d913c6950346 /src/systems/input.h
parent13949ca02bcf9fcdfcc48ea7949f617553a260b6 (diff)
loading joints and animations
Diffstat (limited to 'src/systems/input.h')
-rw-r--r--src/systems/input.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/systems/input.h b/src/systems/input.h
index 2665a11..c3b2500 100644
--- a/src/systems/input.h
+++ b/src/systems/input.h
@@ -24,7 +24,7 @@ typedef struct mouse_state {
} mouse_state;
typedef struct Input_State {
- struct GLFWwindow *window;
+ struct GLFWwindow* window;
mouse_state mouse;
bool depressed_keys[KEYCODE_MAX];
bool just_pressed_keys[KEYCODE_MAX];
@@ -45,9 +45,9 @@ PUB bool MouseBtn_Held(MouseBtn btn);
// --- Lifecycle
-PUB bool Input_Init(Input_State *input, struct GLFWwindow *window);
-PUB void Input_Shutdown(Input_State *input);
+PUB bool Input_Init(Input_State* input, struct GLFWwindow* window);
+PUB void Input_Shutdown(Input_State* input);
-PUB void Input_Update(Input_State *state); // must be run once per main loop
+PUB void Input_Update(Input_State* state); // must be run once per main loop
PUB mouse_state Input_GetMouseState(); \ No newline at end of file