Re: [kbd] [PATCH 0/5] Add Apple USB keyboard models A1048 and A1243, Swedish localization
Alexey Gladkov <[email protected]> Wed, 24 Oct 2018 17:14:48 +0200
| Newsgroups | dev.linux.lists.kbd |
|---|---|
| Message-ID | <20181024151448.GV3219@comp-core-i7-2640m-0182e6> |
On Mon, Oct 22, 2018 at 05:37:38PM +0200, Fredrik Noring wrote: > Hi Alexey, > > > You put the product ID in the filename. Do you think the keycodes will be > > unique for each product? > > For Apple keyboards (at least), I hope that the USB triplet idVendor, > idProduct, and bCountryCode can distinctly indicate the proper keymap. > > Most variations are due to bCountryCode (localization), with minor > differences for idProduct (such as the difference between keycodes 41 > and 86 for Apple models A1048 and A1243, for example). I would be > surprised if they reused idProduct for incompatible products. > > It would be very helpful if the kernel could automatically select the > corresponding keymap when recognising a known USB-keyboard product. OK. Applied. Thanks! -- Rgrds, legion