Keychron / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
711 stars 933 forks source link

Macro delays not working over bluetooth #290

Open mvbentes opened 1 month ago

mvbentes commented 1 month ago

Describe the Bug

I have a macro configured that works just fine over cable connection, but gets corrupted over bluetooth. I just made a simpler proof of concept and the bug holds. The simpler macro is as follows: {+KC_D}{-KC_D}{4000}{+KC_J}{-KC_J} Over cable it correctly outputs dj with proper timing, but over bluetooth it seems like the first key remains pressed for the duration of the delay, outputing: dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddj

Keyboard Used

K13 Pro ISO RGB

Link to product page (if applicable)

https://www.keychron.com/products/keychron-k13-pro-qmk-via-wireless-custom-mechanical-keyboard-iso-layout-collection?variant=40558857322585

Operating System

Windows

qmk doctor Output

Not relevant. I am not compiling from qmk. I am using launcher.keychron.com

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

No response

Additional Context

I have already updated firmware to the latest version 1.0.1

I can not compile my own version of qmk firmware to test if that would solve the issue because source code for K13 Pro ISO was not released, as already requested on #289

lokher commented 3 weeks ago

Please try this firmware keychron_k13_pro_iso_rgb_via.zip

PeterMortensen commented 3 weeks ago

Re "I can not compile my own version of QMK firmware to test if that would solve the issue because source code for K13 Pro ISO was not released": Yeah, version 1.0.1 for K13 Pro ISO RGB has a release date of 2024-01-26 (perhaps depending on the exact source of it).

The 2024-03-30 change (EBA583) positively fixes a problem that prevents Via macros from being used in Bluetooth mode.

The source code has been released in the meantime

The source code for the two ISO variants of the K13 Pro has now been released (2024-08-19). Together with source code for the ISO variants of K11 Max and K5 Max. And source code for Q14 Max, Q15 Max, Lemokey P1 Pro, and V8 Max (at about the same time).