mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-31 16:09:03 -05:00 
			
		
		
		
	hid/npad: Move function declarations
Clearly separate these from the variable declarations to make them more visible.
This commit is contained in:
		| @@ -301,6 +301,12 @@ private: | ||||
|         bool is_connected; | ||||
|     }; | ||||
|  | ||||
|     void InitNewlyAddedControler(std::size_t controller_idx); | ||||
|     bool IsControllerSupported(NPadControllerType controller); | ||||
|     bool IsControllerSupported(NPadControllerType controller) const; | ||||
|     NPadControllerType DecideBestController(NPadControllerType priority) const; | ||||
|     void RequestPadStateUpdate(u32 npad_id); | ||||
|  | ||||
|     u32 press_state{}; | ||||
|  | ||||
|     NPadType style{}; | ||||
| @@ -321,12 +327,7 @@ private: | ||||
|     std::array<ControllerHolder, 10> connected_controllers{}; | ||||
|     bool can_controllers_vibrate{true}; | ||||
|  | ||||
|     void InitNewlyAddedControler(std::size_t controller_idx); | ||||
|     bool IsControllerSupported(NPadControllerType controller) const; | ||||
|     NPadControllerType DecideBestController(NPadControllerType priority) const; | ||||
|     void RequestPadStateUpdate(u32 npad_id); | ||||
|     std::array<ControllerPad, 10> npad_pad_states{}; | ||||
|     bool IsControllerSupported(NPadControllerType controller); | ||||
|     bool is_in_lr_assignment_mode{false}; | ||||
|     Core::System& system; | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lioncash
					Lioncash