diff --git a/KeyboardConfig.h b/KeyboardConfig.h index 30391564..da65789a 100644 --- a/KeyboardConfig.h +++ b/KeyboardConfig.h @@ -1,10 +1,8 @@ #pragma once -#define HARDWARE_IMPLEMENTATION Model01 -#define HARDWARE_IMPLEMENTATION_HEADER "implementation/Model01.h" -#include HARDWARE_IMPLEMENTATION_HEADER +#include "implementation/Model01Beta.h" // These global proxy functions are a cheap hack to avoid diff --git a/implementation/Model01.h b/implementation/Model01.h index b07c65df..71fdb5c2 100644 --- a/implementation/Model01.h +++ b/implementation/Model01.h @@ -1,5 +1,8 @@ #pragma once +#define HARDWARE_IMPLEMENTATION Model01 + + #include "../keymaps.h" #include "../generated/keymaps.h" #include "../key_events.h" diff --git a/implementation/Model01Beta.h b/implementation/Model01Beta.h index 120c2f1f..a3e56e33 100644 --- a/implementation/Model01Beta.h +++ b/implementation/Model01Beta.h @@ -7,6 +7,10 @@ #include "KeyboardioSX1509.h" #include "../key_events.h" + + +#define HARDWARE_IMPLEMENTATION Model01Beta + #define USE_HSV_CURVE 1 // SX1509 I2C address (10)