Merge pull request #464 from keyboardio/hardware/atmegakeyboard/no-hardcoded-list

hardware/ATMegaKeyboard: Don't hardcode the list of keyboards
pull/469/head
Jesse Vincent 6 years ago committed by GitHub
commit aa4e338b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,4 +17,6 @@
*/ */
#pragma once #pragma once
#define KALEIDOSCOPE_WITH_ATMEGA_KEYBOARD 1
#include "kaleidoscope/hardware/olkb/Planck.h" #include "kaleidoscope/hardware/olkb/Planck.h"

@ -17,4 +17,6 @@
*/ */
#pragma once #pragma once
#define KALEIDOSCOPE_WITH_ATMEGA_KEYBOARD 1
#include "kaleidoscope/hardware/technomancy/Atreus.h" #include "kaleidoscope/hardware/technomancy/Atreus.h"

@ -15,9 +15,10 @@
* this program. If not, see <http://www.gnu.org/licenses/>. * this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#if ARDUINO_AVR_PLANCK || ARDUINO_AVR_ATREUS
#include "Kaleidoscope.h" #include "Kaleidoscope.h"
#if KALEIDOSCOPE_WITH_ATMEGA_KEYBOARD
#include "kaleidoscope/hardware/ATMegaKeyboard.h" #include "kaleidoscope/hardware/ATMegaKeyboard.h"
namespace kaleidoscope { namespace kaleidoscope {

@ -17,7 +17,7 @@
#pragma once #pragma once
#if ARDUINO_AVR_PLANCK || ARDUINO_AVR_ATREUS #if KALEIDOSCOPE_WITH_ATMEGA_KEYBOARD
#include <Arduino.h> #include <Arduino.h>
#include <KeyboardioHID.h> #include <KeyboardioHID.h>

Loading…
Cancel
Save