Add Sunshine protocol extension to support non-normalized key codes

This commit is contained in:
Cameron Gutman
2023-01-16 21:05:11 -06:00
parent 22adeb3902
commit c9a5cea93e
3 changed files with 15 additions and 3 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ typedef struct _NV_HAPTICS_PACKET {
#define KEY_UP_EVENT_MAGIC 0x00000004
typedef struct _NV_KEYBOARD_PACKET {
NV_INPUT_HEADER header;
char zero1;
char flags; // Sunshine extension (always 0 for GFE)
short keyCode;
char modifiers;
short zero2;