diff options
author | thompsa <thompsa@FreeBSD.org> | 2010-03-28 20:07:08 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2010-03-28 20:07:08 +0000 |
commit | 05c3e8be6ebaab5d9005fda0547e1fe9248fb460 (patch) | |
tree | a549742dfcff6d59495105b11d948fee294e1f95 /sys/dev/usb/input | |
parent | 1774b31e4dfc2b35f9c330aef9012133ee0a8dd6 (diff) | |
download | FreeBSD-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.c | 3 |
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; |