[PATCH evdev 3/4] Add a property to toggle fnmode on Apple keyboards
Michel Dänzer
michel at daenzer.net
Thu May 19 00:13:26 PDT 2011
On Don, 2011-05-19 at 11:00 +1000, Peter Hutterer wrote:
> On Wed, May 18, 2011 at 10:38:36AM +0200, Michel Dänzer wrote:
> > On Mit, 2011-05-18 at 15:00 +1000, Peter Hutterer wrote:
> > > On Apple keyboards, the multimedia function keys are overlaid with the F
> > > keys. F1 is also BrightnessDown, F10 is Mute, etc. The kernel provides a
> > > tweak to enable/disable this.
> > >
> > > /sys/module/hid_apple/parameters/fnmode
> > > 0 .. keyboard sends Fx keys
> > > 1 .. keyboard sends multimedia keys
> >
> > Actually, Linux drivers/hid/hid-apple.c says:
> >
> > MODULE_PARM_DESC(fnmode, "Mode of fn key on Apple keyboards (0 = disabled, "
> > "[1] = fkeyslast, 2 = fkeysfirst)");
> >
> > Please expose the full functionality. (As you may guess, I'm using 2, so
> > the function keys produce Fx by default, but I can use the multimedia
> > functions with the fn key)
>
> I think it might be better to expose just 1 and 2 then as MM keys/Fx keys.
> Not sure if there's a much-needed use-case for 0, is there?.
I can't think of any offhand either.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
More information about the xorg-devel
mailing list