diff --git a/src/drivers/Qt/input.cpp b/src/drivers/Qt/input.cpp index 39d76699..75712a4a 100644 --- a/src/drivers/Qt/input.cpp +++ b/src/drivers/Qt/input.cpp @@ -1838,12 +1838,14 @@ static void UpdateFKB() for (x = 0; x < 0x48; x++) { - fkbkeys[x] = 0; - if (DTestButton(&fkbmap[x])) { fkbkeys[x] = 1; } + else + { + fkbkeys[x] = 0; + } } } diff --git a/src/drivers/Qt/keyscan.cpp b/src/drivers/Qt/keyscan.cpp index 57d935c4..9882fd0e 100644 --- a/src/drivers/Qt/keyscan.cpp +++ b/src/drivers/Qt/keyscan.cpp @@ -401,9 +401,9 @@ SDL_Scancode convQtKey2SDLScanCode(Qt::Key q) case Key_BracketRight: s = SDL_SCANCODE_RIGHTBRACKET; break; - //case Key_AsciiCircum: - // s = SDL_SCANCODE_UNKNOWN; - //break; + case Key_AsciiCircum: + s = SDL_SCANCODE_6; + break; case Key_Underscore: s = SDL_SCANCODE_MINUS; break;