qmk/qmk_firmware
View on GitHub[Bug] Random input lag delay when mousekey feature is on
Open
#25835 opened on Nov 28, 2025
bughelp wanted
Description
Describe the Bug
If mousekey is on, keyboard latency is completely random. But if define KEYBOARD_SHARED_EP = yes, this fixes issue, so it might be related to the mouse endpoint. Tested on multiple QMK keyboards, the same random delay behaviour is found on all keyboards with mousekey enabled. All measurements are done via keyboard latency tester. Here are my measurements with 2 variables: mousekey and keyboard shared ep:
Keyboard Used
darkproject/kd83a_bfg_edition
Link to product page (if applicable)
No response
Operating System
Any
qmk doctor Output
Is AutoHotKey / Karabiner installed
- AutoHotKey (Windows)
- Karabiner (macOS)
Other keyboard-related software installed
No response
Additional Context
No response