-
-
Notifications
You must be signed in to change notification settings - Fork 43.6k
Closed
Labels
Description
Describe the Bug
I'm using auto-shift, but also configured an AS_TOGG key.
To know the current state of auto-shift I wrote a simple method to have a led like behaviour in the oled:
void render_leds (void) {
#ifdef AUTO_SHIFT_ENABLE
oled_set_cursor(0, 6);
if (get_autoshift_state()) {
oled_write_P(PSTR("AS ON "), false);
} else {
oled_write_P(PSTR("AS OFF "), false);
}
#endif
}
this method gets called in the oled_task_user method.
The problem is that, whathever is the current auto-shift state, get_autoshift_state() always returns true.
I tried both with AS_TOGG and AS_ON / AS_OFF testing that the auto shifted keys are enabled or disabled, but with no change in the returned value.
Keyboard Used
nomad (branch pending)
Link to product page (if applicable)
No response
Operating System
windows 11
qmk doctor Output
Ψ QMK Doctor is checking your environment.
Ψ Python version: 3.12.12
Ψ CLI version: 1.2.0
Ψ QMK home: C:/Users/karha/qmk_firmware
Ψ Detected Windows 11 (10.0.22631).
Ψ QMK MSYS version: 1.11.0
Ψ Found QMK tools distribution directory: C:/QMK_MSYS/opt/qmk
Ψ Found QMK toolchains: windowsX64:baremetalARM:a55a2b0, windowsX64:baremetalAVR:a55a2b0, windowsX64:baremetalRV32:a55a2b0
Ψ Found QMK flashutils: windowsX64:636c439
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.31.9
⚠ Git has unstashed/uncommitted changes.
Ψ - Latest master: 2026-01-21 22:18:09 +0100 (81b616c415) -- nomad keyboard with default layout and personal layouts
Ψ - Latest upstream/master: 2026-01-20 08:48:51 +0000 (863b308519) -- Fix avrdude version check logic (#25957)
Ψ - Latest upstream/develop: 2026-01-20 08:49:29 +0000 (b00bdd0354) -- Merge remote-tracking branch 'origin/master' into develop
Ψ - Common ancestor with upstream/master: 2026-01-20 08:48:51 +0000 (863b308519) -- Fix avrdude version check logic (#25957)
Ψ - Common ancestor with upstream/develop: 2026-01-20 08:48:51 +0000 (863b308519) -- Fix avrdude version check logic (#25957)
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 13.3.0
Ψ Successfully compiled using arm-none-eabi-gcc
Ψ Successfully tested arm-none-eabi-binutils using arm-none-eabi-size
Ψ Found avr-gcc version 15.2.0
Ψ Successfully compiled using avr-gcc
Ψ Successfully tested avr-binutils using avr-size
Ψ Found avrdude version 8.0-2025011
Ψ Found dfu-programmer version 1.1.0
Ψ Found dfu-util version 0.11
Ψ Found diff version 3.12
Ψ Found dos2unix version 7.5.3
Ψ Found git version 2.52.0
Ψ Found make version 4.4.1
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2025-05-15 08:25:11 +0000 -- (8bd61b8043)
Ψ - lib/chibios-contrib: 2025-10-03 18:22:15 +0200 -- (8d863d9e)
Ψ - 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: 2025-04-20 21:24:29 +1000 -- (d0c5cac)
Ψ - 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
none
Additional Context
No response
Reactions are currently unavailable