diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-09-01 23:22:30 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-09-13 22:33:05 -0400 |
commit | fc0812bd2eb08d66819f38bafd1f5d00b933c87b (patch) | |
tree | a1c5bcc41b9bbc079828c4b64c45230b5f718411 /app/include/dt-bindings/zmk | |
parent | a4d06f69ac9879618e91a9befac6f2e84ef37428 (diff) |
fix(bluetooth): Remove identity, minimal `bt`.
* Simplify the `bt` behavior to one current command
`BT_CLEAR_BONDS_CMD`.
* Simplify BLE code for split and non-split keyboards.
* Remove keymap processing from split peripheral side.
Diffstat (limited to 'app/include/dt-bindings/zmk')
-rw-r--r-- | app/include/dt-bindings/zmk/bt.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/app/include/dt-bindings/zmk/bt.h b/app/include/dt-bindings/zmk/bt.h index 6b05ff0..24d27ae 100644 --- a/app/include/dt-bindings/zmk/bt.h +++ b/app/include/dt-bindings/zmk/bt.h @@ -4,14 +4,11 @@ * SPDX-License-Identifier: MIT */ -#define BT_RST_CMD 0 -#define BT_IDENT_NEXT_CMD 1 -#define BT_IDENT_PREV_CMD 2 -#define BT_IDENT_SEL_CMD 3 -#define BT_IDENT_CLR_CMD 4 +#define BT_CLEAR_BONDS_CMD 0 -#define BT_RST BT_RST_CMD 0 -#define BT_IDENT_NEXT BT_IDENT_NEXT_CMD 0 -#define BT_IDENT_PREV BT_IDENT_PREV_CMD 0 -#define BT_IDENT_SEL BT_IDENT_SEL_CMD -#define BT_IDENT_CLR BT_IDENT_CLR_CMD 0
\ No newline at end of file +/* +Note: Some future commands will include additional parameters, so we +defines these aliases up front. +*/ + +#define BT_CLEAR_BONDS BT_CLEAR_BONDS_CMD 0
\ No newline at end of file |