Commit graph

31 commits

Author SHA1 Message Date
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: NaxdyOrg/NaxGCC-FW#8
2024-04-08 20:53:23 +00:00
aed495ae54
feat: implement input filters (#7)
Reviewed-on: NaxdyOrg/NaxGCC-FW#7
2024-04-03 19:44:02 +00:00
8073328405
chore(project): clean up unused imports 2024-04-03 17:17:21 +02:00
d0960f2c2d
chore: clean up rumble logic 2024-04-03 16:16:55 +02:00
5e102fd14f
change(config): improve how config is loaded from flash 2024-04-03 14:33:23 +02:00
ef02ca6950
chore: clean up rumble & misc debug stuff 2024-04-03 13:52:19 +02:00
d6bb5d5266
fix(flash): access after a delay
apparently accessing the flash immediately after boot poses some issues
2024-04-03 01:46:14 +02:00
60f8459835
feat(hardware): implement rumble (untested) 2024-04-02 22:17:50 +02:00
35c0f755f2
feat(input): implement input consistency mode 2024-04-01 21:06:41 +02:00
5f2fdc60ec
feat(stick): get calibration to a working state 2024-03-30 13:20:35 +01:00
2d7239c04a
feat(config, stick): implement more calibration logic 2024-03-29 19:54:52 +01:00
5408d37560
chore: move calibrate to config 2024-03-29 16:07:44 +01:00
35349dee49
shuffle some threads around, stricter timing for stick readings 2024-03-28 22:43:44 +01:00
d4c88a4a60
chore(input): use AnyPin 2024-03-28 18:12:02 +01:00
d0aeafc069
fix: disable rumble for now (or we might blow a fuse, lel) 2024-03-27 22:31:55 +01:00
eb0ba44b1c
feat(filter): implement kalman filter 2024-03-27 21:20:25 +01:00
5ab51f5670
chore: refactor and finish stick cal 2024-03-27 19:34:14 +01:00
f0d99a234b
feat: implement stick calibration logic 2024-03-27 18:11:23 +01:00
483a51c265
chore(main): remove test code for flash storage 2024-03-26 23:09:38 +01:00
baa1ab1235
begin implementing stick filter algorithms 2024-03-22 21:38:10 +01:00
5244f1a75e
begin implementing stick shenanigans 2024-03-19 21:06:18 +01:00
cbaa4f4ca9
add button mapping, implement SPI, use patched embassy 2024-03-18 10:36:47 +01:00
76355b72ce
refactor (WORKING) using embassy 2024-03-12 00:08:34 +01:00
44de7e2330
remove bs 2024-03-11 21:03:36 +01:00
eacb979c61
get to a working state with multicore 2024-03-11 19:41:34 +01:00
6ba86985d5
implement rudimentary button handling, prepare SPI 2024-03-11 17:17:40 +01:00
32fff25889
cleanup 2024-03-11 13:39:24 +01:00
6c7202bed2
working flash and gc controller 2024-03-05 08:11:49 +01:00
33234c6257
add debugging efforts 2024-03-04 22:48:03 +01:00
bed51bf8e3
first attempt at gcc 2024-03-04 00:39:12 +01:00
e71c521032
project setup with sample code 2024-03-03 16:31:37 +01:00