Browse Source

Add Input key entries for user custom keys, see #641

Michael Ragazzon 1 year ago
parent
commit
5f2a0b022d
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Include/RmlUi/Core/Input.h

+ 7 - 1
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 {