mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 00:34:06 +00:00
Send UTF-8 events on the keyboard channel
This avoids racing with regular keyboard events that could affect the input.
This commit is contained in:
1 parent
342b106bbb
commit
4a95eb35b2
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -980,7 +980,7 @@ int LiSendUtf8TextEvent(const char *text, unsigned int length) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
holder->channelId = CTRL_CHANNEL_UTF8;
|
||||
holder->channelId = CTRL_CHANNEL_KEYBOARD;
|
||||
holder->enetPacketFlags = ENET_PACKET_FLAG_RELIABLE;
|
||||
|
||||
// Magic + string length
|
||||
|
||||
Reference in new issue
Block a user