MFC r205804

Do not swap Apple keys when detecting Apple-FN keyboards.

Reported by:	Steven Noonan
Submitted by:	Hans Petter Selasky
This commit is contained in:
Andrew Thompson 2010-04-06 23:30:57 +00:00
parent 3224ea55bb
commit 6b6aaa9fcd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=206325

View File

@ -903,8 +903,7 @@ ukbd_attach(device_t dev)
hid_input, 0, &sc->sc_loc_apple_fn, &flags, hid_input, 0, &sc->sc_loc_apple_fn, &flags,
&temp_id)) { &temp_id)) {
if (flags & HIO_VARIABLE) if (flags & HIO_VARIABLE)
sc->sc_flags |= UKBD_FLAG_APPLE_FN | sc->sc_flags |= UKBD_FLAG_APPLE_FN;
UKBD_FLAG_APPLE_SWAP;
DPRINTFN(1, "Found Apple FN-key\n"); DPRINTFN(1, "Found Apple FN-key\n");
apple_keys = 1; apple_keys = 1;
sc->sc_kbd_id = temp_id; sc->sc_kbd_id = temp_id;