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++)
|
for (x = 0; x < 0x48; x++)
|
||||||
{
|
{
|
||||||
fkbkeys[x] = 0;
|
|
||||||
|
|
||||||
if (DTestButton(&fkbmap[x]))
|
if (DTestButton(&fkbmap[x]))
|
||||||
{
|
{
|
||||||
fkbkeys[x] = 1;
|
fkbkeys[x] = 1;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
fkbkeys[x] = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -401,9 +401,9 @@ SDL_Scancode convQtKey2SDLScanCode(Qt::Key q)
|
||||||
case Key_BracketRight:
|
case Key_BracketRight:
|
||||||
s = SDL_SCANCODE_RIGHTBRACKET;
|
s = SDL_SCANCODE_RIGHTBRACKET;
|
||||||
break;
|
break;
|
||||||
//case Key_AsciiCircum:
|
case Key_AsciiCircum:
|
||||||
// s = SDL_SCANCODE_UNKNOWN;
|
s = SDL_SCANCODE_6;
|
||||||
//break;
|
break;
|
||||||
case Key_Underscore:
|
case Key_Underscore:
|
||||||
s = SDL_SCANCODE_MINUS;
|
s = SDL_SCANCODE_MINUS;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue