Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Press the hotkey when in game. A png screenshot will appear on the SDCard, in `/
> [!IMPORTANT]
> If one of the hotkeys in use is mapped to something else within MinUI, the pak may not trigger.

The default hotkey is `L3` - see the Input app to determine what this maps to on your device. To utilize a different hotkey, create a file named `hotkey` in the pak folder with the name of the key you want to monitor. Any of the buttons supported by [`minui-btntest`](https://github.com/josegonzalez/minui-btntest) are supported. You can also specify multiple by using a comma-separated list.
The default hotkey is `L2` - see the Input app to determine what this maps to on your device. To utilize a different hotkey, create a file named `hotkey` in the pak folder with the name of the key you want to monitor. Any of the buttons supported by [`minui-btntest`](https://github.com/josegonzalez/minui-btntest) are supported. You can also specify multiple by using a comma-separated list.

### Debug Logging

Expand Down
4 changes: 2 additions & 2 deletions bin/service-on
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$progdir/lib"
main() {
cd "$SDCARD_PATH" || return 1

hotkey="HOTKEY_1"
hotkey=""
if [ -f "$progdir/hotkey" ]; then
hotkey="$(cat "$progdir/hotkey")"
fi

if [ -z "$hotkey" ]; then
hotkey="btn_l3"
hotkey="btn_l2"
fi

(PLATFORM="$PLATFORM" PROGDIR="$progdir" HOTKEY="$hotkey" "$bindir/screenshot-monitor" >"$LOGS_PATH/$PAK_NAME.service.txt" 2>&1 &) &
Expand Down
Loading