diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-06-16 21:35:44 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-06-16 21:35:44 -0400 |
commit | 1659562bb75e14476cbf94c0cbe2e536b7c7620a (patch) | |
tree | 38c38022551ed64e0643224c2c31fb71cd2fbf72 /app/include/dt-bindings/zmk/matrix-transform.h | |
parent | 6b6ecb3b0c0cabdeb7f320e6b469f28de2a60664 (diff) |
Rename keymap-transform to matrix-transform.
* Clearer name to capture essence of the role of the
transform.
Diffstat (limited to 'app/include/dt-bindings/zmk/matrix-transform.h')
-rw-r--r-- | app/include/dt-bindings/zmk/matrix-transform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/include/dt-bindings/zmk/matrix-transform.h b/app/include/dt-bindings/zmk/matrix-transform.h new file mode 100644 index 0000000..4fd3e6c --- /dev/null +++ b/app/include/dt-bindings/zmk/matrix-transform.h @@ -0,0 +1,5 @@ + +#define KT_ROW(item) (item >> 8) +#define KT_COL(item) (item & 0xFF) + +#define RC(row, col) (((row) << 8) + (col))
\ No newline at end of file |