Question: Home button
XITRIX opened this issue · comments
Vinogradov Daniil commented
Hi there!
I'm interesting, is it possible to handle home button pressing inside of app?
I know that it's possible to prevent app from closing by using appletBeginBlockingHomeButton(0)
, but is it possible to handle home button as any other button?
MasaGratoR commented
libnx/nx/include/switch/services/hidsys.h
Line 211 in c5a9a90
MasaGratoR commented
fincs commented
Seizing control of the HOME button isn't something regular .nro homebrew (as opposed to custom sysmodules/etc) should be doing, as it breaks the API contract Horizon enforces for regular apps.