ppkantorski / Ultrahand-Overlay

The fully craft-able Nintendo Switch overlay executor.
GNU General Public License v2.0
197 stars 25 forks source link

Overlay shortcuts #199

Closed gczark closed 1 month ago

gczark commented 1 month ago

Hello, is it possible to pull some commands from an overlay then merge them with the others. For example, I only want to see the slider from Master Volume and the toggle from Fizeau.

Out of topic, how can I modify the slider in Master Volume to have increments of 0.20?

ppkantorski commented 1 month ago

You can create a trackbar slider in an Ultrahand package to control the brightness, but I don't think i've added volume.

[Brightness Level]
;mode=trackbar
;min_value=1
;max_value=100
;units=%
;on_every_tick=true
backlight {value}

However I can if it is desired. As for the other Fizeau settings, I will not be adding the ability to control color and contrast any time soon. Those can be controlled via Fizeau pretty easily.

As for your original question, it depends on how the overlays / sys modules are written. If Fizeau does everything with a single INI and has the sys module read everything from that INI then it should be possible to interface with Fizeau directly from Ultrahand with ease. However you can't directly access and run code from within other overlays in Ultrahand without incorporating that code into Ultrahand itself. You can use launch arguments though (which vary in usage depending upon how the overlay is written), but the way nx-ovlloader works right now is once you open an overlay, Ultrahand / Tesla Menu is no longer opened.

ppkantorski commented 1 month ago

Actually master volume may be a bit trickier than I thought. I couldn't get it working with libnx's current methods, and there isn't much to go off of. I may have to just look into it more later. Hopefully I've addressed your question, but since there isn't an issue being raised I am going to be closing this issue. If I ever figure it out / get it working, I'll add it in.