mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
feat: key pressed event interception & 'owner' input.add_callback third argument
This commit is contained in:
parent
7fce735ca1
commit
b9ff1db086
17 changed files with 192 additions and 63 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue