mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	HID: use ButtonDevice
This commit is contained in:
		
							parent
							
								
									3974895e08
								
							
						
					
					
						commit
						1d1329af23
					
				
					 5 changed files with 100 additions and 1 deletions
				
			
		|  | @ -94,4 +94,10 @@ std::unique_ptr<InputDeviceType> CreateDevice(const std::string& params) { | |||
|     return pair->second->Create(package); | ||||
| } | ||||
| 
 | ||||
| /**
 | ||||
|  * A button device is an input device that returns bool as status. | ||||
|  * true for pressed; false for released. | ||||
|  */ | ||||
| using ButtonDevice = InputDevice<bool>; | ||||
| 
 | ||||
| } // namespace Input
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue