Commit Graph

281 Commits

Author SHA1 Message Date
Steven Dan
c71149219c update protocol name 2026-06-01 14:27:59 +08:00
Steven Dan
d13739c7b6 suppress FPS/MIC singles after FPS+MIC combo
After COMBO_FPS_MIC fires, ignore FPS and MIC edge handling until both keys are fully released, preventing stray feature-mode or mic-mute short presses on staggered key release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 14:06:03 +08:00
Steven Dan
a58f52e4f0 add FPS+MIC combo to toggle EX3D on/off
Short-press FPS and MIC together toggles g_3d_enable (default on), syncs to tile1 via cc_mic_level 0xFB, and calls audio_ex3d_set_onoff on tile1. D8 green LED shows EX3D on; off when disabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 13:52:32 +08:00
Steven Dan
08d957becf reduce time before reboot to uac2 2026-06-01 13:34:41 +08:00
Steven Dan
7837ef6dee Factory reset: delay 100ms 2026-06-01 12:34:31 +08:00
Steven Dan
6c787f476d fix feature mode resume after timeout
Remember last active feature on timeout or combo exit. FPS short press from NONE restores that mode; cycling stays on SYSTEM..MIC only so MIC no longer steps through NONE (double-press issue).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 12:28:13 +08:00
Steven Dan
164bf84afe fix factory reset hold timing
Replace factory-reset elapsed-time comparison with 20ms scan-tick counting. The previous code used 32-bit elapsed against 6s/10s/10.6s 64-bit constants, so trigger thresholds were unreachable and countdown got cancelled instead of firing.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 11:22:23 +08:00
Steven Dan
1c7fd2706a fix feature timeout reset on volume adjust
Reset feature_timeout_ticks to 0 whenever VOL+ or VOL- causes an effective step in feature mode (short press and repeat), so active adjustments do not timeout and exit feature mode unexpectedly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-01 11:16:27 +08:00
Steven Dan
63c4ca3ccd 1.0.3 2026-06-01 11:01:17 +08:00
Steven Dan
52692c5a95 fix boot pop 2026-05-27 16:57:28 +08:00
Steven Dan
a06ad4ad19 update layout 2026-05-27 14:49:39 +08:00
Steven Dan
fab8aabc84 update modes 2026-05-27 14:47:03 +08:00
Steven Dan
c47224eca0 remove bypass mode 2026-05-27 08:33:08 +08:00
Steven Dan
aa7ef0ad7a switch l & r 2026-05-26 20:57:23 +08:00
Steven Dan
bc220c853d 1.0.2 2026-05-26 09:48:14 +08:00
Steven Dan
6c5305f6f4 p_mic_det2 2026-05-26 09:48:00 +08:00
Steven Dan
131a41d530 fix v71 boot noise 2026-05-26 09:47:47 +08:00
Steven Dan
1061261200 p_mic_det 2026-05-26 09:42:26 +08:00
Steven Dan
6ed9d46ae6 remove c1 and lp 2026-05-26 09:21:35 +08:00
Steven Dan
1e201e2fee jok tx1 2026-05-25 18:09:58 +08:00
Steven Dan
831764eb63 se reboot 20s 2026-05-25 18:06:20 +08:00
Steven Dan
fc2a975e23 disable log 2026-05-25 17:29:12 +08:00
Steven Dan
ffa8f388f0 fix pop noise of switch modes 2026-05-25 17:26:42 +08:00
Steven Dan
6d6bde92b5 update pid 2026-05-25 17:13:28 +08:00
Steven Dan
c6d46b4bce mode switch 2026-05-25 17:13:13 +08:00
Steven Dan
fadd5e4f54 add more modes 2026-05-25 14:28:25 +08:00
Steven Dan
c82257934a fact reset 2026-05-23 10:00:29 +08:00
Steven Dan
ec1361a2ae mic mute enable 2026-05-23 09:24:07 +08:00
Steven Dan
1d743a4484 32bit 2026-05-23 09:16:04 +08:00
Steven Dan
6bcbf6d139 jok effects 2026-05-21 22:58:39 +08:00
Steven Dan
6e4ccad258 led working 2026-05-21 22:48:44 +08:00
Steven Dan
c722efadaf update xn 2026-05-21 21:15:05 +08:00
Steven Dan
b7e7941108 dac playing ok 2026-05-21 21:01:37 +08:00
Steven Dan
c0c966c6de update g_log_switch 2026-05-19 16:20:45 +08:00
Steven Dan
70f32e4e63 Added static buffers to lfs_config and changed all lfs_file_open to lfs_file_opencfg 2026-05-19 16:10:41 +08:00
Steven Dan
69715f51d9 update flash_lock 2026-05-19 15:57:22 +08:00
Steven Dan
33798ac42a disable log 2026-05-19 13:48:16 +08:00
Steven Dan
c3b4857ac9 dnr button support 2026-05-19 13:45:29 +08:00
Steven Dan
a8a8d22613 enable dnr for lp 2026-05-19 12:01:43 +08:00
Steven Dan
2431265de4 enable dnr for lp 2026-05-19 11:48:13 +08:00
Steven Dan
7f336b8c70 update lfs pos to 3500 2026-05-18 16:39:01 +08:00
Steven Dan
56cf9b6c4e udpate v71 program 2026-05-18 15:46:55 +08:00
Steven Dan
bcd51be853 enable algo 2026-05-18 15:38:52 +08:00
Steven Dan
136d2cc805 update user_main 2026-05-18 13:00:54 +08:00
Steven Dan
80b47b8c50 update flash clock 2026-05-15 12:53:49 +08:00
Steven Dan
f3fbc14a5d update MODE_BYPASS_UAC2 2026-05-15 12:53:22 +08:00
Steven Dan
46c7252df4 udpate mode switch logic 2026-05-15 12:37:36 +08:00
Steven Dan
9e5ff852d1 update bats 2026-05-15 12:28:57 +08:00
Steven Dan
2172775553 udpate pids 2026-05-15 12:10:18 +08:00
Steven Dan
917def34d9 update v71 2026-05-15 11:48:58 +08:00