summaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/adelais/keymaps/via/keymap.c
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2020-11-24 02:47:01 +0700
committerGitHub <noreply@github.com>2020-11-23 19:47:01 +0000
commit429474d1c323bf746b0ed158ae9aa2002319009d (patch)
tree1be3501f63c0683fc7f698374f3a29543ec07f0b /keyboards/mechlovin/adelais/keymaps/via/keymap.c
parent6f9934c669ff299f73121c42fef006b9eb0952b0 (diff)
refactor adelais en ciel rev.2, mechlovin9 (#10930)
Co-authored-by: vuhopkep <boy9x0@gmail.com>
Diffstat (limited to 'keyboards/mechlovin/adelais/keymaps/via/keymap.c')
-rw-r--r--keyboards/mechlovin/adelais/keymaps/via/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/mechlovin/adelais/keymaps/via/keymap.c b/keyboards/mechlovin/adelais/keymaps/via/keymap.c
index d44a4e9382..2ebd6a1206 100644
--- a/keyboards/mechlovin/adelais/keymaps/via/keymap.c
+++ b/keyboards/mechlovin/adelais/keymaps/via/keymap.c
@@ -47,9 +47,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void encoder_update_user(uint8_t index, bool clockwise) {
if (index == 0) {
if (clockwise) {
- tap_code(KC_VOLU);
- } else {
tap_code(KC_VOLD);
+ } else {
+ tap_code(KC_VOLU);
}
}
else if (index == 1) {