summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/input
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-03-28 20:07:08 +0000
committerthompsa <thompsa@FreeBSD.org>2010-03-28 20:07:08 +0000
commit05c3e8be6ebaab5d9005fda0547e1fe9248fb460 (patch)
treea549742dfcff6d59495105b11d948fee294e1f95 /sys/dev/usb/input
parent1774b31e4dfc2b35f9c330aef9012133ee0a8dd6 (diff)
downloadFreeBSD-src-05c3e8be6ebaab5d9005fda0547e1fe9248fb460.zip
FreeBSD-src-05c3e8be6ebaab5d9005fda0547e1fe9248fb460.tar.gz
Do not swap Apple keys when detecting Apple-FN keyboards.
Reported by: Steven Noonan Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/input')
-rw-r--r--sys/dev/usb/input/ukbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/input/ukbd.c b/sys/dev/usb/input/ukbd.c
index 399cd59..8584f8d 100644
--- a/sys/dev/usb/input/ukbd.c
+++ b/sys/dev/usb/input/ukbd.c
@@ -896,8 +896,7 @@ ukbd_attach(device_t dev)
hid_input, 0, &sc->sc_loc_apple_fn, &flags,
&temp_id)) {
if (flags & HIO_VARIABLE)
- sc->sc_flags |= UKBD_FLAG_APPLE_FN |
- UKBD_FLAG_APPLE_SWAP;
+ sc->sc_flags |= UKBD_FLAG_APPLE_FN;
DPRINTFN(1, "Found Apple FN-key\n");
apple_keys = 1;
sc->sc_kbd_id = temp_id;
OpenPOWER on IntegriCloud