input_common: Reset GC sticks center by measuring multiple packets

This commit is contained in:
german77
2021-04-25 11:45:42 -05:00
parent cd80471c90
commit 729545a946
2 changed files with 7 additions and 2 deletions

View File

@ -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 {