am: add SetHomeButtonDoubleClickEnabled
This commit is contained in:
		| @@ -19,7 +19,7 @@ IAppletCommonFunctions::IAppletCommonFunctions(Core::System& system_, | ||||
|         {21, nullptr, "TryPopFromAppletBoundChannel"}, | ||||
|         {40, nullptr, "GetDisplayLogicalResolution"}, | ||||
|         {42, nullptr, "SetDisplayMagnification"}, | ||||
|         {50, nullptr, "SetHomeButtonDoubleClickEnabled"}, | ||||
|         {50, D<&IAppletCommonFunctions::SetHomeButtonDoubleClickEnabled>, "SetHomeButtonDoubleClickEnabled"}, | ||||
|         {51, D<&IAppletCommonFunctions::GetHomeButtonDoubleClickEnabled>, "GetHomeButtonDoubleClickEnabled"}, | ||||
|         {52, nullptr, "IsHomeButtonShortPressedBlocked"}, | ||||
|         {60, nullptr, "IsVrModeCurtainRequired"}, | ||||
| @@ -40,6 +40,13 @@ IAppletCommonFunctions::IAppletCommonFunctions(Core::System& system_, | ||||
|  | ||||
| IAppletCommonFunctions::~IAppletCommonFunctions() = default; | ||||
|  | ||||
| Result IAppletCommonFunctions::SetHomeButtonDoubleClickEnabled( | ||||
|     bool home_button_double_click_enabled) { | ||||
|     LOG_WARNING(Service_AM, "(STUBBED) called, home_button_double_click_enabled={}", | ||||
|                 home_button_double_click_enabled); | ||||
|     R_SUCCEED(); | ||||
| } | ||||
|  | ||||
| Result IAppletCommonFunctions::GetHomeButtonDoubleClickEnabled( | ||||
|     Out<bool> out_home_button_double_click_enabled) { | ||||
|     LOG_WARNING(Service_AM, "(STUBBED) called"); | ||||
|   | ||||
| @@ -16,6 +16,7 @@ public: | ||||
|     ~IAppletCommonFunctions() override; | ||||
|  | ||||
| private: | ||||
|     Result SetHomeButtonDoubleClickEnabled(bool home_button_double_click_enabled); | ||||
|     Result GetHomeButtonDoubleClickEnabled(Out<bool> out_home_button_double_click_enabled); | ||||
|     Result SetCpuBoostRequestPriority(s32 priority); | ||||
|     Result GetCurrentApplicationId(Out<u64> out_application_id); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Liam
					Liam