forked from kofal.net/zmk
Merge pull request #258 from megamind4089/dev/ext-power-behavior
New behavior for ext power control
This commit is contained in:
13
app/include/dt-bindings/zmk/ext_power.h
Normal file
13
app/include/dt-bindings/zmk/ext_power.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Copyright (c) 2020 The ZMK Contributors
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#define EXT_POWER_OFF_CMD 0
|
||||
#define EXT_POWER_ON_CMD 1
|
||||
#define EXT_POWER_TOGGLE_CMD 2
|
||||
|
||||
#define EP_ON EXT_POWER_ON_CMD
|
||||
#define EP_OFF EXT_POWER_OFF_CMD
|
||||
#define EP_TOG EXT_POWER_TOGGLE_CMD
|
||||
Reference in New Issue
Block a user