QMK firmware za naš dactyl https://wiki.ljudmila.org/Tipkovnica_dactyl
 
 
 
 
Go to file
Stefan Kerkmann b2d068d1aa
Fix mouse-key spamming empty reports (#21663)
Problem:

`mousekey_task` spams empty hid reports with when a mouse key is
pressed, causing resource exhaustion in the USB mouse endpoint.

Cause:

The check whether or not to send a new mouse report would always
evaluate to true if a mouse key is pressed:

1. `mouse_report` has non-zero fields and `tmpmr` is a copy of this
   fields.
2. `mouse_report` is set to zero, `tmpmr` has now non-zero fields.
3. `has_mouse_report_changed` compares the two and evaluates to true
4. a mouse report is sent.

Fix:

The check condition of `has_mouse_report_changed` will evaluate any
empty record as unchanged, as mouse report data is relative and doesn't
need to return to zero. An empty report will still be send by
`register_mouse` on release of all mouse buttons.
2023-08-02 13:47:25 +02:00
.github
.vscode
builddefs LED Matrix: driver naming cleanups (#21580) 2023-07-29 15:25:00 +10:00
data Remove layout aliases from keyboard_aliases.hjson (#21658) 2023-08-01 01:54:28 +01:00
docs Merge remote-tracking branch 'origin/master' into develop 2023-07-30 04:23:13 +00:00
drivers LED Matrix: driver naming cleanups (#21580) 2023-07-29 15:25:00 +10:00
keyboards Automata02 Alisaie Develop Touch-Up (#21630) 2023-08-02 01:15:56 -07:00
layouts Remove old OLED API code (#21651) 2023-07-31 15:43:10 +01:00
lib Remove layout aliases from keyboard_aliases.hjson (#21658) 2023-08-01 01:54:28 +01:00
platforms Remove needless precision in additive DAC sample generation (#21498) 2023-07-26 21:06:14 -07:00
quantum Fix Dynamic Macro Compilation for avr-gcc 5.4.0 + Linux (#21653) 2023-08-01 22:49:58 -07:00
tests
tmk_core Fix mouse-key spamming empty reports (#21663) 2023-08-02 13:47:25 +02:00
users Bluetooth: driver naming cleanups (#21624) 2023-07-29 15:16:14 +10:00
util
.clang-format
.clangd
.editorconfig
.gitattributes
.gitignore
.gitmodules
Doxyfile
LICENSE
Makefile
doxygen-todo
license_GPLv2.md
license_GPLv3.md
license_Modified_BSD.md
nose2.cfg
paths.mk
readme.md
requirements-dev.txt
requirements.txt
setup.cfg
shell.nix

readme.md

THIS IS THE DEVELOP BRANCH

Warning- This is the develop branch of QMK Firmware. You may encounter broken code here. Please see Breaking Changes for more information.

Quantum Mechanical Keyboard Firmware

Current Version Discord Docs Status GitHub contributors GitHub forks

This is a keyboard firmware based on the tmk_keyboard firmware with some useful features for Atmel AVR and ARM controllers, and more specifically, the OLKB product line, the ErgoDox EZ keyboard, and the Clueboard product line.

Documentation

The docs are powered by Docsify and hosted on GitHub. They are also viewable offline; see Previewing the Documentation for more details.

You can request changes by making a fork and opening a pull request, or by clicking the "Edit this page" link at the bottom of any page.

Supported Keyboards

The project also includes community support for lots of other keyboards.

Maintainers

QMK is developed and maintained by Jack Humbert of OLKB with contributions from the community, and of course, Hasu. The OLKB product firmwares are maintained by Jack Humbert, the Ergodox EZ by ZSA Technology Labs, the Clueboard by Zach White, and the Atreus by Phil Hagelberg.

Official Website

qmk.fm is the official website of QMK, where you can find links to this page, the documentation, and the keyboards supported by QMK.