summaryrefslogtreecommitdiff
path: root/keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c')
-rw-r--r--keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c b/keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c
index 1bfe4e9b2a..a326abcf83 100644
--- a/keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c
+++ b/keyboards/1upkeyboards/super16/keymaps/ahk_companion/keymap.c
@@ -41,7 +41,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[4] = LAYOUT_ortho_4x4(
KC_MPRV, KC_MPLY, KC_MNXT, KC_VOLU,
KC_NO, KC_NO, KC_NO, KC_MUTE,
- KC_NO, QK_BOOT, EEP_RST, KC_VOLD,
+ KC_NO, QK_BOOT, EE_CLR, KC_VOLD,
TG(5), KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
@@ -49,7 +49,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[5] = LAYOUT_ortho_4x4(
RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI,
RGB_RMOD, RGB_HUD, RGB_SAD, RGB_VAD,
- RGB_TOG, EEP_RST, QK_BOOT, KC_LSHIFT,
+ RGB_TOG, EE_CLR, QK_BOOT, KC_LSFT,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS //Transparent to let you go between layers
),
};
@@ -89,7 +89,7 @@ void post_process_record_user(uint16_t keycode, keyrecord_t *record) {
// Allow for a preview of changes when modifying RGB
# if defined(RGBLIGHT_ENABLE) && defined(RGBLIGHT_LAYERS)
switch (keycode) {
- case RGB_TOG ... VLK_TOG:
+ case RGB_TOG ... QK_VELOCIKEY_TOGGLE:
for (uint8_t i = 0; i < RGBLIGHT_MAX_LAYERS; i++) {
rgblight_set_layer_state(i, false);
}
@@ -131,6 +131,6 @@ void matrix_scan_user(void) {
//EEPROM Reset Function
void eeconfig_init_user(void) {
rgblight_enable(); // Enable RGB by default
- rgblight_sethsv_orange(); // Set it to orange by default
+ rgblight_sethsv(HSV_ORANGE); // Set it to orange by default
}