mirror of
https://github.com/nalf3in/vial-qmk.git
synced 2025-12-22 03:30:03 +00:00
fix broken keyboards after merge
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
/* Copyright 2022 Binepad (@binpad) */
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum {
|
||||
_L0,
|
||||
_L1
|
||||
} keyboard_layers;
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
[_L0] = LAYOUT_ortho_1x1(
|
||||
LT(_L1, KC_MUTE)
|
||||
),
|
||||
|
||||
[_L1] = LAYOUT_ortho_1x1(
|
||||
_______
|
||||
)
|
||||
};
|
||||
|
||||
#if defined(ENCODER_MAP_ENABLE)
|
||||
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
||||
[_L0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
|
||||
[_L1] = { ENCODER_CCW_CW(KC_MS_WH_DOWN, KC_MS_WH_UP) }
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -1,4 +0,0 @@
|
||||
# Copyright 2022 Binepad (@binpad)
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
@@ -270,9 +270,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (!eeconfig_is_enabled()) {
|
||||
eeconfig_init();
|
||||
}
|
||||
keymap_config.raw = eeconfig_read_keymap();
|
||||
eeconfig_read_keymap(&keymap_config);
|
||||
keymap_config.nkro = 1;
|
||||
eeconfig_update_keymap(keymap_config.raw);
|
||||
eeconfig_update_keymap(&keymap_config);
|
||||
}
|
||||
return false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user