mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-14 04:07:50 +00:00
input_common: Reset GC sticks center by measuring multiple packets
This commit is contained in:
parent
d2ac0ce0c7
commit
7d6d399f26
2 changed files with 7 additions and 2 deletions
|
@ -70,6 +70,7 @@ struct GCController {
|
|||
PadButton last_button{};
|
||||
std::array<s16, 6> axis_values{};
|
||||
std::array<u8, 6> axis_origin{};
|
||||
u8 reset_origin_counter{};
|
||||
};
|
||||
|
||||
class Adapter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue