[Keymap] Fixing keymap DYNAMIC_MACRO_RANGE keycode enumeration (#6248)

This commit is contained in:
Gam3cat 2019-07-05 04:56:57 -07:00 committed by Drashna Jaelre
parent cbf76a1290
commit 509a34fbab
7 changed files with 15 additions and 18 deletions

View file

@ -12,10 +12,10 @@ enum layers {
}; };
enum custom_keycodes { enum custom_keycodes {
DYNAMIC_MACRO_RANGE = SAFE_RANGE, QMK_REV = SAFE_RANGE,
QMK_REV,
KC_WEB, KC_WEB,
KC_SP4 KC_SP4,
DYNAMIC_MACRO_RANGE
}; };
extern backlight_config_t backlight_config; extern backlight_config_t backlight_config;

View file

@ -22,4 +22,3 @@ FAUXCLICKY_ENABLE = no # Uses buzzer to emulate clicky switches. By defaul
API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390) API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390)
KEY_LOCK_ENABLE = no # This enables key lock(+260) KEY_LOCK_ENABLE = no # This enables key lock(+260)
SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common

View file

@ -12,10 +12,10 @@ enum layers {
}; };
enum custom_keycodes { enum custom_keycodes {
DYNAMIC_MACRO_RANGE = SAFE_RANGE, QMK_REV = SAFE_RANGE,
QMK_REV,
KC_WEB, KC_WEB,
KC_SP4 KC_SP4,
DYNAMIC_MACRO_RANGE
}; };
extern backlight_config_t backlight_config; extern backlight_config_t backlight_config;
@ -259,11 +259,11 @@ uint32_t layer_state_set_user(uint32_t state) {
break; break;
case _FL: case _FL:
custom_backlight_level(2); custom_backlight_level(2);
rgblight_sethsv_noeeprom(280,255,255); rgblight_sethsv_noeeprom(240,255,255);
break; break;
case _AL: case _AL:
custom_backlight_level(3); custom_backlight_level(3);
rgblight_sethsv_noeeprom(350,255,255); rgblight_sethsv_noeeprom(255,255,255);
break; break;
default: default:
custom_backlight_level(0); custom_backlight_level(0);

View file

@ -12,10 +12,10 @@ enum layers {
}; };
enum custom_keycodes { enum custom_keycodes {
DYNAMIC_MACRO_RANGE = SAFE_RANGE, QMK_REV = SAFE_RANGE,
QMK_REV,
KC_WEB, KC_WEB,
KC_SP4 KC_SP4,
DYNAMIC_MACRO_RANGE
}; };
extern backlight_config_t backlight_config; extern backlight_config_t backlight_config;
@ -251,7 +251,7 @@ uint32_t layer_state_set_user(uint32_t state) {
break; break;
case _AL: case _AL:
custom_backlight_level(3); custom_backlight_level(3);
rgblight_sethsv_noeeprom(350,255,255); rgblight_sethsv_noeeprom(250,255,255);
break; break;
default: default:
custom_backlight_level(0); custom_backlight_level(0);

View file

@ -22,4 +22,3 @@ FAUXCLICKY_ENABLE = no # Uses buzzer to emulate clicky switches. By defaul
API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390) API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390)
KEY_LOCK_ENABLE = no # This enables key lock(+260) KEY_LOCK_ENABLE = no # This enables key lock(+260)
SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common

View file

@ -17,10 +17,10 @@ enum layers {
}; };
enum custom_keycodes { enum custom_keycodes {
DYNAMIC_MACRO_RANGE = SAFE_RANGE, QMK_REV = SAFE_RANGE,
QMK_REV,
KC_WEB, KC_WEB,
KC_WCLS KC_WCLS,
DYNAMIC_MACRO_RANGE
}; };
extern backlight_config_t backlight_config; extern backlight_config_t backlight_config;

View file

@ -22,4 +22,3 @@ FAUXCLICKY_ENABLE = no # Uses buzzer to emulate clicky switches. By defaul
API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390) API_SYSEX_ENABLE = no # This enables using the Quantum SYSEX API to send strings(+5390)
KEY_LOCK_ENABLE = no # This enables key lock(+260) KEY_LOCK_ENABLE = no # This enables key lock(+260)
SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common SPLIT_KEYBOARD = no # This enables split keyboard support and includes all necessary files located at quantum/split_common