diff options
| author | day <day@national.shitposting.agency> | 2026-03-16 16:25:49 +0100 |
|---|---|---|
| committer | day <day@national.shitposting.agency> | 2026-03-16 16:25:49 +0100 |
| commit | 7f85c9fc75bd62ac09ea4457d3b17f85988fca66 (patch) | |
| tree | 15248e42bfafc6bd19e50c9010b701057958ff3a /src/util/input.h | |
| parent | 872c39b24ecf4063f785ff3e8b2f940acd8c2d59 (diff) | |
| parent | 991352b0d2767e6bd1a46f554db4ac9d208c13ad (diff) | |
Merge remote-tracking branch 'origin/master' into obj
Diffstat (limited to 'src/util/input.h')
| -rw-r--r-- | src/util/input.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/util/input.h b/src/util/input.h index 1317f94..af5e258 100644 --- a/src/util/input.h +++ b/src/util/input.h @@ -1,7 +1,6 @@ #pragma once #include <SDL_events.h> -#include <functional> #include "vector.h" #include "allocator.h" @@ -33,7 +32,7 @@ struct INPUT_KEYBINDS { U8 crouch = SDL_SCANCODE_LCTRL; }; -using ON_INPUT_FN = std::function<void( SDL_Event* )>; +using ON_INPUT_FN = FN<void( SDL_Event* )>; struct INPUT_DATA { MOUSE_DATA mouse; |
