From 92bcbee22615114286916bbbc4df4256c2818f0d Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 3 Aug 2022 21:06:54 +0100 Subject: Fix up splittest/bluepill (#17897) --- keyboards/handwired/splittest/keymaps/bitbang/config.h | 2 -- keyboards/handwired/splittest/keymaps/bitbang/keymap.c | 3 +++ keyboards/handwired/splittest/keymaps/default/keymap.c | 5 ++++- keyboards/handwired/splittest/keymaps/rgb/keymap.c | 8 ++++++++ keyboards/handwired/splittest/keymaps/rgb/rules.mk | 1 + keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h | 2 -- keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h | 6 ++++++ keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c | 3 +++ keyboards/handwired/splittest/keymaps/serial_halfduplex/config.h | 2 -- keyboards/handwired/splittest/keymaps/serial_halfduplex/halconf.h | 6 ++++++ keyboards/handwired/splittest/keymaps/serial_halfduplex/keymap.c | 5 +++++ 11 files changed, 36 insertions(+), 7 deletions(-) create mode 100644 keyboards/handwired/splittest/keymaps/rgb/keymap.c create mode 100644 keyboards/handwired/splittest/keymaps/rgb/rules.mk (limited to 'keyboards/handwired/splittest/keymaps') diff --git a/keyboards/handwired/splittest/keymaps/bitbang/config.h b/keyboards/handwired/splittest/keymaps/bitbang/config.h index c21a363855..fddd3d88b2 100644 --- a/keyboards/handwired/splittest/keymaps/bitbang/config.h +++ b/keyboards/handwired/splittest/keymaps/bitbang/config.h @@ -3,8 +3,6 @@ #pragma once -#include "config_common.h" - #define SPLIT_BITBANG #define FORCED_SYNC_THROTTLE_MS 100 diff --git a/keyboards/handwired/splittest/keymaps/bitbang/keymap.c b/keyboards/handwired/splittest/keymaps/bitbang/keymap.c index 9875000319..8a83e19850 100644 --- a/keyboards/handwired/splittest/keymaps/bitbang/keymap.c +++ b/keyboards/handwired/splittest/keymaps/bitbang/keymap.c @@ -1,3 +1,6 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {[0] = LAYOUT(KC_L, KC_R)}; diff --git a/keyboards/handwired/splittest/keymaps/default/keymap.c b/keyboards/handwired/splittest/keymaps/default/keymap.c index 0057478c1c..fcef718983 100644 --- a/keyboards/handwired/splittest/keymaps/default/keymap.c +++ b/keyboards/handwired/splittest/keymaps/default/keymap.c @@ -1,5 +1,8 @@ +// Copyright 2022 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT(RGB_MOD, QK_BOOT) + [0] = LAYOUT(KC_L, KC_R) }; diff --git a/keyboards/handwired/splittest/keymaps/rgb/keymap.c b/keyboards/handwired/splittest/keymaps/rgb/keymap.c new file mode 100644 index 0000000000..1fa86057c9 --- /dev/null +++ b/keyboards/handwired/splittest/keymaps/rgb/keymap.c @@ -0,0 +1,8 @@ +// Copyright 2022 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT(RGB_MOD, QK_BOOT) +}; diff --git a/keyboards/handwired/splittest/keymaps/rgb/rules.mk b/keyboards/handwired/splittest/keymaps/rgb/rules.mk new file mode 100644 index 0000000000..1e3cebb145 --- /dev/null +++ b/keyboards/handwired/splittest/keymaps/rgb/rules.mk @@ -0,0 +1 @@ +RGBLIGHT_ENABLE = yes diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h b/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h index b83dc43a1f..1a2899751b 100644 --- a/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/config.h @@ -3,6 +3,4 @@ #pragma once -#include "config_common.h" - #define SPLIT_SERIAL_FULLDUPLEX diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h b/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h index 35ae5bf214..58840c28a7 100644 --- a/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/halconf.h @@ -1,2 +1,8 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + #define HAL_USE_SERIAL TRUE + #include_next diff --git a/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c b/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c index 84919f53a7..7535715da1 100644 --- a/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c +++ b/keyboards/handwired/splittest/keymaps/serial_fullduplex/keymap.c @@ -1,3 +1,6 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {[0] = LAYOUT(KC_L, KC_R)}; diff --git a/keyboards/handwired/splittest/keymaps/serial_halfduplex/config.h b/keyboards/handwired/splittest/keymaps/serial_halfduplex/config.h index 96dcf0dc42..3cb68f6e7d 100644 --- a/keyboards/handwired/splittest/keymaps/serial_halfduplex/config.h +++ b/keyboards/handwired/splittest/keymaps/serial_halfduplex/config.h @@ -3,6 +3,4 @@ #pragma once -#include "config_common.h" - #define SPLIT_SERIAL_HALFDUPLEX diff --git a/keyboards/handwired/splittest/keymaps/serial_halfduplex/halconf.h b/keyboards/handwired/splittest/keymaps/serial_halfduplex/halconf.h index 35ae5bf214..58840c28a7 100644 --- a/keyboards/handwired/splittest/keymaps/serial_halfduplex/halconf.h +++ b/keyboards/handwired/splittest/keymaps/serial_halfduplex/halconf.h @@ -1,2 +1,8 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + #define HAL_USE_SERIAL TRUE + #include_next diff --git a/keyboards/handwired/splittest/keymaps/serial_halfduplex/keymap.c b/keyboards/handwired/splittest/keymaps/serial_halfduplex/keymap.c index 84919f53a7..d65d04b623 100644 --- a/keyboards/handwired/splittest/keymaps/serial_halfduplex/keymap.c +++ b/keyboards/handwired/splittest/keymaps/serial_halfduplex/keymap.c @@ -1,3 +1,8 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {[0] = LAYOUT(KC_L, KC_R)}; -- cgit v1.2.3