From e7a2fdc2715d19ccefa8cc8f95b57d2177b0a648 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Tue, 28 Jan 2020 17:13:04 -0800 Subject: Make Dynamic Keymaps optional for Oryx --- quantum/oryx.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'quantum/oryx.h') diff --git a/quantum/oryx.h b/quantum/oryx.h index 888975c603..6f53db6ea8 100644 --- a/quantum/oryx.h +++ b/quantum/oryx.h @@ -7,10 +7,6 @@ # error "WebUSB needs to be enabled, please enable it!" #endif -#ifndef DYNAMIC_KEYMAP_ENABLE -# error "Dynamic Keymaps are not enabled. It must be enabled" -#endif - // enum Oryx_Status_code { // PLACEHOLDER = WEBUSB_STATUS_SAFE_RANGE, // } @@ -54,6 +50,7 @@ enum Oryx_Event_Code { ORYX_EVT_KEYUP, }; +#ifdef DYNAMIC_KEYMAP_ENABLE enum dynamic_macros_keycodes { MACRO00 = 0x5F12, MACRO01, @@ -72,7 +69,7 @@ enum dynamic_macros_keycodes { MACRO14, MACRO15, }; - +#endif extern bool oryx_state_live_training_enabled; -- cgit v1.2.3