Hello everyone, I have a question, I can open the main menu with this code below.
However, I would like to know if there is any code that I can directly open the "control" settings without having to go through the main menu.
Can someone help me please.
::fe.signal("configure");
PS:
I found this code inside fe_config.cpp
void FeInputSelMenu::get_options( FeConfigContext &ctx )
{
ctx.set_style( FeConfigContext::EditList, "Configure / Controls" );
ctx.fe_settings.get_input_mappings( m_mappings );
std::vector < FeMapping >::iterator it;
for ( it=m_mappings.begin(); it != m_mappings.end(); ++it )
{
std::string value, orstr;
ctx.fe_settings.get_resource( "OR", orstr );
std::vector < std::string >::iterator iti;
for ( iti=(*it).input_list.begin(); iti != (*it).input_list.end(); ++iti )
{
if ( iti > (*it).input_list.begin() )
{
value += " ";
value += orstr;
value += " ";
}
value += (*iti);
}