mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-11-04 12:45:03 +01:00 
			
		
		
		
	yuzu: Allow non npad hotkeys and disable controller navigation requirement
This commit is contained in:
		
							parent
							
								
									2337397a15
								
							
						
					
					
						commit
						26e028808a
					
				@ -190,10 +190,8 @@ void ControllerShortcut::ControllerUpdateEvent(Core::HID::ControllerTriggerType
 | 
			
		||||
    if (type != Core::HID::ControllerTriggerType::Button) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    if (!Settings::values.controller_navigation) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
    if (button_sequence.npad.raw == Core::HID::NpadButton::None) {
 | 
			
		||||
    if (button_sequence.npad.raw == Core::HID::NpadButton::None &&
 | 
			
		||||
        button_sequence.capture.raw == 0 && button_sequence.home.raw == 0) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user