forked from kofal.net/zmk
fix(sensors): Clean ups based on code review.
This commit is contained in:
committed by
Pete Johanson
parent
3a91b32513
commit
753802cd79
17
app/Kconfig
17
app/Kconfig
@@ -194,18 +194,6 @@ rsource "src/split/Kconfig"
|
||||
#Basic Keyboard Setup
|
||||
endmenu
|
||||
|
||||
menu "Encoders"
|
||||
|
||||
config ZMK_ENCODERS_DEFAULT_TRIGGERS_PER_ROTATION
|
||||
int "Default behavior triggers per rotation"
|
||||
help
|
||||
Unless overridden for a specific behavior in the keymap/devicetree, this value
|
||||
determines how many times to trigger the bound behavior per full rotation.
|
||||
For tactile encoders with detents, this usually should match the number of
|
||||
detents per rotation of the encoder.
|
||||
default 30
|
||||
|
||||
endmenu
|
||||
menu "Display/LED Options"
|
||||
|
||||
rsource "src/display/Kconfig"
|
||||
@@ -548,6 +536,11 @@ if ZMK_KEYMAP_SENSORS
|
||||
|
||||
config ZMK_KEYMAP_SENSORS_DEFAULT_TRIGGERS_PER_ROTATION
|
||||
int "Default triggers per rotation"
|
||||
help
|
||||
Unless overridden for a sensor in the board/shield/devicetree, this value
|
||||
determines how many times to trigger the bound behavior per full rotation.
|
||||
For tactile encoders with detents, this usually should match the number of
|
||||
detents per rotation of the encoder.
|
||||
default 20
|
||||
|
||||
endif # ZMK_KEYMAP_SENSORS
|
||||
|
||||
Reference in New Issue
Block a user