DragonFly BSD
DragonFly submit List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

usb quirk for apple usb keyboard


From: Magliano Andrea <masterblaster@xxxxxxxxxx>
Date: Wed, 26 Jan 2011 00:01:11 +0100

Hi all,

after blaming myself for misunderstanding usb quirk usage, i would like to resubmit Fn key detection (first patch). No correct keymapping (with Fn key pressed) is done, but at least a keycode is generated and can easily be remapped in ukbd.c

For interested readers (remapping Fn to Insert, because it's the physical placement of Fn key where standard keyboard have 'Insert' key) it's enough to set ukbd_trtab[1]=102; in ukbd.c (hardcoding is obviously not the correct way as violates hid boot protocol keymapping)

In the meanwhile i noticed that UPROTO_BOOT_KEYBOARD defined in ukbd.c was already defined in usb.h as UIPROTO_BOOT_KEYBOARD, so it's probably not needed anymore (second patch)

Thank you all for the quick replies and explainations :)

Attachment: 0001-Apple-usb-keybord-doesn-t-generate-an-interrupt-for-.patch
Description: Binary data

Attachment: 0002-UPROTO_BOOT_KEYBOARD-is-already-defined-in-usb.h-as-.patch
Description: Binary data



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]