forked from kofal.net/zmk
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:
committed by
Pete Johanson
parent
4d55e60adb
commit
fa110488b0
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user