Refactor matrix transform, positions pervasively

* Do mapping to positions right in kscan handler, and then
  surface positions throughout the API.
This commit is contained in:
Pete Johanson
2020-06-20 17:54:52 -04:00
parent d65629b9a0
commit 7e659851c8
10 changed files with 95 additions and 51 deletions

View File

@@ -11,4 +11,4 @@
bool zmk_keymap_layer_activate(u8_t layer);
bool zmk_keymap_layer_deactivate(u8_t layer);
int zmk_keymap_position_state_changed(u32_t row, u32_t column, bool pressed);
int zmk_keymap_position_state_changed(u32_t position, bool pressed);