Ref T645, added space/dead grave as hotkeys

This commit is contained in:
Klaus Basan
2019-05-09 18:30:58 +02:00
parent 7b5b15b0e8
commit 74e7fa46b6
6 changed files with 28 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ using namespace BlackMisc::Input;
namespace BlackInput
{
// https://www.cl.cam.ac.uk/~mgk25/ucs/keysymdef.h
static QHash<int, Input::KeyCode> keyMapping
{
{ XK_0, Key_0 },
@@ -76,6 +76,8 @@ namespace BlackInput
{ XK_BackSpace, Key_Back },
{ XK_Tab, Key_Tab },
{ XK_Escape, Key_Esc },
{ XK_space, Key_Space },
{ XK_dead_grave, Key_DeadGrave },
{ XK_comma, Key_Comma },
};