Commit Graph
74 Commits
Author SHA1 Message Date
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
awalol 93c884be7e fix: improve DSE compatibility. Thanks @fuhuasxflwb 2026-04-28 23:48:09 +08:00
awalolandGitHub 98e6dedaa8 add FUNDING.yml 2026-04-28 15:23:39 +08:00
awalol f630051c2f add README.EN.md 2026-04-28 15:21:18 +08:00
awalol 0817fb1b54 update README.md 2026-04-28 15:03:54 +08:00
awalol c2703b2525 bump version 2026-04-28 14:25:11 +08:00
awalol c7472e81a1 refactor: get test command result 2026-04-28 14:14:09 +08:00
awalol 3300e084bc clean std:: 2026-04-28 13:17:55 +08:00
awalol 6c992af459 feat: support test command 2026-04-28 13:15:20 +08:00
awalolandGitHub 3a4b8494ea update README.md 2026-04-28 06:52:34 +08:00
awalol 6394f264e0 optimize queue remove 2026-04-27 22:52:45 +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 8af6dd6389 typo 2026-04-27 13:11:22 +08:00
awalol 004ca2fcb0 fix: add opus submodule 2026-04-26 23:39:17 +08:00
awalol f497472127 increase the voltage 2026-04-26 23:06:43 +08:00
awalol 756049f3dc update README.md 2026-04-26 15:17:24 +08:00
awalol f1d1d64cf0 update README.md 2026-04-26 15:15:47 +08:00
awalol 6eaeb32e91 bump version 2026-04-26 15:15:06 +08:00
awalol c5805dcc8c feat: headset auto switch 2026-04-26 15:14:26 +08:00
awalol 17627eebe4 feat: usb device auto disconnect 2026-04-26 14:33:06 +08:00
awalol fe1c1cd6a5 fix: speaker noise. Thanks Junhoo (@1220951120) 2026-04-26 14:07:05 +08:00