c0pperdragon / Amiga-Digital-Video

Add a digital video port to vintage Amiga machines
299 stars 30 forks source link

Unable to activate Single Button Mode for OSD menu #65

Open bkodenkt opened 2 years ago

bkodenkt commented 2 years ago

For some reason, I am unable to switch to single_button_mode. When I short press the button, the menu comes up. When I short press it again, the menu goes away. When I long press it, scanlines are activated. When I long press it again, the scanlines are deactivated.

I found out that I can activate only using a single button by adding single_button_mode=1. To my demise, no guide actually states where to set this. Now, where exactly do I add this config value? In config.txt? configA.txt? default_config.txt? Or inside the profiles folders? And then, in which one exactly?

IanSB commented 2 years ago

You edit the default.txt file in the /profiles folder on the SD card but if you are using a linuxjedi CPLD board then you should look in the "Amiga_CPLD_Readme" folder on the SD card which contains a readme to setup for correct profile and single button mode.

bkodenkt commented 2 years ago

I tried a lot of things/files/places to edit single_button_mode=1, but it did not work. As mentioned here in hoglet67s issue board, simply reverting back to that specific release instantly solved the issue.

maximevince commented 6 months ago

For anyone still wondering. For some reason single_button_mode is inverted for cpld_version == DESIGN_SIMPLE, i.e. all the early hardware designs without a CPLD. See: https://github.com/hoglet67/RGBtoHDMI/blob/master/src/osd.c#L5434

I have no idea what the reason is for this. But setting single_button_mode=0 effectively enables single button mode on the non-CPLD versions...

It has been introduced in this commit: https://github.com/hoglet67/RGBtoHDMI/commit/7d438d385c86392fa441b5503b9f9ab4e014c66f