mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 14:43:15 +00:00
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:
parent
0c3260b1b4
commit
f111395044
2 changed files with 30 additions and 23 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue