Bug fix for family keyboard mapping of caret character. Fix for family keyboard potential data tearing on key state. For issue #464
This commit is contained in:
parent
04e39e4fc9
commit
d767153531
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue