empty virtual button
							parent
							
								
									ab619192a6
								
							
						
					
					
						commit
						646e5e9283
					
				|  | @ -274,10 +274,5 @@ namespace MoonWorks.Input | ||||||
| 		{ | 		{ | ||||||
| 			return EnumToTrigger[(SDL.SDL_GameControllerAxis) triggerCode].Value; | 			return EnumToTrigger[(SDL.SDL_GameControllerAxis) triggerCode].Value; | ||||||
| 		} | 		} | ||||||
| 
 |  | ||||||
| 		private bool CheckPressed(SDL.SDL_GameControllerButton button) |  | ||||||
| 		{ |  | ||||||
| 			return MoonWorks.Conversions.ByteToBool(SDL.SDL_GameControllerGetButton(Handle, button)); |  | ||||||
| 		} |  | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -0,0 +1,10 @@ | ||||||
|  | namespace MoonWorks.Input | ||||||
|  | { | ||||||
|  | 	public class EmptyButton : VirtualButton | ||||||
|  | 	{ | ||||||
|  | 		internal override bool CheckPressed() | ||||||
|  | 		{ | ||||||
|  | 			return false; | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
|  | } | ||||||
		Loading…
	
		Reference in New Issue