diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-07-12 15:16:28 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-07-12 06:16:28 -0700 |
commit | 38fdf7a2d2f3f0bb9c21332b81a289de94b9870a (patch) | |
tree | 59f44402c62f47e76988f514c3c2b16c85d48deb /keyboards | |
parent | 663ca6ba9db59e05f1ba057ad4c0e3ff3cb0cff1 (diff) | |
download | qmk_firmware-38fdf7a2d2f3f0bb9c21332b81a289de94b9870a.tar.gz qmk_firmware-38fdf7a2d2f3f0bb9c21332b81a289de94b9870a.zip |
[Keymap] Add missing tap dance action and fix RGB hues in personal keymaps (#6312)
* Add missing TD_RSF_RCT tap dance
* Use standard QMK HSV and RGB structs, fix Godspeed colors
* Move PROGMEM after the type in RGB intervals
* Add MODERN_DOLCH_RED color, use it on KBD6X
* Use 255 instead of RGBLIGHT_LIMIT_VAL in color definitions
* Remove IS_COMMAND override on Whitefox
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c | 5 | ||||
-rw-r--r-- | keyboards/melody96/keymaps/konstantin/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/whitefox/keymaps/konstantin/config.h | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c b/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c index d06ac1956..b348b0b7b 100644 --- a/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c +++ b/keyboards/kbdfans/kbd6x/keymaps/konstantin/keymap.c | |||
@@ -10,6 +10,7 @@ enum layers_keymap { | |||
10 | }; | 10 | }; |
11 | 11 | ||
12 | void eeconfig_init_keymap(void) { | 12 | void eeconfig_init_keymap(void) { |
13 | rgblight_sethsv(MODERN_DOLCH_RED.h, MODERN_DOLCH_RED.s, MODERN_DOLCH_RED.v); | ||
13 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL); | 14 | rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL); |
14 | } | 15 | } |
15 | 16 | ||
@@ -81,7 +82,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
81 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ | 82 | * ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┤ |
82 | * │ │Mv←│Mv↓│Mv→│TNx│ │ │ │ │ │ │ │ │ | 83 | * │ │Mv←│Mv↓│Mv→│TNx│ │ │ │ │ │ │ │ │ |
83 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ | 84 | * ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┤ |
84 | * │ │RTg│RV-│RV+│ │ │ │ │M4 │M5 │ │ │ │ | 85 | * │ │RTg│RV-│RV+│RMd│ │ │ │M4 │M5 │ │ │ │ |
85 | * └─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┘ | 86 | * └─────┬──┴┬──┴──┬┴───┴───┴───┴───┴───┴───┴──┬┴───┴┬───┬─┴───┘ |
86 | * │DPR│DstNA│ │ │ │ | 87 | * │DPR│DstNA│ │ │ │ |
87 | * └───┴─────┴───────────────────────────┴─────┴───┘ | 88 | * └───┴─────┴───────────────────────────┴─────┴───┘ |
@@ -90,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
90 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLEAR, | 91 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, CLEAR, |
91 | _______, TOP, MV_UP, BOTTOM, TAB_PRV, _______, _______, _______, _______, _______, _______, _______, _______, DEL_NXT, | 92 | _______, TOP, MV_UP, BOTTOM, TAB_PRV, _______, _______, _______, _______, _______, _______, _______, _______, DEL_NXT, |
92 | _______, MV_LEFT, MV_DOWN, MV_RGHT, TAB_NXT, _______, _______, _______, _______, _______, _______, _______, _______, | 93 | _______, MV_LEFT, MV_DOWN, MV_RGHT, TAB_NXT, _______, _______, _______, _______, _______, _______, _______, _______, |
93 | _______, RGB_TOG, RGB_VAD, RGB_VAI, _______, _______, _______, _______, KC_BTN4, KC_BTN5, _______, _______, _______, | 94 | _______, RGB_TOG, RGB_VAD, RGB_VAI, RGB_MOD, _______, _______, _______, KC_BTN4, KC_BTN5, _______, _______, _______, |
94 | XXXXXXX, DST_P_R, DST_N_A, _______, _______, _______, XXXXXXX | 95 | XXXXXXX, DST_P_R, DST_N_A, _______, _______, _______, XXXXXXX |
95 | ), | 96 | ), |
96 | }; | 97 | }; |
diff --git a/keyboards/melody96/keymaps/konstantin/keymap.c b/keyboards/melody96/keymaps/konstantin/keymap.c index deaffd53d..c2b043104 100644 --- a/keyboards/melody96/keymaps/konstantin/keymap.c +++ b/keyboards/melody96/keymaps/konstantin/keymap.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
2 | #include "konstantin.h" | 2 | #include "konstantin.h" |
3 | 3 | ||
4 | static const hsv_t *colors[] = { &GODSPEED_BLUE, &GODSPEED_YELLOW }; | 4 | static const HSV *colors[] = { &GODSPEED_BLUE, &GODSPEED_YELLOW }; |
5 | static const size_t cnum = sizeof colors / sizeof *colors; | 5 | static const size_t cnum = sizeof colors / sizeof *colors; |
6 | static size_t cidx = 0; | 6 | static size_t cidx = 0; |
7 | 7 | ||
diff --git a/keyboards/whitefox/keymaps/konstantin/config.h b/keyboards/whitefox/keymaps/konstantin/config.h index 1364fe8a2..3c2583e2d 100644 --- a/keyboards/whitefox/keymaps/konstantin/config.h +++ b/keyboards/whitefox/keymaps/konstantin/config.h | |||
@@ -1,6 +1,4 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | 2 | ||
3 | #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RCTL))) | ||
4 | |||
5 | #define LAYER_FN | 3 | #define LAYER_FN |
6 | #define LAYER_NUMPAD | 4 | #define LAYER_NUMPAD |