moonlight-stream / moonlight-common-c

Core implementation of Nvidia's GameStream protocol
GNU General Public License v3.0
458 stars 167 forks source link

Added unicode input event #63

Closed mariotaku closed 3 years ago

mariotaku commented 3 years ago

Added LiSendUnicodeEvent function - this function can send any text encoded with UTF-8 to host, up to 32 bytes.

mariotaku commented 3 years ago
Another finding is that input event packets seems to be laid as following format: Offset Size Type Description
0x0 4 size_t Size of following data (type enum + payload), big endian
0x4 4 int Type enum of input event packet, little endian
0x8 var byte[] Variable length bytes