Merge pull request #2458 from wwylele/reset-accel-gyro

HID: reset acceleroeter and gyroscope index in Init
master
bunnei 2017-01-20 21:14:44 +07:00 committed by GitHub
commit 25c5aa5869
1 changed files with 2 additions and 0 deletions

@ -320,6 +320,8 @@ void Init() {
next_pad_index = 0;
next_touch_index = 0;
next_accelerometer_index = 0;
next_gyroscope_index = 0;
// Create event handles
event_pad_or_touch_1 = Event::Create(ResetType::OneShot, "HID:EventPadOrTouch1");