diff options
author | Drashna Jaelre <drashna@live.com> | 2020-12-25 15:00:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 15:00:29 -0800 |
commit | 53eb7f0774881e8a9f6186a51e15135edc6f8575 (patch) | |
tree | 81189340ff09a725cbf05c4e7fc28665f80fa846 | |
parent | 5544bf8524c77ad09d32cf2b0f6dc40f7b05ee01 (diff) | |
download | qmk_firmware-53eb7f0774881e8a9f6186a51e15135edc6f8575.tar.gz qmk_firmware-53eb7f0774881e8a9f6186a51e15135edc6f8575.zip |
[Keyboard] Fix default keymaps for tunks/ergo33 (#11280)
* [Keyboard] Fix default keymap for tunks/ergo33
* Add prpro keymap too
-rw-r--r-- | keyboards/tunks/ergo33/keymaps/default/keymap.c | 29 | ||||
-rw-r--r-- | keyboards/tunks/ergo33/keymaps/prpro/keymap.c | 29 |
2 files changed, 28 insertions, 30 deletions
diff --git a/keyboards/tunks/ergo33/keymaps/default/keymap.c b/keyboards/tunks/ergo33/keymaps/default/keymap.c index e26e556cb..664f7b415 100644 --- a/keyboards/tunks/ergo33/keymaps/default/keymap.c +++ b/keyboards/tunks/ergo33/keymaps/default/keymap.c | |||
@@ -1,17 +1,17 @@ | |||
1 | /* Copyright 2020 Mika Kuitunen | 1 | /* Copyright 2020 Mika Kuitunen |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 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 | 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 | 5 | * the Free Software Foundation, either version 2 of the License, or |
6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
7 | * | 7 | * |
8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
12 | * | 12 | * |
13 | * You should have received a copy of the GNU General Public License | 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/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
@@ -60,7 +60,6 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
60 | 60 | ||
61 | #ifdef RGBLIGHT_LAYERS | 61 | #ifdef RGBLIGHT_LAYERS |
62 | #define HUE_PRIMARY 10 | 62 | #define HUE_PRIMARY 10 |
63 | #define HSV_OFF 0, 0, 0 | ||
64 | #define HSV_CAPS HUE_PRIMARY, 255, 64 | 63 | #define HSV_CAPS HUE_PRIMARY, 255, 64 |
65 | #define HSV_LAYER_BASE HUE_PRIMARY, 255, 64 | 64 | #define HSV_LAYER_BASE HUE_PRIMARY, 255, 64 |
66 | #define HSV_LAYER_RGB 213, 255, 64 | 65 | #define HSV_LAYER_RGB 213, 255, 64 |
diff --git a/keyboards/tunks/ergo33/keymaps/prpro/keymap.c b/keyboards/tunks/ergo33/keymaps/prpro/keymap.c index 500e5dba1..2ccba8b1e 100644 --- a/keyboards/tunks/ergo33/keymaps/prpro/keymap.c +++ b/keyboards/tunks/ergo33/keymaps/prpro/keymap.c | |||
@@ -1,17 +1,17 @@ | |||
1 | /* Copyright 2020 Mika Kuitunen | 1 | /* Copyright 2020 Mika Kuitunen |
2 | * | 2 | * |
3 | * This program is free software: you can redistribute it and/or modify | 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 | 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 | 5 | * the Free Software Foundation, either version 2 of the License, or |
6 | * (at your option) any later version. | 6 | * (at your option) any later version. |
7 | * | 7 | * |
8 | * This program is distributed in the hope that it will be useful, | 8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. | 11 | * GNU General Public License for more details. |
12 | * | 12 | * |
13 | * You should have received a copy of the GNU General Public License | 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/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
@@ -105,7 +105,6 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
105 | #ifdef RGBLIGHT_LAYERS | 105 | #ifdef RGBLIGHT_LAYERS |
106 | #define HUE_PRIMARY 10 | 106 | #define HUE_PRIMARY 10 |
107 | #define HSV_PRIMARY HUE_PRIMARY, 255, 255 | 107 | #define HSV_PRIMARY HUE_PRIMARY, 255, 255 |
108 | #define HSV_OFF 0, 0, 0 | ||
109 | #define HSV_CAPS HUE_PRIMARY, 255, 64 | 108 | #define HSV_CAPS HUE_PRIMARY, 255, 64 |
110 | #define HSV_LAYER_BASE HUE_PRIMARY, 255, 64 | 109 | #define HSV_LAYER_BASE HUE_PRIMARY, 255, 64 |
111 | #define HSV_LAYER_PRPRO 213, 255, 64 | 110 | #define HSV_LAYER_PRPRO 213, 255, 64 |