summaryrefslogtreecommitdiffstats
path: root/keyboards/splitkb/aurora/sweep/rev1
diff options
context:
space:
mode:
authorleah-splitkb <103112489+leah-splitkb@users.noreply.github.com>2022-10-27 17:01:17 +0200
committerGitHub <noreply@github.com>2022-10-27 16:01:17 +0100
commit20ce76f48c4c8c0978b6b78075319b41bb503c76 (patch)
tree4a82c702516c489cd487e417690f8938f9125be9 /keyboards/splitkb/aurora/sweep/rev1
parentd8183c52492557fdc8f35cec67c70170bae55efa (diff)
[Keyboard] Minor Aurora Sweep fixes (#18879)
- Fixes compile error with `SWAP_HANDS_ENABLE = yes` - Fixes OLED, RGB Matrix, and encoder when using QMK Configurator
Diffstat (limited to 'keyboards/splitkb/aurora/sweep/rev1')
-rw-r--r--keyboards/splitkb/aurora/sweep/rev1/info.json5
-rw-r--r--keyboards/splitkb/aurora/sweep/rev1/rev1.c2
2 files changed, 6 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
*/
+#include QMK_KEYBOARD_H
+
#ifdef SWAP_HANDS_ENABLE
// clang-format off
__attribute__ ((weak)) const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {