Added a few macros
parent
741d87e0a8
commit
e6318b045d
|
@ -9,9 +9,9 @@
|
|||
|
||||
#ifdef BETA_LAYER_KEYS
|
||||
#define BETA_LAYER_CONTEXT_DATA LAYOUT_voyager(\
|
||||
TO(LAYER_MAIN), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
TO(LAYER_MAIN), RGB_HUD, RGB_HUI, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, RGB_SAD, RGB_SAI, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, RGB_VAD, RGB_VAI, KC_NO, KC_NO, KC_NO, \
|
||||
RGB_MOD, RGB_TOG, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, KC_NO, \
|
||||
\
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
|
||||
#ifdef BETA_LAYER_KEYS
|
||||
#define BETA_LAYER_CONTEXT_DATA LAYOUT_voyager(\
|
||||
TO(LAYER_MAIN), LGUI(KC_1), LGUI(KC_2), LGUI(KC_3), LGUI(KC_4), LGUI(KC_5),\
|
||||
KC_LGUI, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,\
|
||||
KC_MEDIA_PLAY_PAUSE, KC_MEDIA_NEXT_TRACK, KC_NO, KC_NO, OSL(LAYER_FKEYS), KC_NO,\
|
||||
KC_NO, KC_MEDIA_PREV_TRACK, KC_NO, LGUI(LSFT(KC_C)), KC_NO, KC_NO,\
|
||||
TO(LAYER_MAIN), LGUI(KC_1), LGUI(KC_2), LGUI(KC_3), LGUI(KC_4), LGUI(KC_5),\
|
||||
KC_LGUI, KC_NO, TD(TD_SCREENSHOT), KC_NO, KC_NO, KC_NO,\
|
||||
KC_MEDIA_PLAY_PAUSE, KC_MEDIA_NEXT_TRACK, KC_NO, KC_NO, OSL(LAYER_FKEYS), KC_NO,\
|
||||
KC_NO, KC_MEDIA_PREV_TRACK, KC_NO, LGUI(LSFT(KC_C)), KC_NO, KC_NO,\
|
||||
LGUI(KC_ENTER), LGUI(KC_BSLS), \
|
||||
\
|
||||
M_SHUTDOWN, KC_NO, KC_NO, KC_NO, KC_NO, LCTL(LGUI(LSFT(KC_R))), \
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
M_SHUTDOWN, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, TD(TD_WMLAYOUT), \
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
LCTL(LGUI(LSFT(KC_R))), KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, \
|
||||
KC_NO, KC_NO \
|
||||
)
|
||||
|
||||
|
@ -29,14 +29,14 @@
|
|||
#ifdef BETA_LAYER_LEDS
|
||||
#define BETA_LAYER_CONTEXT_DATA {\
|
||||
LC_RED, LC_PNK, LC_PNK, LC_PNK, LC_PNK, LC_PNK, \
|
||||
LC_CYN, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||
LC_CYN, LC_OFF, LC_CYN, LC_OFF, LC_OFF, LC_CYN, \
|
||||
LC_GRN, LC_GRN, LC_OFF, LC_OFF, LC_BLU, LC_OFF, \
|
||||
LC_OFF, LC_GRN, LC_OFF, LC_ORN, LC_OFF, LC_OFF, \
|
||||
LC_PNK, LC_PNK, \
|
||||
LC_RED, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_ORN, \
|
||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||
LC_RED, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||
LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||
LC_ORN, LC_OFF, LC_OFF, LC_OFF, LC_OFF, LC_OFF, \
|
||||
LC_OFF, LC_OFF \
|
||||
}
|
||||
|
||||
|
|
|
@ -8,9 +8,7 @@
|
|||
#endif
|
||||
|
||||
// TODO:
|
||||
// screenshot keys
|
||||
// russian
|
||||
// keyboard led controls
|
||||
// spellcheck
|
||||
// shared features
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ const uint8_t PROGMEM ledmaps[][RGB_MATRIX_LED_COUNT][3] = {
|
|||
#undef BETA_LAYER
|
||||
#undef BETA_LAYER_LEDS
|
||||
|
||||
|
||||
/*
|
||||
// Create os layout array
|
||||
#define BETA_LAYER_LAYOUTS
|
||||
|
@ -117,9 +118,16 @@ bool rgb_matrix_indicators_user(void) {
|
|||
}
|
||||
|
||||
if (biton32(layer_state) == LAYER_KEYBOARD) {
|
||||
rgb_matrix_set_color(0, 0xFF, 0x00, 0x00);
|
||||
rgb_matrix_set_color(18, 0x00, 0xFF, 0x00);
|
||||
rgb_matrix_set_color(19, 0x00, 0xFF, 0x00);
|
||||
rgb_matrix_set_color(0, 0xFF, 0x00, 0x00);
|
||||
rgb_matrix_set_color(18, 0x95, 0xFF, 0x00);
|
||||
rgb_matrix_set_color(19, 0x95, 0xFF, 0x00);
|
||||
|
||||
rgb_matrix_set_color(14, 0x00, 0xFF, 0x8C);
|
||||
rgb_matrix_set_color(13, 0x00, 0xFF, 0x8C);
|
||||
rgb_matrix_set_color(8, 0x00, 0xFF, 0x8C);
|
||||
rgb_matrix_set_color(7, 0x00, 0xFF, 0x8C);
|
||||
rgb_matrix_set_color(2, 0x00, 0xFF, 0x8C);
|
||||
rgb_matrix_set_color(1, 0x00, 0xFF, 0x8C);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# rules.mk overrides
|
||||
|
||||
TAP_DANCE_ENABLE = no
|
||||
TAP_DANCE_ENABLE = yes
|
Loading…
Reference in New Issue