|
@@ -125,8 +125,6 @@ const uint16_t PROGMEM fn_actions[] = {
|
|
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|
{
|
|
{
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
switch(id) {
|
|
switch(id) {
|
|
case 0:
|
|
case 0:
|
|
if (record->event.pressed) {
|
|
if (record->event.pressed) {
|
|
@@ -143,7 +141,6 @@ void matrix_scan_user(void) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
uint32_t layer = layer_state;
|
|
uint32_t layer = layer_state;
|
|
if (layer & (1<<1)) {
|
|
if (layer & (1<<1)) {
|
|
gh60_wasd_leds_on();
|
|
gh60_wasd_leds_on();
|
|
@@ -204,6 +201,7 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
static uint8_t shift_esc_shift_mask;
|
|
static uint8_t shift_esc_shift_mask;
|
|
|
|
+
|
|
case SHIFT_ESC:
|
|
case SHIFT_ESC:
|
|
shift_esc_shift_mask = get_mods()&MODS_CTRL_MASK;
|
|
shift_esc_shift_mask = get_mods()&MODS_CTRL_MASK;
|
|
if (record->event.pressed) {
|
|
if (record->event.pressed) {
|