Initial work on a soft on/off support for ZMK. Triggering soft off puts the device into deep sleep with only a specific GPIO pin configured to wake the device, avoiding waking from other key presses in the matrix like the normal deep sleep. Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
23 lines
844 B
Text
23 lines
844 B
Text
#include <behaviors/key_press.dtsi>
|
|
#include <behaviors/key_toggle.dtsi>
|
|
#include <behaviors/transparent.dtsi>
|
|
#include <behaviors/none.dtsi>
|
|
#include <behaviors/mod_tap.dtsi>
|
|
#include <behaviors/layer_tap.dtsi>
|
|
#include <behaviors/gresc.dtsi>
|
|
#include <behaviors/sticky_key.dtsi>
|
|
#include <behaviors/momentary_layer.dtsi>
|
|
#include <behaviors/toggle_layer.dtsi>
|
|
#include <behaviors/to_layer.dtsi>
|
|
#include <behaviors/reset.dtsi>
|
|
#include <behaviors/sensor_rotate_key_press.dtsi>
|
|
#include <behaviors/rgb_underglow.dtsi>
|
|
#include <behaviors/bluetooth.dtsi>
|
|
#include <behaviors/ext_power.dtsi>
|
|
#include <behaviors/outputs.dtsi>
|
|
#include <behaviors/caps_word.dtsi>
|
|
#include <behaviors/key_repeat.dtsi>
|
|
#include <behaviors/backlight.dtsi>
|
|
#include <behaviors/macros.dtsi>
|
|
#include <behaviors/mouse_key_press.dtsi>
|
|
#include <behaviors/soft_off.dtsi>
|