mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T645, minor style changes
This commit is contained in:
@@ -83,7 +83,7 @@ namespace BlackCore
|
||||
|
||||
void CInputManager::processButtonCombinationChanged(const CHotkeyCombination &combination)
|
||||
{
|
||||
// Merge in the keyboard keys
|
||||
// Merge in the keyboard dkeys
|
||||
CHotkeyCombination copy(combination);
|
||||
copy.setKeyboardKeys(m_lastCombination.getKeyboardKeys());
|
||||
processCombination(copy);
|
||||
@@ -124,7 +124,7 @@ namespace BlackCore
|
||||
{
|
||||
m_keyboard = IKeyboard::create(this);
|
||||
m_joystick = IJoystick::create(this);
|
||||
connect(m_keyboard.get(), &IKeyboard::keyCombinationChanged, this, &CInputManager::processKeyCombinationChanged, Qt::QueuedConnection);
|
||||
connect(m_keyboard.get(), &IKeyboard::keyCombinationChanged, this, &CInputManager::processKeyCombinationChanged, Qt::QueuedConnection);
|
||||
connect(m_joystick.get(), &IJoystick::buttonCombinationChanged, this, &CInputManager::processButtonCombinationChanged, Qt::QueuedConnection);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user