mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-24 20:25:34 +00:00
HID: reset acceleroeter and gyroscope index in Init
This commit is contained in:
parent
ebe0150635
commit
2c7676d371
|
@ -320,6 +320,8 @@ void Init() {
|
||||||
|
|
||||||
next_pad_index = 0;
|
next_pad_index = 0;
|
||||||
next_touch_index = 0;
|
next_touch_index = 0;
|
||||||
|
next_accelerometer_index = 0;
|
||||||
|
next_gyroscope_index = 0;
|
||||||
|
|
||||||
// Create event handles
|
// Create event handles
|
||||||
event_pad_or_touch_1 = Event::Create(ResetType::OneShot, "HID:EventPadOrTouch1");
|
event_pad_or_touch_1 = Event::Create(ResetType::OneShot, "HID:EventPadOrTouch1");
|
||||||
|
|
Loading…
Reference in a new issue