diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-02-15 12:39:58 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-02-15 12:39:58 -0500 |
commit | 6788cbd76291e1f3103a350598f7bf5d523a7310 (patch) | |
tree | 1fd536bf74a718cd4111ace079eb5a883a680e84 /quantum | |
parent | 69ea10f9a9407415d8cbb5575a08bd73d5ddd7f9 (diff) |
give error if both unicode/map are enabled
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/quantum_keycodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index f36c8044e9..63b626926d 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -45,6 +45,9 @@ enum quantum_keycodes { QK_LAYER_TAP_TOGGLE_MAX = 0x58FF, QK_MOD_TAP = 0x6000, QK_MOD_TAP_MAX = 0x7FFF, +#if defined(UNICODEMAP_ENABLE) && defined(UNICODE_ENABLE) + #error "Cannot enable both UNICODEMAP && UNICODE" +#endif #ifdef UNICODE_ENABLE QK_UNICODE = 0x8000, QK_UNICODE_MAX = 0xFFFF, |