mirror of https://github.com/zmkfirmware/zmk.git
The static mouse_report definition did not initialize the d_scroll_x field. The zmk_hid_mouse_report_body structure contains five fields (buttons, d_x, d_y, d_scroll_y, d_scroll_x), but d_scroll_x was left uninitialized. Initialize d_scroll_x to 0 to ensure all fields in the mouse report are properly initialized and avoid potential undefined behavior. |
||
|---|---|---|
| .. | ||
| boards | ||
| dts | ||
| include | ||
| keymap-module | ||
| module | ||
| scripts | ||
| snippets | ||
| src | ||
| tests | ||
| .gitignore | ||
| .prettierrc.js | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.behaviors | ||
| Kconfig.defaults | ||
| VERSION | ||
| core-coverage.yml | ||
| package-lock.json | ||
| package.json | ||
| prj.conf | ||
| run-ble-test.sh | ||
| run-test.sh | ||
| west.yml | ||