[Bug] Encoder retains base layer behavior on another layer
#22.928 aperta il 19 gen 2024
Metriche repository
- Star
- (20.368 star)
- Metriche merge PR
- (Merge medio 20g 9h) (27 PR mergiate in 30 g)
Descrizione
Describe the Bug
I'm not sure if this is a bug. I'm setting up encoder behavior and have the following keymap.c
The encoders should do PGUP/DN and VOLU/D on the base layer, but Left/Right and RBG adjustments on layer 1. They continue to do PGUP/DN and VOLU/D even with MO(1) held.
I'm wondering if this is a bug, or my misunderstanding of how MO(1) should interplay with the behavior? I'm also new to QMK and have stuck with "regular" numbered layers vs. reference I find use _RAISE/_LOWER, so it's hard to find a good apples to apples reference. I interpreted the docs to be an either/or situation (use encoder_enable or encoder_map_enable) because the Keebio docs say so. If parameters from both sections are needed, I'm likely missing a lot of configuration params.
My rules.mk purely contains ENCODER_MAP_ENABLE = yes.
Keyboard Used
keebio/iris/rev6
Link to product page (if applicable)
https://keeb.io/products/iris-rev-6-keyboard-split-ergonomic-keyboard
Operating System
macos 13.6.3
qmk doctor Output
% qmk doctor
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: /Users/jwhendy/installed/qmk/qmk_firmware
Ψ Detected macOS 13.6.3 (Apple Silicon).
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.23.5
Ψ - Latest master: 2024-01-14 06:07:59 +0000 (dcc47ea31b) -- Add Proteus67 keyboard (#22439)
Ψ - Latest upstream/master: 2024-01-18 20:15:48 +0000 (c38fdfec9c) -- Bump tj-actions/changed-files from 41 to 42 (#22915)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2024-01-14 06:07:59 +0000 (dcc47ea31b) -- Add Proteus67 keyboard (#22439)
Ψ - Common ancestor with upstream/develop: None
Ψ CLI installed in virtualenv.
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 13.2.0
Ψ Found avr-gcc version 9.4.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.2
Ψ Found dfu-programmer version 1.1.0
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 -- (11edb1610)
Ψ - lib/chibios-contrib: 2023-07-17 11:39:05 +0200 -- (da78eb37)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 -- (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 -- (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 -- (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 -- (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 -- (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 -- (e19410f8)
Ψ QMK is ready to go, but minor problems were found
Is AutoHotKey / Karabiner installed
- AutoHotKey (Windows)
- Karabiner (macOS)
Other keyboard-related software installed
No response
Additional Context
No response