Commit Graph
195 Commits
Author SHA1 Message Date
Kai 9ee59604f9 Optimize crc32 2026-05-08 19:58:34 +08:00
awalol 1014a13ed0 fix: controller auto mode 2026-05-08 19:31:24 +08:00
awalol f8f86a29ef fix: ENABLE_SERIAL conditional compilation 2026-05-08 17:37:53 +08:00
awalol ef0a261654 disable watchdog in debug firmware 2026-05-08 14:10:52 +08:00
awalol 2a6e0d0fd5 fix: ci build 2026-05-08 14:02:00 +08:00
awalol bc18d31613 fix: ci build 2026-05-08 13:57:39 +08:00
awalol be01dc439e add usb serial for debug firmware
Code by gpt5.5-xhigh
2026-05-08 13:54:07 +08:00
awalol b2b92959ca add cache for ci 2026-05-08 13:50:47 +08:00
awalol 6ded3361f9 auto switch ds mode 2026-05-07 23:00:19 +08:00
awalol 8bb0c816df 使用ds5原始的音量调节范围 2026-05-07 22:28:29 +08:00
awalol 33c44907b6 increase bt interrupt mtu 2026-05-07 20:28:08 +08:00
awalol e79c76276f remove usb serialnumber #32 2026-05-07 19:13:23 +08:00
awalol b736cc91d7 fix: usbaudio set_cur cmd set volume 2026-05-07 19:11:42 +08:00
awalol 8155ebdfec adjust buf_len and inactive_time range 2026-05-07 18:52:53 +08:00
awalol 767e7437f7 refactor: remove opus queue 2026-05-06 17:58:06 +08:00
awalol 3ef74c8542 refactor(bt): replace std::queue with queue_t 2026-05-06 17:30:53 +08:00
awalolandGitHub aba0739f59 Update README 2026-05-06 13:58:07 +08:00
awalolandGitHub eb6b2d0559 Update README 2026-05-06 13:57:32 +08:00
awalol 7358a81d11 fix: DSE Profile Save. Thanks @fuhuasxflwb 2026-05-05 21:14:29 +08:00
awalol 826c3eef9c typo 2026-05-05 19:05:19 +08:00
awalol 5c815299ad feat: disable pico led real time 2026-05-05 18:53:24 +08:00
awalol a887c6fb39 使用 absolute_time_t 替代 time_us_32 作为计时器 2026-05-05 18:47:39 +08:00
awalolandGitHub c665eab4d5 Merge pull request #27 from dereckhall/fix/get-feature-overread
fix buffer overread in get_feature_data
2026-05-05 15:45:36 +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
Dereck b54bd2452e fix buffer overread in get_feature_data
l2cap_send was passed the caller's `len` (expected response size) instead of
the actual array size. The get_feature array is only 2 bytes (transaction
header + report ID), so this read up to 62 bytes of uninitialized stack.

Use sizeof(get_feature) to send only the 2-byte GET_REPORT request.
2026-05-05 00:07:35 -04:00
awalol a89618f463 cmd: set haptics buffer length 2026-05-05 11:45:23 +08:00
awalol 25a46bf278 fix: tud reconnect timeout 2026-05-05 11:43:51 +08:00
awalol fb8624b61b feat: config manager 2026-05-05 01:17:15 +08:00
awalol 572d017ec5 switch README language 2026-05-02 18:07:06 +08:00
awalol 9143665fbc update README 2026-05-01 16:42:31 +08:00
awalol fedc4c70cf update README 2026-05-01 15:02:15 +08:00
awalolandGitHub 7064afac7f Update funding source from Ko-fi to Patreon 2026-05-01 12:13:58 +08:00
awalolandGitHub b8b87d1d4d Merge pull request #4 from xSayZ/fix-polling-rate
refactor: optimize USB polling rate and fix report race condition
2026-04-30 22:35:55 +08:00
awalolandGitHub d391f031e4 fix: set interrupt in binterval 1 2026-04-30 22:35:36 +08:00
awalol 55c0d42998 rename opus_element variable for clarity 2026-04-30 15:40:04 +08:00
awalolandGitHub a390eddcba Merge branch 'master' into fix-polling-rate 2026-04-30 14:56:15 +08:00
awalol 5b04cbda80 fix: audio resampler_out buffer overflow. static queue element 2026-04-30 14:44:25 +08:00
awalol d1d54eaa41 add watchdog 2026-04-30 14:25:31 +08:00
Felix 7414b303a0 refactor: optimize USB polling rate and fix report race condition
- Increased HID polling rate from 250Hz (4ms) to 1000Hz (1ms) in
  the configuration descriptor to match wired DualSense performance.
- Fixed a potential race condition between Bluetooth data callbacks
  and the USB task using pico/critical_section.
- Implemented a 'dirty flag' mechanism to prevent sending redundant
  duplicate reports, ensuring the dongle only transmits to the host
  when fresh Bluetooth data is received.
- Added a fallback retry logic in interrupt_loop to ensure data
  integrity if a USB report fails to queue.
2026-04-29 20:48:49 +02:00
awalol a2e3a33f00 bump version 0.5.3 2026-04-29 21:47:22 +08:00
awalol 2413b009cd revert 64f0216c 2026-04-29 21:46:44 +08:00
awalol b8beee0fcd update release.yml 2026-04-29 20:05:41 +08:00
awalol a68cf93751 update build.yml 2026-04-29 19:51:58 +08:00
awalol 65055836fd update ci 2026-04-29 19:35:11 +08:00
awalol e4a28b4e39 update build.yml 2026-04-29 19:30:41 +08:00
awalol 733dad3fae add github ci 2026-04-29 19:17:17 +08:00
awalol 64f0216c3b enable haptics wdlresample filtercnt 2026-04-29 18:49:33 +08:00
awalol 137535c8cf fix: ds5 does not fully disconnect 2026-04-29 13:04:30 +08:00
awalol d5daf2ee9f update README.EN.md. Thanks @winkywong1998 2026-04-29 00:05:21 +08:00