mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-28 05:10:49 +03:00
add 2nd encoder for volume only
This commit is contained in:
@@ -369,6 +369,12 @@ menu "Squeezelite-ESP32"
|
||||
help
|
||||
Set GPIO for rotary encoder (quadrature phase). See README on SqueezeESP32 project's GitHub for more details
|
||||
A=<gpio>,B=<gpio>[,SW=gpio>[[,knobonly[=<ms>]|[,volume][,longpress]]
|
||||
config VOLUME_ROTARY_ENCODER
|
||||
string "Volume Rotary Encoder configuration"
|
||||
default ""
|
||||
help
|
||||
Set GPIO for volume rotary encoder (quadrature phase). See README on SqueezeESP32 project's GitHub for more details
|
||||
A=<gpio>,B=<gpio>[,SW=gpio>]
|
||||
config GPIO_EXP_CONFIG
|
||||
string "GPIO expander configuration"
|
||||
help
|
||||
|
||||
@@ -89,6 +89,7 @@ const DefaultStringVal defaultStringVals[] = {
|
||||
{"actrls_config", ""},
|
||||
{"lms_ctrls_raw", "n"},
|
||||
{"rotary_config", CONFIG_ROTARY_ENCODER},
|
||||
{"volume_rotary", CONFIG_VOLUME_ROTARY_ENCODER},
|
||||
{"display_config", CONFIG_DISPLAY_CONFIG},
|
||||
{"eth_config", CONFIG_ETH_CONFIG},
|
||||
{"i2c_config", CONFIG_I2C_CONFIG},
|
||||
|
||||
Reference in New Issue
Block a user