Hi.
There is a ton of great functionality in CONFIG which is accessible by pressing key or a combination of keys. It's ok when you are sitting close to the machine, but I've been always using long joystick cables and now I've Dualshock 4 connected via TOM2 and a little chinese BT adapter so I'm few meters away.
What I mean it'd be wonderful to be able to select a file from SD card or TNFS server and boot it using only the joystick.
The simplest solution could be like this:
diff -Nur fujinet-config-orig/src/diskulator_select.c fujinet-config/src/diskulator_select.c
--- fujinet-config-orig/src/diskulator_select.c 2021-07-09 00:11:17.670188546 +0200
+++ fujinet-config/src/diskulator_select.c 2021-07-09 00:04:50.473515959 +0200
@@ -647,6 +647,10 @@
case '<':
if (context->dir_page > 0)
*ss=PREV_PAGE;
+ else {
+ *ss=DONE;
+ context->state = MOUNT_AND_BOOT;
+ }
break;
case '>':
if (!context->dir_eof)
After I select a file, then I choose the slot, and get back by pressing joy to the left, if there is no more pages left, mount and boot.
Seems to work, what do you think?
W.
joystick_mount_and_boot.diff