On Wed, Jan 11, 2006 at 10:47:32PM +0100, Vojtech Pavlik wrote: > > No, if that parameter is disabled, it translates key combinations like > > Fn+F1 to KEY_BRIGHTNESSUP. If it's enabled, it only sends KEY_FN. > I believe a better behavior would be to send KEY_FN and then > KEY_BRIGHTNESSUP when enabled and KEY_FN and KEY_F1 when disabled. That's done. It sends KEY_FN as any other key. If a key is pressed while the fn key is pressed, it uses the table to look up the new code. Releasing is also done with the corresponding keycodes. Greets, Michael - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Dmitry Torokhov <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Michael Hanselmann <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Benjamin Herrenschmidt <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Michael Hanselmann <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Benjamin Herrenschmidt <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Michael Hanselmann <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- From: Vojtech Pavlik <[email protected]>
- Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- Prev by Date: Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- Next by Date: Re: [PATCH -mm] mm/rmap.c: don't forget to include module.h
- Previous by thread: Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- Next by thread: Re: [PATCH/RFC?] usb/input: Add support for fn key on Apple PowerBooks
- Index(es):