random/demo key bindings + better monitor tags

This commit is contained in:
2025-09-20 23:09:09 +02:00
parent 06255691f4
commit ac50deb690
6 changed files with 75 additions and 45 deletions
+4
View File
@@ -143,4 +143,8 @@ bool window_should_close(Window *window) {
bool window_escape_key(int key, int action) {
return key == GLFW_KEY_ESCAPE && action == GLFW_PRESS;
}
bool window_char_key(int key, int action, const int char_code) {
return key == char_code && action == GLFW_PRESS;
}