summaryrefslogtreecommitdiff
path: root/src/honey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/honey.c')
-rw-r--r--src/honey.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/honey.c b/src/honey.c
index e9396f1..d5b3cd7 100644
--- a/src/honey.c
+++ b/src/honey.c
@@ -28,6 +28,9 @@ honey_window honey_setup(int screen_width, int screen_height, char* window_title
return NULL;
}
+ honey_setup_keyboard();
+ glfwSetKeyCallback(window, default_honey_keyboard_callback);
+
// Enable blending
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);