mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-20 07:24:20 +00:00
Fix key repeating
This commit is contained in:
1 parent
f9ef0a99d6
commit
08bc4770cd
1 file changed
-5
@@ -115,11 +115,6 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event)
|
||||
modifiers |= MODIFIER_SHIFT;
|
||||
}
|
||||
|
||||
// Ignore repeats
|
||||
if (event->repeat != 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set keycode
|
||||
if (event->keysym.sym >= SDLK_0 && event->keysym.sym <= SDLK_9) {
|
||||
keyCode = (event->keysym.sym - SDLK_0) + VK_0;
|
||||
|
||||
Reference in new issue
Block a user