feat: key pressed event interception & 'owner' input.add_callback third argument

This commit is contained in:
MihailRis
2025-01-02 20:51:43 +03:00
parent 7fce735ca1
commit b9ff1db086
17 changed files with 192 additions and 63 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include <string>
#include "util/RunnablesList.hpp"
#include "util/HandlersList.hpp"
/// @brief Represents glfw3 keycode values.
enum class keycode : int {
@@ -131,7 +131,7 @@ enum class inputtype {
};
struct Binding {
util::RunnablesList onactived;
util::HandlersList<> onactived;
inputtype type;
int code;