From 2973df584978d9aae6f164ce0204179c8a28b3ae Mon Sep 17 00:00:00 2001 From: 2lag <96544487+2lag@users.noreply.github.com> Date: Sat, 8 Aug 2026 17:33:36 +0200 Subject: console, textbox changes, some other shit --- src/util/input.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/util/input.h') diff --git a/src/util/input.h b/src/util/input.h index af5e258..f982844 100644 --- a/src/util/input.h +++ b/src/util/input.h @@ -34,9 +34,11 @@ struct INPUT_KEYBINDS { using ON_INPUT_FN = FN; +constexpr U32 INPUT_TEXT_MAX = 1024; + struct INPUT_DATA { MOUSE_DATA mouse; - U8 keys[0xff]; + U8 keys[0x100]; U8 mouselock; F32 msens = .3f; F32 myaw = 1.f; @@ -44,7 +46,8 @@ struct INPUT_DATA { INPUT_KEYBINDS binds; LIST on_input; - + char text[INPUT_TEXT_MAX]; + U32 textlen; }; extern INPUT_DATA input; -- cgit v1.2.3