@@ -139,6 +139,36 @@ config ENABLE_VFX
139139 help
140140 Select this to enable Visual Effects Output.
141141
142+ choice AUDIO_INPUT_FFT_CHANNEL
143+ prompt "Audio Input FFT Channel"
144+ default AUDIO_INPUT_FFT_ONLY_LEFT
145+ depends on ENABLE_VFX && !AUDIO_INPUT_NONE
146+ help
147+ Select Audio Input FFT Channel.
148+
149+ config AUDIO_INPUT_FFT_ONLY_LEFT
150+ bool "Left Channel"
151+ config AUDIO_INPUT_FFT_ONLY_RIGHT
152+ bool "Right Channel"
153+ config AUDIO_INPUT_FFT_BOTH
154+ bool "Both Channel"
155+ endchoice
156+
157+ choice BT_AUDIO_FFT_CHANNEL
158+ prompt "Bluetooth Audio FFT Channel"
159+ default BT_AUDIO_FFT_BOTH
160+ depends on ENABLE_VFX
161+ help
162+ Select Bluetooth Audio FFT Channel.
163+
164+ config BT_AUDIO_FFT_ONLY_LEFT
165+ bool "Left Channel"
166+ config BT_AUDIO_FFT_ONLY_RIGHT
167+ bool "Right Channel"
168+ config BT_AUDIO_FFT_BOTH
169+ bool "Both Channel"
170+ endchoice
171+
142172choice VFX_OUTPUT
143173 prompt "VFX Output Device"
144174 default VFX_OUTPUT_CUBE0414
@@ -156,35 +186,23 @@ config VFX_OUTPUT_CUBE0414
156186 bool "CUBE0414 8x8x8 Music Light Cube"
157187endchoice
158188
159- choice BT_AUDIO_FFT_CHANNEL
160- prompt "Bluetooth Audio FFT Channel "
161- default BT_AUDIO_FFT_BOTH
162- depends on ENABLE_VFX
189+ choice LCD_ORIENTATION
190+ prompt "LCD Orientation "
191+ default LCD_ORIENTATION_NORMAL
192+ depends on ENABLE_VFX && !VFX_OUTPUT_WS2812 && !VFX_OUTPUT_CUBE0414
163193 help
164- Select Bluetooth Audio FFT Channel .
194+ Select LCD orientation .
165195
166- config BT_AUDIO_FFT_ONLY_LEFT
167- bool "Left Channel"
168- config BT_AUDIO_FFT_ONLY_RIGHT
169- bool "Right Channel"
170- config BT_AUDIO_FFT_BOTH
171- bool "Both Channel"
196+ config LCD_ORIENTATION_NORMAL
197+ bool "Normal"
198+ config LCD_ORIENTATION_UPSIDE_DOWN
199+ bool "Upside Down"
172200endchoice
173201
174- choice AUDIO_INPUT_FFT_CHANNEL
175- prompt "Audio Input FFT Channel"
176- default AUDIO_INPUT_FFT_ONLY_LEFT
177- depends on ENABLE_VFX && !AUDIO_INPUT_NONE
178- help
179- Select Audio Input FFT Channel.
180-
181- config AUDIO_INPUT_FFT_ONLY_LEFT
182- bool "Left Channel"
183- config AUDIO_INPUT_FFT_ONLY_RIGHT
184- bool "Right Channel"
185- config AUDIO_INPUT_FFT_BOTH
186- bool "Both Channel"
187- endchoice
202+ config LCD_ROTATION_DEGREE
203+ int
204+ default 90 if LCD_ORIENTATION_NORMAL
205+ default 270 if LCD_ORIENTATION_UPSIDE_DOWN
188206
189207choice LED_LAYER_DIR
190208 prompt "LED Layer Direction"
@@ -224,11 +242,6 @@ config LED_COLOR_GRB
224242 bool "GRB"
225243endchoice
226244
227- config WS2812_DIN_PIN
228- int "WS2812 DIN Pin"
229- default 18
230- depends on ENABLE_VFX && VFX_OUTPUT_WS2812
231-
232245choice CUBE0414_LINE_TYPE
233246 prompt "CUBE0414 Line Type"
234247 default CUBE0414_LINE_S_CURVE
@@ -272,18 +285,33 @@ config CUBE0414_LED_T1L
272285 range 1 255
273286 depends on ENABLE_VFX && VFX_OUTPUT_CUBE0414
274287
275- config DEVICE_RST_PIN
276- int "Device RST Pin"
288+ config WS2812_DIN_PIN
289+ int "WS2812 DIN Pin"
290+ default 18
291+ depends on ENABLE_VFX && VFX_OUTPUT_WS2812
292+
293+ config DEV_RST_PIN
294+ int "DEV RST Pin"
277295 default 14
278- depends on ENABLE_VFX && !VFX_OUTPUT_WS2812
296+ depends on ENABLE_VFX && VFX_OUTPUT_CUBE0414
279297
280- config DEVICE_DC_PIN
281- int "Device DC Pin"
298+ config DEV_DC_PIN
299+ int "DEV DC Pin"
282300 default 23
283- depends on ENABLE_VFX && !VFX_OUTPUT_WS2812
301+ depends on ENABLE_VFX && VFX_OUTPUT_CUBE0414
302+
303+ config LCD_RST_PIN
304+ int "LCD RST Pin"
305+ default 14
306+ depends on ENABLE_VFX && !VFX_OUTPUT_WS2812 && !VFX_OUTPUT_CUBE0414
307+
308+ config LCD_DC_PIN
309+ int "LCD DC Pin"
310+ default 23
311+ depends on ENABLE_VFX && !VFX_OUTPUT_WS2812 && !VFX_OUTPUT_CUBE0414
284312
285- config DEVICE_BL_PIN
286- int "Device BL Pin"
313+ config LCD_BL_PIN
314+ int "LCD BL Pin"
287315 default 4
288316 depends on ENABLE_VFX && !VFX_OUTPUT_WS2812 && !VFX_OUTPUT_CUBE0414
289317
0 commit comments