zmk/app
Purdea Andrei 309359b32f
fix(keymaps): fix keypresses that are not in the transform
Before this change, if a matrix position was not present in the transform,
various incorrect behaviors would happen:

1) In some cases out-of-bounds accesses:

Note that the size of the`transform[]` array does not necessarily match
the size of the matrix. So for example if key position
(ZMK_MATRIX_COLS-1, ZMK_MATRIX_ROWS-1) is not present in the transform,
but ends up being pressed, then the array will be accessed beyond its
size, and any data could be returned.

2) In other cases the 0th position in the keymap will be used because
the `transform[]` array is initialized to all zeros.
2023-04-10 03:27:19 -04:00
..
boards fix(underglow): Move to spi3 for underglow bus. 2023-04-09 14:41:00 -07:00
cmake
drivers fix(display): Tweak EPD driver init/blanking. 2023-04-05 22:55:38 -07:00
dts refactor(behaviors): Rename `reset` behavior. 2023-04-05 22:55:38 -07:00
include fix(keymaps): fix keypresses that are not in the transform 2023-04-10 03:27:19 -04:00
scripts
src fix(keymaps): fix keypresses that are not in the transform 2023-04-10 03:27:19 -04:00
tests test(behaviors): add unit tests for sticky key `quick-release` 2023-04-10 01:50:57 -04:00
.gitignore
.prettierrc.js
CMakeLists.txt fix(behaviors): make tap dances work on a combo 2022-11-01 15:13:19 -05:00
Kconfig feat(core): Process log every 100ms 2023-04-09 23:29:22 -07:00
core-coverage.yml
package-lock.json feat(boards): Add Corne-ish zen v2 2022-12-16 10:57:25 -06:00
package.json
prj.conf
run-test.sh fix(tests): ignore line endings 2023-03-21 17:44:49 -07:00
west.yml refactor: Move to Zephyr 3.2 branch. 2023-04-05 22:55:38 -07:00