Homebrew Background application that triggers home menu

Magicrafter13

Well-Known Member
OP
Member
Joined
Feb 19, 2017
Messages
134
Trophies
0
Website
matthewrease.net
XP
245
Country
United States
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?
 

Quantumcat

Dead and alive
Member
Joined
Nov 23, 2014
Messages
15,144
Trophies
0
Location
Canberra, Australia
Website
boot9strap.com
XP
11,094
Country
Australia
I was just going to look at their code and essentially copy the parts I need, but the code is to advanced/complicated for me to understand.
Creating it from scratch will be a million times harder than adapting their code, so I don't think the project will work out for you. You could however make a suggestion on the thread that there be a home menu option within Rosalina (not as good as being able to press something and go to the home menu but at least it is a solution for those with broken Home buttons).
 

TyDye

Linux and 3DS geek
Member
Joined
Apr 22, 2016
Messages
390
Trophies
0
Location
Milky Way Galaxy
XP
1,395
Country
United States
Creating it from scratch will be a million times harder than adapting their code, so I don't think the project will work out for you. You could however make a suggestion on the thread that there be a home menu option within Rosalina (not as good as being able to press something and go to the home menu but at least it is a solution for those with broken Home buttons).
i LOVE this feature idea. my 3DS freezes from time to time and i would love to be able to go back to home menu with out reboot
 

Magicrafter13

Well-Known Member
OP
Member
Joined
Feb 19, 2017
Messages
134
Trophies
0
Website
matthewrease.net
XP
245
Country
United States
I submitted a feature request for this, but it would still be nice if someone could help me with those apt commands, and how to use them. The ctrulib documentation is not very friendly for low to mid experienced coders, it just assumes you know what a lot of it means.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    ButterScott101 @ ButterScott101: +1