Commit Graph
24 Commits
Author SHA1 Message Date
Thierry Perrautandawalol 63c62081eb feat: low-battery LED indicator (ENABLE_BATT_LED, default ON)
Blink the Pico onboard LED at 1 Hz when the connected DualSense
reports PowerPercent <= 1 (i.e. <= 10%) and PowerState == Discharging.
Source data is byte 52 of the BT 0x31 input report, already copied
into interrupt_in_data; no new BT parsing required.

The new module owns the LED only while it is actively blinking; it
detects controller disconnection via stale-report timeout and steps
out, so bt.cpp's existing connect/disconnect LED handling stays in
charge in all other states. Honors disable_pico_led.

Gated by -DENABLE_BATT_LED=ON (default). With the option off, the
source file is not compiled and behavior is identical to upstream.
CI gains a compile-only check for the OFF flavor.

(cherry picked from commit 2f8ea73c9fb695e24e7cc3329db7cb925e82e1c9)
2026-05-13 18:09:31 +08:00
awalol bb1c8f4a97 add Log Verbose option 2026-05-09 14:22:46 +08:00
awalol be01dc439e add usb serial for debug firmware
Code by gpt5.5-xhigh
2026-05-08 13:54:07 +08:00
awalol 351d71dfe1 cmd: controller mode switch 2026-05-05 15:19:22 +08:00
awalol 0d32db4d9f cmd: poll rate switch 2026-05-05 13:00:28 +08:00
awalol fb8624b61b feat: config manager 2026-05-05 01:17:15 +08:00
awalol d1d54eaa41 add watchdog 2026-04-30 14:25:31 +08:00
awalol a2e3a33f00 bump version 0.5.3 2026-04-29 21:47:22 +08:00
awalol 93c884be7e fix: improve DSE compatibility. Thanks @fuhuasxflwb 2026-04-28 23:48:09 +08:00
awalol c2703b2525 bump version 2026-04-28 14:25:11 +08:00
awalol d789ce5a3f update CMakeLists.txt 2026-04-27 18:07:56 +08:00
awalol 372e44a85d optimize overclocking. Thanks JunHoo(@1220951120) 2026-04-27 17:41:53 +08:00
awalol 6eaeb32e91 bump version 2026-04-26 15:15:06 +08:00
awalol fe1c1cd6a5 fix: speaker noise. Thanks Junhoo (@1220951120) 2026-04-26 14:07:05 +08:00
awalol 2fb3c2f90b speaker work 2026-04-26 11:34:34 +08:00
awalol 1551ff6325 DSE compile options 2026-04-14 22:39:50 +08:00
awalol ed4f7ac8e6 修复静默时间bug 增加静默时间到30分钟 2026-04-04 00:44:35 +08:00
awalol 845656aedd feat:adjust gain in speaker volume. add led and auto-disconnect toggle in mute. 2026-03-22 00:33:30 +08:00
awalol 4aa1646f0a add WDL submodule 2026-03-15 20:20:45 +08:00
awalol 4f1191f316 bump version 2026-03-15 18:37:02 +08:00
awalol 5251ae1f5b fix gyro 2026-03-15 13:35:45 +08:00
awalol 51157ce997 我也不知道改了什么 2026-03-14 21:37:47 +08:00
awalol 0fd9c2bdd3 fix reconnect 2026-03-10 16:14:05 +08:00
awalol 9a929530d9 First Commit 2026-03-05 16:21:25 +08:00