Add more special key codes to keyboard keys

ref T404
This commit is contained in:
Roland Winklmeier
2018-10-22 12:14:48 +02:00
committed by Klaus Basan
parent 6cb0ed583e
commit 0f140cb155
6 changed files with 80 additions and 9 deletions

View File

@@ -67,6 +67,14 @@ namespace BlackInput
{ XK_Control_R, Key_ControlRight },
{ XK_Alt_L, Key_AltLeft },
{ XK_Alt_R, Key_AltRight },
{ XK_KP_Add, Key_Plus },
{ XK_plus, Key_Plus },
{ XK_KP_Subtract, Key_Minus },
{ XK_minus, Key_Minus },
{ XK_period, Key_Period },
{ XK_KP_Divide, Key_Divide },
{ XK_KP_Multiply, Key_Multiply },
{ XK_comma, Key_Comma },
};
CKeyboardLinux::CKeyboardLinux(QObject *parent) :