Fix issues with input detection due to overloaded ring buffer and fix buffer size being incorrect (#2346)

* Add axis noise filter + only update outputs if a change happened

* Change the ring buffer size to 32 as seen in Ghidra

* Fix merge
This commit is contained in:
kalaposfos13 2025-02-05 19:36:16 +01:00 committed by GitHub
parent 0c3260b1b4
commit f111395044
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 23 deletions

View file

@ -60,7 +60,7 @@ inline int GetAxis(int min, int max, int value) {
return std::clamp((255 * (value - min)) / (max - min), 0, 255);
}
constexpr u32 MAX_STATES = 64;
constexpr u32 MAX_STATES = 32;
class GameController {
public: