My goal is to make an application that runs in the background (like Luma 3Ds's Rosalina Menu which can be pulled up at almost anytime.) that when a key combo is activated it will tell the system the home button has been pushed.
I've been digging around for hours on ctrulib's documentation and 3dbrew.org and the best I've got is this:
Some page on 3dbrew about NS and APT Services, it seems that the homebutton sends some kind of apt command, and I found a number next to it on the page (https://3dbrew.org/wiki/NS_and_APT_Services#Command) and I found something in the ctrulib docs about aptSendCommand (or something along those lines, don't remember the exact thing) I tried that, along with the code. I tried 6, then tried the COMMAND_HOME_BUTTON_SINGLE, neither worked. I don't remember the error with COMMAND_HOME_BUTTON_SINGLE but with 6 it said something about not being able to convert from unsigned long * number to integer.
I need to know 2 things:
1: How can I trigger the home menu (what do I need in the code)?
2: How can I make it run constantly in the background like the Rosalina Menu does?
I've been digging around for hours on ctrulib's documentation and 3dbrew.org and the best I've got is this:
Some page on 3dbrew about NS and APT Services, it seems that the homebutton sends some kind of apt command, and I found a number next to it on the page (https://3dbrew.org/wiki/NS_and_APT_Services#Command) and I found something in the ctrulib docs about aptSendCommand (or something along those lines, don't remember the exact thing) I tried that, along with the code. I tried 6, then tried the COMMAND_HOME_BUTTON_SINGLE, neither worked. I don't remember the error with COMMAND_HOME_BUTTON_SINGLE but with 6 it said something about not being able to convert from unsigned long * number to integer.
I need to know 2 things:
1: How can I trigger the home menu (what do I need in the code)?
2: How can I make it run constantly in the background like the Rosalina Menu does?