mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Variable tilt clamp (#3366)
* Add tilt clamp setting * Updated `clamp` to use variable * Fixed a minor typo * Include possibly necessary header * expose setting in sdl2 * expose setting in qt * incorporate @wwylele 's suggestion in sdl2 * Incorporate @wwylele 's suggestion (?) Please review the code, this is the first time I'm working with `ParamPackage`s so I may just screw up the code. * Forgot to change in qt * Fixed an fatal error * fixed clang format error * remove the old setting * fixed typos cusing errors * removed old setting * Changed init style * Forgot this one * Removed unnecessary header inclusion * Update config.cpp * update qt-config * Update motion_emu.cpp * Update motion_emu.cpp
This commit is contained in:
		
							parent
							
								
									0c540f7fe1
								
							
						
					
					
						commit
						93cca23dd6
					
				
					 3 changed files with 16 additions and 9 deletions
				
			
		|  | @ -58,7 +58,9 @@ void Config::ReadValues() { | |||
|     } | ||||
| 
 | ||||
|     Settings::values.motion_device = | ||||
|         qt_config->value("motion_device", "engine:motion_emu,update_period:100,sensitivity:0.01") | ||||
|         qt_config | ||||
|             ->value("motion_device", | ||||
|                     "engine:motion_emu,update_period:100,sensitivity:0.01,tilt_clamp:90.0") | ||||
|             .toString() | ||||
|             .toStdString(); | ||||
|     Settings::values.touch_device = | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue