mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 11:05:45 +01:00
implement input and rework window implementation
moved the window variable as a constant in the window module, and implement more of GLFW logic, including some basic input handling.
This commit is contained in:
7
src/io/input.h
Normal file
7
src/io/input.h
Normal file
@@ -0,0 +1,7 @@
|
||||
// Copyright (c) 2025 Quinn
|
||||
// Licensed under the MIT Licence. See LICENSE for details
|
||||
#pragma once
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
void key_callback(GLFWwindow* win, int key, int scancode, int action, int mods);
|
||||
|
||||
Reference in New Issue
Block a user