(ie I get that if the scancodes were in rough physical layout order, it makes sense that QWERTY scancodes become AZERTY etc; but USB scancodes go A B C D E... would they really remap those?)
TIL that USB keyboards send 'scancodes' quite unlike the ones I'm used to from windows messages/PS2 keyboards (I guess) - indeed the latters come in alphabetical order. do any fr/de keyboard users (AZERTY etc) know if the USB scancodes are different? https://www.win.tue.nl/~aeb/linux/kbd/scancodes-14.html …
-
-
Prikaži ovu nit
-
ah, according to page 53 of the spec, they are indeed different. so on a german keyboard, Y and Z are swapped even though the order of codes looks alphabetical not physical in nature. https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf …
Prikaži ovu nit
Kraj razgovora
Novi razgovor -
-
-
the scancodes are the same on all keyboards for the same position (+/- additional keys of course), based on US QWERTY. So the 'Z' key on German QUERTZ keyboard has a Y scancode and vice versa (at least according to the SDL2 scancodes which mirror the USB ones)
-
Having investigated this to implement support for some European keyboards, I can confirm that the scan codes follow the keyboard physical layout regardless of the key labels. Interestingly, the scan codes that arrive in the application are different for Windows, OSX, and Linux.
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.