114 Commits

Author SHA1 Message Date
Naxdy 16a69723a8 perf: force min adc read count for stick coords (#30)
Reviewed-on: #30
nightly
2025-02-05 17:46:31 +00:00
Naxdy 0a0754c248 feat: introduce ControllerState + add functionality for 2nd Z button (#29)
Reviewed-on: #29
2024-12-28 03:50:33 +00:00
Naxdy 9838c4ee64 feat: implement XInput mode (#27)
Reviewed-on: #27
2024-10-29 19:53:18 +00:00
Naxdy 6475e844a9 chore: improve flake & ci (#28)
Reviewed-on: #28
2024-10-27 20:49:20 +00:00
Naxdy 8f8d47704d feat: implement "Pro-Controller" mode (#26)
Based on the pro-controller code from https://github.com/HandHeldLegend/HOJA-LIB-RP2040

Author has given their consent for this to be GPL'd:

![image](/attachments/c2551d3a-9b35-4c67-ad28-3778f9e04e29)

Reviewed-on: #26
v1.2.0
2024-10-14 19:55:54 +00:00
Naxdy 4e1af50ebd ci: adapt to new format 2024-09-01 17:21:38 +02:00
quiK 5cdd3348f4 implement filter for angled ftilts (#23)
Reviewed-on: #23
Reviewed-by: Naxdy <naxdy@naxdy.org>
Co-authored-by: Marcel Romagnuolo <marcello.r@gmx.net>
Co-committed-by: Marcel Romagnuolo <marcello.r@gmx.net>
2024-06-29 12:58:01 +00:00
Naxdy b6b5bb25a7 feat: don't inline time-critical functions 2024-04-30 13:59:52 +02:00
Naxdy a09d21b4fd chore: fix changelog symlink v1.1.1 2024-04-25 11:26:24 +02:00
Naxdy 6545b0219a feat: bump to v1.1.1 / improve opt-level 2024-04-25 10:50:31 +02:00
Naxdy 1c398652ad chore: bump version to 1.1.0 v1.1.0 2024-04-25 10:40:44 +02:00
Naxdy fef0475abf chore: add v1.1.0 changelog 2024-04-25 10:37:51 +02:00
Naxdy c8a31df648 feat: benchmark new best opt-level 2024-04-25 10:31:38 +02:00
Naxdy 417c4a677a feat(config): improve ticker during notch adjustment 2024-04-20 11:40:21 +02:00
Naxdy 974aa6b7af feat(hid): add msos descriptor 2024-04-20 11:06:33 +02:00
Naxdy 2a01cd732a feat(hid): distinguish "OG" from "PC" mode 2024-04-19 17:14:20 +02:00
Naxdy 818e0abf76 feat(hid): streamline timing between consistency and superhack 2024-04-19 17:07:26 +02:00
Naxdy d661abc882 chore(input): use AnyPin for button state func 2024-04-18 18:00:53 +02:00
Naxdy 6f1d49b164 chore(config): improve naming & comments 2024-04-16 00:04:27 +02:00
Naxdy c89938d23a chore(ci): add github action for PR's 2024-04-16 00:01:55 +02:00
Naxdy 6b53472817 chore: add CONTRIBUTING.md v1.0.0 2024-04-12 21:46:04 +02:00
Naxdy 93ab0ffb3d chore: remove unused dependency 2024-04-12 21:45:28 +02:00
Naxdy 569ae9784f change(hid): set poll interval to 1ms by default 2024-04-12 21:25:32 +02:00
Naxdy d39451dc2e perf: improve opt-level 2024-04-12 19:49:08 +02:00
Naxdy 839638d528 chore(readme): add matrix link 2024-04-11 12:17:30 +02:00
Naxdy 1d67284516 chore: amend readme 2024-04-09 19:30:52 +02:00
Naxdy 43708a9365 fix(config): display rumble strength to user 2024-04-09 19:27:24 +02:00
Naxdy f100f81842 feat(config): add ability to skip stick measurements (#11)
Reviewed-on: #11
2024-04-09 17:14:43 +00:00
Naxdy 88b6a22182 feat(superhack): give the console time to initialize 2024-04-09 19:14:16 +02:00
Naxdy a785fb69eb chore: bump version to 1.0.0 2024-04-08 23:41:44 +02:00
Naxdy 8a0760a620 chore: clippy concurrency (#10)
Reviewed-on: #10
2024-04-08 21:25:02 +00:00
Naxdy fd9f9b533f chore: add v1.0.0 changelog 2024-04-08 23:04:56 +02:00
Naxdy ba7164dd9c feat(ci): add workflow for stable releases 2024-04-08 22:55:23 +02:00
Naxdy 702cbe5eb0 add mode to further improve input latency while maintaining accuracy (#8)
This feels even hackier than consistency mode... we hold off on writing USB reports until the button state actually changes. Passes the input integrity benchmark with ~99.6%, but that doesn't mean much since the challenge is preserving input integrity for inputs less than 8.33ms apart.

Current rate limiter looks good from initial measurements, so will probably merge this at some point and leave it up to users to try the mode out or not. For now, I'd still recommend regular consistency mode, it's still hacky, but way less than this.

Also, not breaking because the new enum for input consistency mode is backward compatible with the bool.

Reviewed-on: #8
2024-04-08 20:53:23 +00:00
Naxdy c2e4066125 chore: cancel previous clippy runs if need be 2024-04-08 22:40:38 +02:00
Naxdy d49c72d9c0 feat(config): add ability to display current stick calibration values 2024-04-06 21:05:22 +02:00
Naxdy c43e66f91d chore: clarify nightly 2024-04-05 23:46:05 +02:00
Naxdy 71aaf07b29 chore(readme): clarify default behavior 2024-04-05 23:40:07 +02:00
Naxdy 0249f69b91 chore: amend readme & add license 2024-04-05 23:37:35 +02:00
Naxdy be2f3cb755 chore: add nightly warning 2024-04-05 13:04:53 +02:00
Naxdy f4de1326a5 change(project): use https for git resolution 2024-04-05 12:39:39 +02:00
Naxdy 5cabeeb109 fix(ci): scan host key in clippy flow 2024-04-05 12:37:12 +02:00
Naxdy bb2184fa29 chore(ci): use public binary cache 2024-04-05 12:14:22 +02:00
Naxdy aed495ae54 feat: implement input filters (#7)
Reviewed-on: #7
2024-04-03 19:44:02 +00:00
Naxdy b0746c538f fix(rumble): don't perma-enable :) 2024-04-03 19:31:36 +02:00
Naxdy bf73aa6f23 chore: amend readme 2024-04-03 18:57:32 +02:00
Naxdy 2f49357029 chore: refactor according to clippy & clean up config (#6)
Reviewed-on: #6
2024-04-03 16:53:52 +00:00
Naxdy ac1d6e08a2 chore(config): streamline flash interactions 2024-04-03 17:21:10 +02:00
Naxdy 8073328405 chore(project): clean up unused imports 2024-04-03 17:17:21 +02:00
Naxdy d0960f2c2d chore: clean up rumble logic 2024-04-03 16:16:55 +02:00