* Add two new compatibles for macros that take one or two parameters when bound in a keymap. * Use `¯o_param_1to1`, `¯o_param_1to2`, `¯o_param_2to1`, and `¯o_param_2to2` control entries in the bindings for the macro to have the next binding entry have it's values substituted. Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
29 lines
No EOL
768 B
Text
29 lines
No EOL
768 B
Text
# Copyright (c) 2023 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
config ZMK_BEHAVIOR_KEY_TOGGLE
|
|
bool
|
|
default y
|
|
depends on DT_HAS_ZMK_BEHAVIOR_KEY_TOGGLE_ENABLED
|
|
|
|
|
|
config ZMK_BEHAVIOR_SENSOR_ROTATE_COMMON
|
|
bool
|
|
default n
|
|
|
|
config ZMK_BEHAVIOR_SENSOR_ROTATE
|
|
bool
|
|
default y
|
|
depends on DT_HAS_ZMK_BEHAVIOR_SENSOR_ROTATE_ENABLED
|
|
select ZMK_BEHAVIOR_SENSOR_ROTATE_COMMON
|
|
|
|
config ZMK_BEHAVIOR_SENSOR_ROTATE_VAR
|
|
bool
|
|
default y
|
|
depends on DT_HAS_ZMK_BEHAVIOR_SENSOR_ROTATE_VAR_ENABLED
|
|
select ZMK_BEHAVIOR_SENSOR_ROTATE_COMMON
|
|
|
|
config ZMK_BEHAVIOR_MACRO
|
|
bool
|
|
default y
|
|
depends on DT_HAS_ZMK_BEHAVIOR_MACRO_ENABLED || DT_HAS_ZMK_BEHAVIOR_MACRO_ONE_PARAM_ENABLED || DT_HAS_ZMK_BEHAVIOR_MACRO_TWO_PARAM_ENABLED |