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 fix(build): Fix for proper string variable check. 2022-06-07 19:43:23 -04:00
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 chore: make west scripts more pythonic and apply Black 2022-01-04 23:59:25 -05:00
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 feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
.prettierrc.js feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
CMakeLists.txt fix(behaviors): make tap dances work on a combo 2022-11-01 15:13:19 -05:00
core-coverage.yml feature(shields): Add nice!view 2022-09-29 21:11:26 -04:00
Kconfig feat(core): Process log every 100ms 2023-04-09 23:29:22 -07:00
package-lock.json feat(boards): Add Corne-ish zen v2 2022-12-16 10:57:25 -06:00
package.json feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
prj.conf Removed development files 2020-08-29 11:53:53 -07:00
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