zmk/app/include
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
..
drivers refactor: Move to zephyr/ include paths. 2023-04-05 22:55:38 -07:00
dt-bindings/zmk feat(keymaps): add NUHS/NUBS alias for Non-US-Backslash/Non-US-Hash 2022-10-17 21:48:19 -04:00
linker refactor: Move to zephyr/ include paths. 2023-04-05 22:55:38 -07:00
zmk fix(keymaps): fix keypresses that are not in the transform 2023-04-10 03:27:19 -04:00