Ref T650, added more hotkeys such as OEM keys

* based on http://www.kbdlayout.info/
* OEM key solves accent / dead key issue for most cases
* Mac/Linux parts still missing
This commit is contained in:
Klaus Basan
2019-05-10 03:43:51 +02:00
parent 6ff118b3c0
commit bad8ad2a8e
7 changed files with 97 additions and 14 deletions

View File

@@ -356,7 +356,7 @@ namespace BlackGui
void CHotkeyDialog::advancedKeyChanged(int oldIndex, int newIndex)
{
CKeySelectionBox *ksb = qobject_cast<CKeySelectionBox *>(sender());
const CKeySelectionBox *ksb = qobject_cast<CKeySelectionBox *>(sender());
Q_ASSERT(ksb);
if (ksb->itemData(oldIndex).canConvert<CKeyboardKey>() && ksb->itemData(newIndex).canConvert<CKeyboardKey>())