mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-18 00:56:38 +00:00
Ignore autorepeat key events
This commit is contained in:
parent
f1e789abe5
commit
ae6e6f6400
@ -201,6 +201,10 @@ bool MoonlightInstance::HandleInputEvent(const pp::InputEvent& event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (event.GetModifiers() & PP_INPUTEVENT_MODIFIER_ISAUTOREPEAT) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
LiSendKeyboardEvent(KEY_PREFIX << 8 | keyCode,
|
LiSendKeyboardEvent(KEY_PREFIX << 8 | keyCode,
|
||||||
KEY_ACTION_DOWN, modifiers);
|
KEY_ACTION_DOWN, modifiers);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user