| 
									
										
										
										
											2017-02-08 22:15:43 -05:00
										 |  |  | // Copyright 2017 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2+
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "InputCommon/ControllerEmu/Control/Control.h"
 | 
					
						
							| 
									
										
										
										
											2017-02-10 19:31:21 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include <utility>
 | 
					
						
							| 
									
										
										
										
											2017-02-08 22:15:43 -05:00
										 |  |  | #include "InputCommon/ControlReference/ControlReference.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace ControllerEmu | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2017-04-30 14:53:33 +02:00
										 |  |  | Control::Control(std::unique_ptr<ControlReference> ref, const std::string& name_, | 
					
						
							|  |  |  |                  const std::string& ui_name_) | 
					
						
							|  |  |  |     : control_ref(std::move(ref)), name(name_), ui_name(ui_name_) | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-10 19:31:21 -05:00
										 |  |  | Control::Control(std::unique_ptr<ControlReference> ref, const std::string& name_) | 
					
						
							| 
									
										
										
										
											2017-04-30 14:53:33 +02:00
										 |  |  |     : Control(std::move(ref), name_, name_) | 
					
						
							| 
									
										
										
										
											2017-02-08 22:15:43 -05:00
										 |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Control::~Control() = default; | 
					
						
							|  |  |  | }  // namespace ControllerEmu
 |