From 20ce76f48c4c8c0978b6b78075319b41bb503c76 Mon Sep 17 00:00:00 2001 From: leah-splitkb <103112489+leah-splitkb@users.noreply.github.com> Date: Thu, 27 Oct 2022 17:01:17 +0200 Subject: [Keyboard] Minor Aurora Sweep fixes (#18879) - Fixes compile error with `SWAP_HANDS_ENABLE = yes` - Fixes OLED, RGB Matrix, and encoder when using QMK Configurator --- keyboards/splitkb/aurora/sweep/rev1/info.json | 5 ++++- keyboards/splitkb/aurora/sweep/rev1/rev1.c | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'keyboards/splitkb/aurora/sweep/rev1') diff --git a/keyboards/splitkb/aurora/sweep/rev1/info.json b/keyboards/splitkb/aurora/sweep/rev1/info.json index 07b7fa8e60..104879b28e 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/info.json +++ b/keyboards/splitkb/aurora/sweep/rev1/info.json @@ -6,7 +6,9 @@ "features": { "mousekey": true, "bootmagic": true, - "extrakey": true + "extrakey": true, + "oled": true, + "rgb_matrix": true }, "layout_aliases": { "LAYOUT": "LAYOUT_split_3x5_2" @@ -60,6 +62,7 @@ "cols": ["B6", "D4", "C6", "D7", "E6"] }, "encoder": { + "enabled": true, "rotary": [ { "pin_a": "B5", diff --git a/keyboards/splitkb/aurora/sweep/rev1/rev1.c b/keyboards/splitkb/aurora/sweep/rev1/rev1.c index ce19aea5ce..43c2d12a67 100644 --- a/keyboards/splitkb/aurora/sweep/rev1/rev1.c +++ b/keyboards/splitkb/aurora/sweep/rev1/rev1.c @@ -14,6 +14,8 @@ * along with this program. If not, see . */ +#include QMK_KEYBOARD_H + #ifdef SWAP_HANDS_ENABLE // clang-format off __attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { -- cgit v1.2.3