From 3dadc95e5b7b9ab0f50e4c977f63167cf30da852 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Jan 2020 16:13:58 +0100 Subject: dinput: support win32 F13 -> F24 Fixes #1012 --- logic/win32-shortcuts.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/logic/win32-shortcuts.cpp b/logic/win32-shortcuts.cpp index c2920071..086c8d92 100644 --- a/logic/win32-shortcuts.cpp +++ b/logic/win32-shortcuts.cpp @@ -74,7 +74,21 @@ static const win_key windows_key_sequences[] { { DIK_F9, Qt::Key_F9 }, { DIK_F10, Qt::Key_F10 }, { DIK_F11, Qt::Key_F11 }, - { DIK_F12, Qt::Key_F12 }, + { DIK_F13, Qt::Key_F12 }, + { DIK_F14, Qt::Key_F12 }, + { DIK_F15, Qt::Key_F12 }, + { 0x67, Qt::Key_F12 }, + { 0x68, Qt::Key_F13 }, + { 0x69, Qt::Key_F14 }, + { 0x6a, Qt::Key_F15 }, + { 0x6b, Qt::Key_F16 }, + { 0x6c, Qt::Key_F17 }, + { 0x6d, Qt::Key_F18 }, + { 0x6e, Qt::Key_F19 }, + { 0x70, Qt::Key_F20 }, + { 0x71, Qt::Key_F21 }, + { 0x72, Qt::Key_F23 }, + { 0x73, Qt::Key_F24 }, { DIK_0, Qt::Key_0 }, { DIK_1, Qt::Key_1 }, { DIK_2, Qt::Key_2 }, -- cgit v1.2.3