Unzip the attached file and overwrite dmenu on your dingoo. It should be backward compatible. To add a submenu, just add a menuitem without executable and workpath, but with SubMenuItems. Something like this,
- Code: Select all
MenuItem SubMenuTest
{
Icon = "res/game1.png"
Name = "SubMenuTest"
SubMenuItem SubTest1
{
Icon = "res/game2.png"
Name = "SubTest1"
Executable = "./duh"
WorkDir = "/usr/local/duh"
}
SubMenuItem SubTest2
{
Icon = "res/game2.png"
Name = "SubTest2"
Executable = "./duh"
WorkDir = "/usr/local/duh"
}
SubMenuItem SubTest3
{
Icon = "res/game2.png"
Name = "SubTest3"
Executable = "./duh"
WorkDir = "/usr/local/duh"
}
SubMenuItem SubTest4
{
Icon = "res/game2.png"
Name = "SubTest4"
Executable = "./duh"
WorkDir = "/usr/local/duh"
}
SubMenuItem SubTest5
{
Icon = "res/game2.png"
Name = "SubTest5"
Executable = "./duh"
WorkDir = "/usr/local/duh"
}
}
Once the submenu is selected, press A to open it, and press B to close. Use up/down to select the submenu items and press A to launch.