Skip to content

Commit

Permalink
Rename smart-interrupt to tri-state
Browse files Browse the repository at this point in the history
  • Loading branch information
nickconway committed Jul 30, 2022
1 parent 3bc5393 commit 69a3948
Show file tree
Hide file tree
Showing 28 changed files with 366 additions and 376 deletions.
2 changes: 1 addition & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if ((NOT CONFIG_ZMK_SPLIT) OR CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
target_sources(app PRIVATE src/behaviors/behavior_toggle_layer.c)
target_sources(app PRIVATE src/behaviors/behavior_to_layer.c)
target_sources(app PRIVATE src/behaviors/behavior_transparent.c)
target_sources_ifdef(CONFIG_ZMK_BEHAVIOR_SMART_INTERRUPT app PRIVATE src/behaviors/behavior_smart_interrupt.c)
target_sources_ifdef(CONFIG_ZMK_BEHAVIOR_TRI_STATE app PRIVATE src/behaviors/behavior_tri_state.c)
target_sources(app PRIVATE src/behaviors/behavior_none.c)
target_sources(app PRIVATE src/behaviors/behavior_sensor_rotate_key_press.c)
target_sources(app PRIVATE src/combo.c)
Expand Down
6 changes: 3 additions & 3 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,11 @@ config ZMK_BEHAVIOR_KEY_TOGGLE
bool
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_BEHAVIOR_KEY_TOGGLE))

DT_COMPAT_ZMK_BEHAVIOR_SMART_INTERRUPT := zmk,behavior-smart-interrupt
DT_COMPAT_ZMK_BEHAVIOR_TRI_STATE := zmk,behavior-tri-state

config ZMK_BEHAVIOR_SMART_INTERRUPT
config ZMK_BEHAVIOR_TRI_STATE
bool
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_BEHAVIOR_SMART_INTERRUPT))
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_BEHAVIOR_TRI_STATE))

endmenu

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright (c) 2022 The ZMK Contributors
# SPDX-License-Identifier: MIT

description: Smart Interrupt Behavior
description: Tri-State Behavior

compatible: "zmk,behavior-smart-interrupt"
compatible: "zmk,behavior-tri-state"

include: zero_param.yaml

Expand Down
311 changes: 0 additions & 311 deletions app/src/behaviors/behavior_smart_interrupt.c

This file was deleted.

Loading

0 comments on commit 69a3948

Please sign in to comment.