mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	configure_motion_touch: do not move engine parameter (#6208)
fixes an error stemmed from miscommunication
This commit is contained in:
		
							parent
							
								
									d1171328c9
								
							
						
					
					
						commit
						0fc177e268
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -354,10 +354,8 @@ void ConfigureMotionTouch::ApplyConfiguration() { | |||
|     std::string motion_engine = ui->motion_provider->currentData().toString().toStdString(); | ||||
|     std::string touch_engine = ui->touch_provider->currentData().toString().toStdString(); | ||||
| 
 | ||||
|     Common::ParamPackage motion_param{}, touch_param{}; | ||||
|     motion_param.Set("engine", std::move(motion_engine)); | ||||
|     touch_param.Set("engine", std::move(touch_engine)); | ||||
| 
 | ||||
|     Common::ParamPackage motion_param{}; | ||||
|     motion_param.Set("engine", motion_engine); | ||||
|     if (motion_engine == "motion_emu") { | ||||
|         motion_param.Set("sensitivity", static_cast<float>(ui->motion_sensitivity->value())); | ||||
|     } else if (motion_engine == "sdl") { | ||||
|  | @ -365,6 +363,8 @@ void ConfigureMotionTouch::ApplyConfiguration() { | |||
|         motion_param.Set("port", port); | ||||
|     } | ||||
| 
 | ||||
|     Common::ParamPackage touch_param{}; | ||||
|     touch_param.Set("engine", touch_engine); | ||||
|     if (touch_engine == "cemuhookudp") { | ||||
|         touch_param.Set("min_x", min_x); | ||||
|         touch_param.Set("min_y", min_y); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue