forked from kofal.net/zmk
refactor(behaviors): use ZMK_BEHAVIOR_OPAQUE and ZMK_BEHAVIOR_TRANSPARENT
Use these instead of the magic return values 0 and 1 for behavior_driver_api return values.
This commit is contained in:
committed by
Pete Johanson
parent
caa285852a
commit
fa07ba9d32
@@ -6,6 +6,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define ZMK_BEHAVIOR_OPAQUE 0
|
||||
#define ZMK_BEHAVIOR_TRANSPARENT 1
|
||||
|
||||
struct zmk_behavior_binding {
|
||||
char *behavior_dev;
|
||||
uint32_t param1;
|
||||
|
||||
Reference in New Issue
Block a user