summaryrefslogtreecommitdiff
path: root/src/systems/input.h
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-19 16:38:56 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-19 16:41:04 +1000
commitff825f1e18860d5aa0c761496f1dc0670422715c (patch)
treebc88851579492007237b125b68811cef947397c0 /src/systems/input.h
parentefb2d293d5e849fc96e4e386d55a7611795561aa (diff)
fly camera
Diffstat (limited to 'src/systems/input.h')
-rw-r--r--src/systems/input.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systems/input.h b/src/systems/input.h
index f928ed1..ce6e190 100644
--- a/src/systems/input.h
+++ b/src/systems/input.h
@@ -34,9 +34,14 @@ bool key_just_pressed(keycode key);
/** @brief `key` was just released */
bool key_just_released(keycode key);
+// TODO: right btn as well
+bool MouseBtn_Held();
+
// --- Lifecycle
bool Input_Init(Input_State *input, struct GLFWwindow *window);
void Input_Shutdown(Input_State *input);
void Input_Update(Input_State *state); // must be run once per main loop
+
+PUB mouse_state Input_GetMouseState(); \ No newline at end of file