Fix alt buttons and add hack to combat flickery key presses (far from perfect)
This commit is contained in:
parent
1f0115800c
commit
3ee97ceb4f
2 changed files with 108 additions and 13 deletions
|
|
@ -3220,6 +3220,9 @@ static void PollInputEvents(void)
|
|||
|
||||
if (actualKey > -1)
|
||||
currentKeyState[actualKey] = msg->Char0;
|
||||
|
||||
if (msg->Char0)
|
||||
msg->Char0 = 2;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ static int android_close(void *cookie)
|
|||
|
||||
#if defined(PLATFORM_UWP)
|
||||
|
||||
#define MAX_MESSAGES 128 //If there are over 128 messages, I will cry... either way, this may be too much
|
||||
#define MAX_MESSAGES 512 //If there are over 128 messages, I will cry... either way, this may be too much EDIT: Welp, 512
|
||||
|
||||
static int UWPOutMessageId = -1; //Stores the last index for the message
|
||||
static UWPMessage* UWPOutMessages[MAX_MESSAGES]; //Messages out to UWP
|
||||
|
|
|
|||
Loading…
Reference in a new issue