Skip to content

Commit

Permalink
Add Input key entries for user custom keys, see #641
Browse files Browse the repository at this point in the history
  • Loading branch information
mikke89 committed Aug 29, 2024
1 parent 05c5c9b commit 5f2a0b0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Include/RmlUi/Core/Input.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5f2a0b0

Please sign in to comment.