1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-29 00:30:01 +01:00

Fix incorrectly mapped keys

Fixes #483
This commit is contained in:
Jonas Kvinge 2020-07-16 22:28:35 +02:00
parent 07553476d4
commit 4478174dc2
2 changed files with 4 additions and 3 deletions

View File

@ -27,9 +27,9 @@ namespace KeyMapperWin {
static const QMap<Qt::Key, quint32> keymapper_win_ = {
{ Qt::Key_0, quint32(Qt::Key_0) },
{ Qt::Key_1, quint32(Qt::Key_1) },
{ Qt::Key_3, quint32(Qt::Key_2) },
{ Qt::Key_2, quint32(Qt::Key_2) },
{ Qt::Key_3, quint32(Qt::Key_3) },
{ Qt::Key_4, quint32(Qt::Key_4) },
{ Qt::Key_5, quint32(Qt::Key_5) },
{ Qt::Key_6, quint32(Qt::Key_6) },

View File

@ -42,7 +42,8 @@ static const QMap<Qt::Key, quint32> keymapper_x11_ = {
{ Qt::Key_0, XK_0 },
{ Qt::Key_1, XK_1 },
{ Qt::Key_3, XK_2 },
{ Qt::Key_2, XK_2 },
{ Qt::Key_3, XK_3 },
{ Qt::Key_4, XK_4 },
{ Qt::Key_5, XK_5 },
{ Qt::Key_6, XK_6 },