nusb/kb: fix alt/altgr being swapped for some reason
This commit is contained in:
parent
f1b1e0d637
commit
c5da8810ee
1 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ static char sctab[256] =
|
|||
[0xc8] 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||
[0xd0] 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||
[0xd8] 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||
[0xe0] 0x1d, 0x2a, 0xb8, 0xfd, 0xe1, 0x36, 0xe4, 0xfe,
|
||||
[0xe0] 0x1d, 0x2a, 0x38, 0xfd, 0xe1, 0x36, 0xb8, 0xfe,
|
||||
[0xe8] 0x0, 0x0, 0x0, 0x0, 0x0, 0xf3, 0xf2, 0xf1,
|
||||
[0xf0] 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||
[0xf8] 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||
|
@ -639,7 +639,7 @@ readerproc(void* a)
|
|||
if(f->kinfd < 0){
|
||||
f->kinfd = open("/dev/kbin", OWRITE);
|
||||
if(f->kinfd < 0)
|
||||
hdfatal(f, "open /dev/kbdin");
|
||||
hdfatal(f, "open /dev/kbin");
|
||||
|
||||
f->repeatc = chancreate(sizeof(ulong), 0);
|
||||
if(f->repeatc == nil)
|
||||
|
|
Loading…
Reference in a new issue