summaryrefslogtreecommitdiff
path: root/keyboards/splitkb
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-12-18 21:55:36 +0000
committerGitHub <noreply@github.com>2023-12-19 08:55:36 +1100
commitfc4e6c61a44756a1dc2ac6ef8f98a5159f903635 (patch)
tree3a8a2fc96abe60b4c3d476fe7647a1913404f371 /keyboards/splitkb
parenta1c8b1ebf724f79dd9bad12976e3b1bd0c9c196f (diff)
[Keymap Removal] Restore splitkb 'debug' keymaps (#22700)
Diffstat (limited to 'keyboards/splitkb')
-rw-r--r--keyboards/splitkb/aurora/corne/keymaps/debug/config.h21
-rw-r--r--keyboards/splitkb/aurora/corne/keymaps/debug/keymap.c73
-rw-r--r--keyboards/splitkb/aurora/corne/keymaps/debug/readme.md24
-rw-r--r--keyboards/splitkb/aurora/corne/keymaps/debug/rules.mk23
-rw-r--r--keyboards/splitkb/aurora/helix/keymaps/debug/config.h19
-rw-r--r--keyboards/splitkb/aurora/helix/keymaps/debug/keymap.c68
-rw-r--r--keyboards/splitkb/aurora/helix/keymaps/debug/readme.md24
-rw-r--r--keyboards/splitkb/aurora/helix/keymaps/debug/rules.mk8
-rw-r--r--keyboards/splitkb/aurora/lily58/keymaps/debug/config.h21
-rw-r--r--keyboards/splitkb/aurora/lily58/keymaps/debug/keymap.c75
-rw-r--r--keyboards/splitkb/aurora/lily58/keymaps/debug/readme.md24
-rw-r--r--keyboards/splitkb/aurora/lily58/keymaps/debug/rules.mk23
-rw-r--r--keyboards/splitkb/aurora/sofle_v2/keymaps/debug/config.h19
-rw-r--r--keyboards/splitkb/aurora/sofle_v2/keymaps/debug/keymap.c69
-rw-r--r--keyboards/splitkb/aurora/sofle_v2/keymaps/debug/readme.md24
-rw-r--r--keyboards/splitkb/aurora/sofle_v2/keymaps/debug/rules.mk8
-rw-r--r--keyboards/splitkb/aurora/sweep/keymaps/debug/config.h21
-rw-r--r--keyboards/splitkb/aurora/sweep/keymaps/debug/keymap.c77
-rw-r--r--keyboards/splitkb/aurora/sweep/keymaps/debug/readme.md25
-rw-r--r--keyboards/splitkb/aurora/sweep/keymaps/debug/rules.mk23
-rw-r--r--keyboards/splitkb/kyria/keymaps/debug/config.h21
-rw-r--r--keyboards/splitkb/kyria/keymaps/debug/keymap.c73
-rw-r--r--keyboards/splitkb/kyria/keymaps/debug/readme.md24
-rw-r--r--keyboards/splitkb/kyria/keymaps/debug/rules.mk8
24 files changed, 795 insertions, 0 deletions
diff --git a/keyboards/splitkb/aurora/corne/keymaps/debug/config.h b/keyboards/splitkb/aurora/corne/keymaps/debug/config.h
new file mode 100644
index 0000000000..9e639dbc35
--- /dev/null
+++ b/keyboards/splitkb/aurora/corne/keymaps/debug/config.h
@@ -0,0 +1,21 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#ifdef RGBLIGHT_ENABLE
20# define RGBLIGHT_EFFECT_BREATHING
21#endif
diff --git a/keyboards/splitkb/aurora/corne/keymaps/debug/keymap.c b/keyboards/splitkb/aurora/corne/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..dc145ee042
--- /dev/null
+++ b/keyboards/splitkb/aurora/corne/keymaps/debug/keymap.c
@@ -0,0 +1,73 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum layers {
20 _DEFAULT = 0,
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_DEFAULT] = LAYOUT_split_3x6_3(
25 KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
26 KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
27 KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
28 KC_S, KC_T, KC_U, S(KC_U), S(KC_T), S(KC_S)
29 )
30};
31
32#ifdef RGBLIGHT_ENABLE
33void keyboard_post_init_user(void) {
34 rgblight_enable_noeeprom(); // enables RGB, without saving settings
35 rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
36 rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
37}
38#endif
39
40#ifdef ENCODER_ENABLE
41bool encoder_update_user(uint8_t index, bool clockwise) {
42 // 0 is left-half encoder,
43 // 1 is right-half encoder
44 if (index == 0) {
45 tap_code(KC_0);
46 } else if (index == 1) {
47 tap_code(KC_1);
48 }
49
50 if (clockwise) {
51 tap_code16(KC_PLUS);
52 } else {
53 tap_code(KC_MINUS);
54 }
55
56 return false;
57}
58#endif
59
60#ifdef OLED_ENABLE
61bool oled_task_user(void) {
62 // A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
63 // This example string should fill that neatly
64 const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?");
65
66 if (is_keyboard_master()) {
67 oled_write_P(text, false);
68 } else {
69 oled_write_P(text, false);
70 }
71 return false;
72}
73#endif
diff --git a/keyboards/splitkb/aurora/corne/keymaps/debug/readme.md b/keyboards/splitkb/aurora/corne/keymaps/debug/readme.md
new file mode 100644
index 0000000000..5384fdaacf
--- /dev/null
+++ b/keyboards/splitkb/aurora/corne/keymaps/debug/readme.md
@@ -0,0 +1,24 @@
1# Aurora Corne's Debug Keymap
2
3To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
4
5## Keys
6
7![Keys](https://i.imgur.com/y5zWjsZh.png)
8
9The left side uses lowercase letters, the right side uses uppercase ones.
10
11## Encoders
12
13Encoders output a number of 0 or 1, depending on the installed position.
14These correspond to the index used for custom encoder code.
15
16The number is followed by either a `+` or a `-`, depending on the direction turned.
17
18## LEDs
19
20Both underglow and per-key RGB should be fading between red and off.
21
22## OLEDs
23
24Both the primary and secondary side should be filled with characters.
diff --git a/keyboards/splitkb/aurora/corne/keymaps/debug/rules.mk b/keyboards/splitkb/aurora/corne/keymaps/debug/rules.mk
new file mode 100644
index 0000000000..c8a3944323
--- /dev/null
+++ b/keyboards/splitkb/aurora/corne/keymaps/debug/rules.mk
@@ -0,0 +1,23 @@
1# Copyright 2022 splitkb.com <support@splitkb.com>
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16# NOTE: These are already enabled by default at the revision level
17#ENCODER_ENABLE = yes
18#OLED_ENABLE = yes
19
20# RGB Matrix is enabled at the revision level,
21# while we use the regular RGB underglow for testing
22RGB_MATRIX_ENABLE = no
23RGBLIGHT_ENABLE = yes
diff --git a/keyboards/splitkb/aurora/helix/keymaps/debug/config.h b/keyboards/splitkb/aurora/helix/keymaps/debug/config.h
new file mode 100644
index 0000000000..a15def3fb9
--- /dev/null
+++ b/keyboards/splitkb/aurora/helix/keymaps/debug/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2023 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#define RGBLIGHT_EFFECT_BREATHING \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/helix/keymaps/debug/keymap.c b/keyboards/splitkb/aurora/helix/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..2c99ef9429
--- /dev/null
+++ b/keyboards/splitkb/aurora/helix/keymaps/debug/keymap.c
@@ -0,0 +1,68 @@
1/* Copyright 2023 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum layers {
20 _DEFAULT = 0,
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_DEFAULT] = LAYOUT(
25 KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
26 KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
27 KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
28 KC_S, KC_T, KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U), S(KC_T), S(KC_S),
29 KC_Z, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, S(KC_6), S(KC_5), S(KC_4), S(KC_3), S(KC_2), S(KC_1), S(KC_Z)
30 )
31};
32
33#ifdef RGBLIGHT_ENABLE
34void keyboard_post_init_user(void) {
35 rgblight_enable_noeeprom(); // enables RGB, without saving settings
36 rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
37 rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
38}
39#endif
40
41#ifdef ENCODER_ENABLE
42bool encoder_update_user(uint8_t index, bool clockwise) {
43 // 0 is left-half encoder
44 // 1 is right-half encoder
45 if (index == 0) {
46 tap_code(KC_0);
47 } else if (index == 1) {
48 tap_code(KC_1);
49 }
50
51 if (clockwise) {
52 tap_code16(KC_PLUS);
53 } else {
54 tap_code(KC_MINUS);
55 }
56
57 return false;
58}
59#endif
60
61#ifdef OLED_ENABLE
62bool oled_task_user(void) {
63 // A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
64 // This example string should fill that neatly
65 oled_write_P(PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?"), false);
66 return false;
67}
68#endif \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/helix/keymaps/debug/readme.md b/keyboards/splitkb/aurora/helix/keymaps/debug/readme.md
new file mode 100644
index 0000000000..827235e447
--- /dev/null
+++ b/keyboards/splitkb/aurora/helix/keymaps/debug/readme.md
@@ -0,0 +1,24 @@
1# Aurora Helix's Debug Keymap
2
3To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
4
5## Keys
6
7![Keys](https://raw.githubusercontent.com/splitkb/qmk_firmware/assets/aurora/keymaps/debug/keys.png)
8
9The left side uses lowercase letters, the right side uses uppercase ones.
10
11## Encoders
12
13Encoders output a number of 0 or 1, depending on the installed position.
14These correspond to the index used for custom encoder code: the left half uses index 0, the right half uses index 1.
15
16The number is followed by either a `+` or a `-`, depending on the direction turned.
17
18## LEDs
19
20Both underglow and per-key RGB should be fading between red and off.
21
22## OLEDs
23
24Both the primary and secondary side should be filled with characters. \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/helix/keymaps/debug/rules.mk b/keyboards/splitkb/aurora/helix/keymaps/debug/rules.mk
new file mode 100644
index 0000000000..9c9df9b126
--- /dev/null
+++ b/keyboards/splitkb/aurora/helix/keymaps/debug/rules.mk
@@ -0,0 +1,8 @@
1# NOTE: These are already enabled by default at the revision level
2#ENCODER_ENABLE = yes
3#OLED_ENABLE = yes
4
5# RGB Matrix is enabled at the revision level,
6# while we use the regular RGB underglow for testing
7RGB_MATRIX_ENABLE = no
8RGBLIGHT_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/lily58/keymaps/debug/config.h b/keyboards/splitkb/aurora/lily58/keymaps/debug/config.h
new file mode 100644
index 0000000000..9e639dbc35
--- /dev/null
+++ b/keyboards/splitkb/aurora/lily58/keymaps/debug/config.h
@@ -0,0 +1,21 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#ifdef RGBLIGHT_ENABLE
20# define RGBLIGHT_EFFECT_BREATHING
21#endif
diff --git a/keyboards/splitkb/aurora/lily58/keymaps/debug/keymap.c b/keyboards/splitkb/aurora/lily58/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..0bd2fa9370
--- /dev/null
+++ b/keyboards/splitkb/aurora/lily58/keymaps/debug/keymap.c
@@ -0,0 +1,75 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum layers {
20 _DEFAULT = 0,
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_DEFAULT] = LAYOUT(
25 KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
26 KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
27 KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
28 KC_S, KC_T, KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U), S(KC_T), S(KC_S),
29 KC_Z, KC_1, KC_2, KC_3, S(KC_3), S(KC_2), S(KC_1), S(KC_Z)
30
31 )
32};
33
34#ifdef RGBLIGHT_ENABLE
35void keyboard_post_init_user(void) {
36 rgblight_enable_noeeprom(); // enables RGB, without saving settings
37 rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
38 rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
39}
40#endif
41
42#ifdef ENCODER_ENABLE
43bool encoder_update_user(uint8_t index, bool clockwise) {
44 // 0 is left-half encoder
45 // 1 is right-half encoder
46 if (index == 0) {
47 tap_code(KC_0);
48 } else if (index == 1) {
49 tap_code(KC_1);
50 }
51
52 if (clockwise) {
53 tap_code16(KC_PLUS);
54 } else {
55 tap_code(KC_MINUS);
56 }
57
58 return false;
59}
60#endif
61
62#ifdef OLED_ENABLE
63bool oled_task_user(void) {
64 // A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
65 // This example string should fill that neatly
66 const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?");
67
68 if (is_keyboard_master()) {
69 oled_write_P(text, false);
70 } else {
71 oled_write_P(text, false);
72 }
73 return false;
74}
75#endif
diff --git a/keyboards/splitkb/aurora/lily58/keymaps/debug/readme.md b/keyboards/splitkb/aurora/lily58/keymaps/debug/readme.md
new file mode 100644
index 0000000000..8c51d64842
--- /dev/null
+++ b/keyboards/splitkb/aurora/lily58/keymaps/debug/readme.md
@@ -0,0 +1,24 @@
1# Aurora Lily58's Debug Keymap
2
3To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
4
5## Keys
6
7![Keys](https://i.imgur.com/CF0PYu5h.png)
8
9The left side uses lowercase letters, the right side uses uppercase ones.
10
11## Encoders
12
13Encoders output a number of 0 or 1, depending on the installed position.
14These correspond to the index used for custom encoder code: the left half uses index 0, the right half uses index 1.
15
16The number is followed by either a `+` or a `-`, depending on the direction turned.
17
18## LEDs
19
20Both underglow and per-key RGB should be fading between red and off.
21
22## OLEDs
23
24Both the primary and secondary side should be filled with characters.
diff --git a/keyboards/splitkb/aurora/lily58/keymaps/debug/rules.mk b/keyboards/splitkb/aurora/lily58/keymaps/debug/rules.mk
new file mode 100644
index 0000000000..c8a3944323
--- /dev/null
+++ b/keyboards/splitkb/aurora/lily58/keymaps/debug/rules.mk
@@ -0,0 +1,23 @@
1# Copyright 2022 splitkb.com <support@splitkb.com>
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16# NOTE: These are already enabled by default at the revision level
17#ENCODER_ENABLE = yes
18#OLED_ENABLE = yes
19
20# RGB Matrix is enabled at the revision level,
21# while we use the regular RGB underglow for testing
22RGB_MATRIX_ENABLE = no
23RGBLIGHT_ENABLE = yes
diff --git a/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/config.h b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/config.h
new file mode 100644
index 0000000000..a15def3fb9
--- /dev/null
+++ b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2023 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#define RGBLIGHT_EFFECT_BREATHING \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/keymap.c b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..b9383db325
--- /dev/null
+++ b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/keymap.c
@@ -0,0 +1,69 @@
1/* Copyright 2023 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum layers {
20 _DEFAULT = 0,
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_DEFAULT] = LAYOUT(
25 KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
26 KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
27 KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
28 KC_S, KC_T, KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U), S(KC_T), S(KC_S),
29 KC_Z, KC_1, KC_2, KC_3, KC_4, S(KC_4), S(KC_3), S(KC_2), S(KC_1), S(KC_Z)
30
31 )
32};
33
34#ifdef RGBLIGHT_ENABLE
35void keyboard_post_init_user(void) {
36 rgblight_enable_noeeprom(); // enables RGB, without saving settings
37 rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
38 rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
39}
40#endif
41
42#ifdef ENCODER_ENABLE
43bool encoder_update_user(uint8_t index, bool clockwise) {
44 // 0 is left-half encoder
45 // 1 is right-half encoder
46 if (index == 0) {
47 tap_code(KC_0);
48 } else if (index == 1) {
49 tap_code(KC_1);
50 }
51
52 if (clockwise) {
53 tap_code16(KC_PLUS);
54 } else {
55 tap_code(KC_MINUS);
56 }
57
58 return false;
59}
60#endif
61
62#ifdef OLED_ENABLE
63bool oled_task_user(void) {
64 // A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
65 // This example string should fill that neatly
66 oled_write_P(PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?"), false);
67 return false;
68}
69#endif \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/readme.md b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/readme.md
new file mode 100644
index 0000000000..c429b0246d
--- /dev/null
+++ b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/readme.md
@@ -0,0 +1,24 @@
1# Aurora Sofle's Debug Keymap
2
3To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
4
5## Keys
6
7![Keys](https://i.imgur.com/1qRAV6sh.png)
8
9The left side uses lowercase letters, the right side uses uppercase ones.
10
11## Encoders
12
13Encoders output a number of 0 or 1, depending on the installed position.
14These correspond to the index used for custom encoder code: the left half uses index 0, the right half uses index 1.
15
16The number is followed by either a `+` or a `-`, depending on the direction turned.
17
18## LEDs
19
20Both underglow and per-key RGB should be fading between red and off.
21
22## OLEDs
23
24Both the primary and secondary side should be filled with characters. \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/rules.mk b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/rules.mk
new file mode 100644
index 0000000000..9c9df9b126
--- /dev/null
+++ b/keyboards/splitkb/aurora/sofle_v2/keymaps/debug/rules.mk
@@ -0,0 +1,8 @@
1# NOTE: These are already enabled by default at the revision level
2#ENCODER_ENABLE = yes
3#OLED_ENABLE = yes
4
5# RGB Matrix is enabled at the revision level,
6# while we use the regular RGB underglow for testing
7RGB_MATRIX_ENABLE = no
8RGBLIGHT_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/splitkb/aurora/sweep/keymaps/debug/config.h b/keyboards/splitkb/aurora/sweep/keymaps/debug/config.h
new file mode 100644
index 0000000000..9e639dbc35
--- /dev/null
+++ b/keyboards/splitkb/aurora/sweep/keymaps/debug/config.h
@@ -0,0 +1,21 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#ifdef RGBLIGHT_ENABLE
20# define RGBLIGHT_EFFECT_BREATHING
21#endif
diff --git a/keyboards/splitkb/aurora/sweep/keymaps/debug/keymap.c b/keyboards/splitkb/aurora/sweep/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..5bdc5f2b42
--- /dev/null
+++ b/keyboards/splitkb/aurora/sweep/keymaps/debug/keymap.c
@@ -0,0 +1,77 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum layers {
20 _DEFAULT = 0,
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_DEFAULT] = LAYOUT(
25 KC_A, KC_B, KC_C, KC_D, KC_E, S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
26 KC_F, KC_G, KC_H, KC_I, KC_J, S(KC_J), S(KC_I), S(KC_H), S(KC_G), S(KC_F),
27 KC_K, KC_L, KC_M, KC_N, KC_O, S(KC_O), S(KC_N), S(KC_M), S(KC_L), S(KC_K),
28 KC_P, KC_Q, S(KC_Q), S(KC_P)
29 )
30};
31
32#ifdef RGBLIGHT_ENABLE
33void keyboard_post_init_user(void) {
34 rgblight_enable_noeeprom(); // enables RGB, without saving settings
35 rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
36 rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
37}
38#endif
39
40#ifdef ENCODER_ENABLE
41bool encoder_update_user(uint8_t index, bool clockwise) {
42 // 0 and 1 are left-half encoders
43 // 2 and 3 are right-half encoders
44 if (index == 0) {
45 tap_code(KC_0);
46 } else if (index == 1) {
47 tap_code(KC_1);
48 } else if (index == 2) {
49 tap_code(KC_2);
50 } else if (index == 3) {
51 tap_code(KC_3);
52 }
53
54 if (clockwise) {
55 tap_code16(KC_PLUS);
56 } else {
57 tap_code(KC_MINUS);
58 }
59
60 return false;
61}
62#endif
63
64#ifdef OLED_ENABLE
65bool oled_task_user(void) {
66 // A 128x32 OLED rotated 90 degrees is 5 characters wide and 16 characters tall
67 // This example string should fill that neatly
68 const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?");
69
70 if (is_keyboard_master()) {
71 oled_write_P(text, false);
72 } else {
73 oled_write_P(text, false);
74 }
75 return false;
76}
77#endif
diff --git a/keyboards/splitkb/aurora/sweep/keymaps/debug/readme.md b/keyboards/splitkb/aurora/sweep/keymaps/debug/readme.md
new file mode 100644
index 0000000000..6d4d5aaff6
--- /dev/null
+++ b/keyboards/splitkb/aurora/sweep/keymaps/debug/readme.md
@@ -0,0 +1,25 @@
1# Aurora Sweep's Debug Keymap
2
3Due to the complex layer setup, the default keymap for the Aurora Sweep is relatively hard to debug.
4This debug keymap should make that a lot easier.
5
6## Keys
7
8![Keys](https://raw.githubusercontent.com/splitkb/qmk_firmware/assets/aurora/sweep/keymaps/debug/keys.png)
9
10The left side uses lowercase letters, the right side uses uppercase ones.
11
12## Encoders
13
14Encoders output a number of 0 to 3, depending on the installed position.
15These correspond to the index used for custom encoder code.
16
17The number is followed by either a `+` or a `-`, depending on the direction turned.
18
19## LEDs
20
21Both underglow and per-key RGB should be fading between red and off.
22
23## OLEDs
24
25Both the primary and secondary side should be filled with characters.
diff --git a/keyboards/splitkb/aurora/sweep/keymaps/debug/rules.mk b/keyboards/splitkb/aurora/sweep/keymaps/debug/rules.mk
new file mode 100644
index 0000000000..c8a3944323
--- /dev/null
+++ b/keyboards/splitkb/aurora/sweep/keymaps/debug/rules.mk
@@ -0,0 +1,23 @@
1# Copyright 2022 splitkb.com <support@splitkb.com>
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16# NOTE: These are already enabled by default at the revision level
17#ENCODER_ENABLE = yes
18#OLED_ENABLE = yes
19
20# RGB Matrix is enabled at the revision level,
21# while we use the regular RGB underglow for testing
22RGB_MATRIX_ENABLE = no
23RGBLIGHT_ENABLE = yes
diff --git a/keyboards/splitkb/kyria/keymaps/debug/config.h b/keyboards/splitkb/kyria/keymaps/debug/config.h
new file mode 100644
index 0000000000..9e639dbc35
--- /dev/null
+++ b/keyboards/splitkb/kyria/keymaps/debug/config.h
@@ -0,0 +1,21 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#ifdef RGBLIGHT_ENABLE
20# define RGBLIGHT_EFFECT_BREATHING
21#endif
diff --git a/keyboards/splitkb/kyria/keymaps/debug/keymap.c b/keyboards/splitkb/kyria/keymaps/debug/keymap.c
new file mode 100644
index 0000000000..9ca059e3ee
--- /dev/null
+++ b/keyboards/splitkb/kyria/keymaps/debug/keymap.c
@@ -0,0 +1,73 @@
1/* Copyright 2022 splitkb.com <support@splitkb.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#include QMK_KEYBOARD_H
18
19enum layers {
20 _DEFAULT = 0,
21};
22
23const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
24 [_DEFAULT] = LAYOUT(
25 KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, S(KC_F), S(KC_E), S(KC_D), S(KC_C), S(KC_B), S(KC_A),
26 KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, S(KC_L), S(KC_K), S(KC_J), S(KC_I), S(KC_H), S(KC_G),
27 KC_M, KC_N, KC_O, KC_P, KC_Q, KC_R, KC_S, KC_T, S(KC_T), S(KC_S), S(KC_R), S(KC_Q), S(KC_P), S(KC_O), S(KC_N), S(KC_M),
28 KC_U, KC_V, KC_W, KC_X, KC_Y, S(KC_Y), S(KC_X), S(KC_W), S(KC_V), S(KC_U)
29 )
30};
31
32#ifdef RGBLIGHT_ENABLE
33void keyboard_post_init_user(void) {
34 rgblight_enable_noeeprom(); // enables RGB, without saving settings
35 rgblight_sethsv_noeeprom(HSV_RED); // sets the color to red without saving
36 rgblight_mode_noeeprom(RGBLIGHT_MODE_BREATHING + 3); // sets mode to Fast breathing without saving
37}
38#endif
39
40#ifdef ENCODER_ENABLE
41bool encoder_update_user(uint8_t index, bool clockwise) {
42 // 0 is left-half encoder,
43 // 1 is right-half encoder
44 if (index == 0) {
45 tap_code(KC_0);
46 } else if (index == 1) {
47 tap_code(KC_1);
48 }
49
50 if (clockwise) {
51 tap_code16(KC_PLUS);
52 } else {
53 tap_code(KC_MINUS);
54 }
55
56 return false;
57}
58#endif
59
60#ifdef OLED_ENABLE
61bool oled_task_user(void) {
62 // A 128x64 OLED rotated 180 degrees is 21 characters wide and 8 characters tall
63 // This example string should fill that neatly
64 const char *text = PSTR("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?/,.|abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789!@#$%^&*()[]{}-=_+?/,.|");
65
66 if (is_keyboard_master()) {
67 oled_write_P(text, false);
68 } else {
69 oled_write_P(text, false);
70 }
71 return false;
72}
73#endif
diff --git a/keyboards/splitkb/kyria/keymaps/debug/readme.md b/keyboards/splitkb/kyria/keymaps/debug/readme.md
new file mode 100644
index 0000000000..1373ad02d9
--- /dev/null
+++ b/keyboards/splitkb/kyria/keymaps/debug/readme.md
@@ -0,0 +1,24 @@
1# Kyria's Debug Keymap
2
3To make debugging your build as easy as possible, we have provided a special debugging keymap. It is not intended to actually type on, it is just here to make sure that your hardware is working correctly.
4
5## Keys
6
7![Keys](https://i.imgur.com/pmPBYlkh.png)
8
9The left side uses lowercase letters, the right side uses uppercase ones.
10
11## Encoders
12
13Encoders output a number of 0 or 1, depending on the installed position.
14These correspond to the index used for custom encoder code.
15
16The number is followed by either a `+` or a `-`, depending on the direction turned.
17
18## LEDs
19
20Both underglow and per-key RGB should be fading between red and off.
21
22## OLEDs
23
24Both the primary and secondary side should be filled with characters.
diff --git a/keyboards/splitkb/kyria/keymaps/debug/rules.mk b/keyboards/splitkb/kyria/keymaps/debug/rules.mk
new file mode 100644
index 0000000000..e1b414f5c1
--- /dev/null
+++ b/keyboards/splitkb/kyria/keymaps/debug/rules.mk
@@ -0,0 +1,8 @@
1# NOTE: These are already enabled by default at the revision level
2#ENCODER_ENABLE = yes
3#OLED_ENABLE = yes
4
5# RGB Matrix is enabled at the revision level,
6# while we use the regular RGB underglow for testing
7RGB_MATRIX_ENABLE = no
8RGBLIGHT_ENABLE = yes