mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
				synced 2025-03-21 01:53:15 +00:00 
			
		
		
		
	Merge pull request #2458 from wwylele/reset-accel-gyro
HID: reset acceleroeter and gyroscope index in Init
This commit is contained in:
		
						commit
						25c5aa5869
					
				@ -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 New Issue
	
	Block a user