Add touch buttons for speaker toggle and music playback.

Enable SoftSPI touch, replace auto beeps with Speaker ON/OFF and Play Music controls, and document usage.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 17:36:54 +08:00
parent 82e1ace24f
commit a7a7685fc9
11 changed files with 385 additions and 174 deletions

6
include/touch.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#include <lvgl.h>
void touch_init();
void touch_read_cb(lv_indev_t *indev, lv_indev_data_t *data);