Single button disc cycling
I have installed a Raspberry Pi inside a Playstation Classic shell, and want the open button to cycle through the disc on multi-disc games. I can somewhat do this by setting hotkeys for opening virtual tray, inserting next disc, and closing virtual tray. The "problem" that I than run into, is that when I get to the last disc RetroArch doesn't loop back to the first disc, so if I want to go back to a previous disc, I have to exit RetroArch https://www.applock.ooo/
Does anybody have an idea how I might get around this?
You can use the RetroArch network interface to send commands to RA through a script that's called when you press the button - http://docs.libretro.com/development/retroarch/network-control-interface/#enabling. It looks like the interface supports the 'Disk Next/Prev' commands so you can switch disks, but I don't see a command to get the current disk index. Maybe you parse the RA log to get the current disk index and determine if you need to go next/prev in the disk index list.