give error if both unicode/map are enabled
This commit is contained in:
parent
69ea10f9a9
commit
6788cbd762
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ enum quantum_keycodes {
|
||||||
QK_LAYER_TAP_TOGGLE_MAX = 0x58FF,
|
QK_LAYER_TAP_TOGGLE_MAX = 0x58FF,
|
||||||
QK_MOD_TAP = 0x6000,
|
QK_MOD_TAP = 0x6000,
|
||||||
QK_MOD_TAP_MAX = 0x7FFF,
|
QK_MOD_TAP_MAX = 0x7FFF,
|
||||||
|
#if defined(UNICODEMAP_ENABLE) && defined(UNICODE_ENABLE)
|
||||||
|
#error "Cannot enable both UNICODEMAP && UNICODE"
|
||||||
|
#endif
|
||||||
#ifdef UNICODE_ENABLE
|
#ifdef UNICODE_ENABLE
|
||||||
QK_UNICODE = 0x8000,
|
QK_UNICODE = 0x8000,
|
||||||
QK_UNICODE_MAX = 0xFFFF,
|
QK_UNICODE_MAX = 0xFFFF,
|
||||||
|
|
Loading…
Reference in a new issue