mirror of
				https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu.git
				synced 2025-05-12 00:45:25 +00:00 
			
		
		
		
	settings: Fix button mappings array to have correct entries.
This commit is contained in:
		
							parent
							
								
									67c8b671d2
								
							
						
					
					
						commit
						8e2f62c6a5
					
				@ -79,11 +79,16 @@ static const std::array<const char*, NumButtons> mapping = {{
 | 
				
			|||||||
    "button_lstick_up",
 | 
					    "button_lstick_up",
 | 
				
			||||||
    "button_lstick_right",
 | 
					    "button_lstick_right",
 | 
				
			||||||
    "button_lstick_down",
 | 
					    "button_lstick_down",
 | 
				
			||||||
 | 
					    "button_rstick_left",
 | 
				
			||||||
 | 
					    "button_rstick_up",
 | 
				
			||||||
 | 
					    "button_rstick_right",
 | 
				
			||||||
 | 
					    "button_rstick_down",
 | 
				
			||||||
    "button_sl",
 | 
					    "button_sl",
 | 
				
			||||||
    "button_sr",
 | 
					    "button_sr",
 | 
				
			||||||
    "button_home",
 | 
					    "button_home",
 | 
				
			||||||
    "button_screenshot",
 | 
					    "button_screenshot",
 | 
				
			||||||
}};
 | 
					}};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} // namespace NativeButton
 | 
					} // namespace NativeButton
 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace NativeAnalog {
 | 
					namespace NativeAnalog {
 | 
				
			||||||
@ -95,8 +100,7 @@ enum Values {
 | 
				
			|||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const std::array<const char*, NumAnalogs> mapping = {{
 | 
					static const std::array<const char*, NumAnalogs> mapping = {{
 | 
				
			||||||
    "lstick",
 | 
					    "lstick", "rstick",
 | 
				
			||||||
    "rstick",
 | 
					 | 
				
			||||||
}};
 | 
					}};
 | 
				
			||||||
} // namespace NativeAnalog
 | 
					} // namespace NativeAnalog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user