mirror of
https://github.com/yawut/SDL.git
synced 2026-08-23 01:05:09 -05:00
*** empty log message ***
This commit is contained in:
@@ -117,7 +117,7 @@ static void updateKeyboard(_THIS)
|
||||
|
||||
if ((n = read(private->fd, buf, sizeof(buf))) > 0) {
|
||||
for (i = 0; i < n; i++) {
|
||||
char c = buf[i] & 0x7f;
|
||||
unsigned char c = buf[i] & 0x7f;
|
||||
if (c == 224) // special key prefix -- what should we do with it?
|
||||
continue;
|
||||
int release = (buf[i] & 0x80) != 0;
|
||||
|
||||
Reference in New Issue
Block a user