fix(split): Add define for local source.
* Add `ZMK_POSITION_STATE_CHANGE_SOURCE_LOCAL` and use it consinstently to fix bug w/ local `&reset`, `&bootloader`, etc.
This commit is contained in:
parent
4d55e60adb
commit
fa110488b0
3 changed files with 4 additions and 2 deletions
|
|
@ -9,6 +9,8 @@
|
|||
#include <zephyr.h>
|
||||
#include <zmk/event_manager.h>
|
||||
|
||||
#define ZMK_POSITION_STATE_CHANGE_SOURCE_LOCAL UINT8_MAX
|
||||
|
||||
struct zmk_position_state_changed {
|
||||
uint8_t source;
|
||||
uint32_t position;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue