From 5f2a0b022dd24a325e9cef058aba8affe3371c34 Mon Sep 17 00:00:00 2001 From: Michael Ragazzon Date: Thu, 29 Aug 2024 23:54:02 +0200 Subject: [PATCH] Add Input key entries for user custom keys, see #641 --- Include/RmlUi/Core/Input.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Include/RmlUi/Core/Input.h b/Include/RmlUi/Core/Input.h index 35b743b17..e353d3b6b 100644 --- a/Include/RmlUi/Core/Input.h +++ b/Include/RmlUi/Core/Input.h @@ -252,7 +252,13 @@ namespace Input { KI_OEM_CLEAR = 174, KI_LMETA = 175, - KI_RMETA = 176 + KI_RMETA = 176, + + /* + * Custom keys that users can assign their own meaning to. + */ + KI_FIRST_CUSTOM_KEY, + KI_LAST_CUSTOM_KEY = 250, }; enum KeyModifier : unsigned char {