Update hotkeys dumper to use asciidoctor keyboard macro

This commit is contained in:
Jon Evans 2021-06-01 22:46:02 -04:00
parent 9effeb1fcb
commit c8f308dd36
1 changed files with 6 additions and 1 deletions

View File

@ -243,9 +243,14 @@ void PANEL_HOTKEYS_EDITOR::dumpHotkeys()
stream << wxT( "| " ) << hk.m_Actions[0]->GetLabel() << endl;
if( hk.m_EditKeycode > 0 )
stream << wxT( " | `" ) << KeyNameFromKeyCode( hk.m_EditKeycode ) << '`' << endl;
{
stream << wxT( " | kbd:[" ) << KeyNameFromKeyCode( hk.m_EditKeycode ) << ']'
<< endl;
}
else
{
stream << wxT( " |" ) << endl;
}
stream << wxT( " | " ) << hk.m_Actions[0]->GetDescription( false ) << endl;
}