forked from eden-emu/eden
		
	yuzu: Config allow to delete single axis directions when buttons are mapped to a stick
This commit is contained in:
		
							parent
							
								
									d2388a2ca8
								
							
						
					
					
						commit
						17ce54d7f2
					
				
					 2 changed files with 24 additions and 3 deletions
				
			
		|  | @ -327,7 +327,7 @@ void SanitizeStick(Common::Input::AnalogStatus& analog_x, Common::Input::AnalogS | |||
|     raw_y += properties_y.offset; | ||||
| 
 | ||||
|     // Apply X scale correction from offset
 | ||||
|     if (std::abs(properties_x.offset) < 0.5f) { | ||||
|     if (std::abs(properties_x.offset) < 0.75f) { | ||||
|         if (raw_x > 0) { | ||||
|             raw_x /= 1 + properties_x.offset; | ||||
|         } else { | ||||
|  | @ -336,7 +336,7 @@ void SanitizeStick(Common::Input::AnalogStatus& analog_x, Common::Input::AnalogS | |||
|     } | ||||
| 
 | ||||
|     // Apply Y scale correction from offset
 | ||||
|     if (std::abs(properties_y.offset) < 0.5f) { | ||||
|     if (std::abs(properties_y.offset) < 0.75f) { | ||||
|         if (raw_y > 0) { | ||||
|             raw_y /= 1 + properties_y.offset; | ||||
|         } else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Narr the Reg
						Narr the Reg