X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=keys.h;h=6c10a6f12810d337a876bea01f634a378176c84d;hp=26c711d0838e17dfa9699afd391a2f59e4710aee;hb=HEAD;hpb=cf5547d7fcbd2864d3756043b96ab9033b52a09a;ds=sidebyside diff --git a/keys.h b/keys.h index 26c711d0..2081e800 100644 --- a/keys.h +++ b/keys.h @@ -36,7 +36,9 @@ // the highest Unicode character to allow key binding. // note that an excessively high value may degrade fps // when code is looping through the bindings -#define MAX_KEY_BINDS 0xfff0 +// U+ABFF is probably the highest bindable codepoint, +// see: https://github.com/DarkPlacesEngine/darkplaces/pull/68#issuecomment-1416802873 +#define MAX_KEY_BINDS 0xAC00 // how long is a "tinystr" to hold a keyboard key's // Unicode utf-8 presentation, plus final \x00