*** empty log message ***
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401382
This commit is contained in:
parent
4951efe545
commit
a81db3ea34
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue