aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2017-06-02 09:28:39 -0600
committerJiri Kosina <jkosina@suse.cz>2017-06-08 13:58:03 +0200
commitbd77a0f08ec57f7b805dfbaa64b36329dfa005d6 (patch)
treee081978ea7dd599f40629a16cf264d86a3e417a0 /drivers/ntb
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff)
downloadlinux-dev-bd77a0f08ec57f7b805dfbaa64b36329dfa005d6.tar.xz
linux-dev-bd77a0f08ec57f7b805dfbaa64b36329dfa005d6.zip
HID: apple: Use country code to detect ISO keyboards
At least on newer laptops, Apple uses the same USB ID for both ISO and ANSI keyboards. However, they have been good about filling in the bCountryCode field in the HID descriptor on all of their keyboards. A value of 13 indicates an ISO layout and other values indicate various country-specific ANSI layouts. With this patch, users of Apple US keyboards will no longer have to run `echo 0 > /sys/module/hid_apple/parameters/iso_layout` to get a working tilde key. Please test this patch and send feedback if you have a Macbook or an Apple keyboard. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions