zmk/app/include/zmk
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
..
ble refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
display refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
events refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
split/bluetooth refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
activity.h
backlight.h feat(backlight): add command to cycle brightness 2022-02-05 23:40:18 -05:00
battery.h
behavior.h
behavior_queue.h refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
ble.h refactor(split): Clean up Kconfig organization. 2022-05-29 19:18:09 -04:00
display.h
endpoints.h
endpoints_types.h
event_manager.h refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
hid.h refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
hog.h
keymap.h refactor: Move away from deprecated label usages. 2023-04-05 22:55:38 -07:00
keys.h refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
kscan.h refactor: Move away from deprecated label usages. 2023-04-05 22:55:38 -07:00
matrix.h refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
matrix_transform.h fix(keymaps): fix keypresses that are not in the transform 2023-04-10 03:27:19 -04:00
rgb_underglow.h fix(underglow): Handle cycling effects on splits. 2022-01-31 23:03:34 -05:00
sensors.h
stdlib.h refactor(splits): Minor cleanups to periph invocation 2022-01-31 23:03:34 -05:00
usb.h refactor: Move to `zephyr/` include paths. 2023-04-05 22:55:38 -07:00
usb_hid.h fix(usb): Split HID from core USB, logging fix. 2022-04-13 13:07:59 -04:00
wpm.h