Update readme for bindings->keyboard keys

This commit is contained in:
Vasily
2019-05-25 18:49:42 +02:00
committed by username223
parent 7d37ec9c0d
commit 1429e833fe
2 changed files with 12 additions and 10 deletions
+6 -3
View File
@@ -596,7 +596,7 @@ void OverlayController::processKeyboardBindings()
if ( m_actions.keyboardOne() )
{
constexpr auto defaultDiscordMuteBinding = "^>m";
// run keyboard
appSettings()->beginGroup( settingsKeyboardName );
const auto commands
= appSettings()
@@ -604,24 +604,27 @@ void OverlayController::processKeyboardBindings()
.toString()
.toStdString();
appSettings()->endGroup();
sendStringAsInput( commands );
}
if ( m_actions.keyboardTwo() )
{
// run keyboard
appSettings()->beginGroup( settingsKeyboardName );
const auto commands
= appSettings()->value( "keyboardTwo" ).toString().toStdString();
appSettings()->endGroup();
sendStringAsInput( commands );
}
if ( m_actions.keyboardThree() )
{
// run keyboard
appSettings()->beginGroup( settingsKeyboardName );
const auto commands
= appSettings()->value( "keyboardThree" ).toString().toStdString();
appSettings()->endGroup();
sendStringAsInput( commands );
}
}