| 
									
										
										
										
											2017-06-06 13:49:49 +02:00
										 |  |  | // Copyright 2017 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2+
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-07-07 00:40:15 +02:00
										 |  |  | #include "DolphinQt/Config/Mapping/MappingWidget.h"
 | 
					
						
							| 
									
										
										
										
											2017-06-06 13:49:49 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | class QHBoxLayout; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class HotkeyWii final : public MappingWidget | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2018-05-13 16:16:20 -04:00
										 |  |  |   Q_OBJECT | 
					
						
							| 
									
										
										
										
											2017-06-06 13:49:49 +02:00
										 |  |  | public: | 
					
						
							|  |  |  |   explicit HotkeyWii(MappingWindow* window); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   InputConfig* GetConfig() override; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | private: | 
					
						
							|  |  |  |   void LoadSettings() override; | 
					
						
							|  |  |  |   void SaveSettings() override; | 
					
						
							|  |  |  |   void CreateMainLayout(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // Main
 | 
					
						
							|  |  |  |   QHBoxLayout* m_main_layout; | 
					
						
							|  |  |  | }; |