Why is the Powerbook Fn-Key handled differently?

Michel Dänzer michel at daenzer.net
Tue Feb 5 21:03:43 EST 2002


On Mon, 2002-02-04 at 19:20, Matthias Grimm wrote:

> I own an Powerbook G3 which has a Fn-Key for his special functions.
> During my kernel source studies I learned that there are two keyboard
> drivers: 1. The old machintosh keyboard driver and
>           2. The new event driven Human Input Device from Vojtech Pavlik
>
> The old driver map the scancode for the Fn-Key to a different value and
> passes it to the Kernel keyboard driver. The new HID filters the Fn-Key
> completely out, as the attached code fragments below show.
>
> Is there any reason to cut out the Fn-Key in the new input driver?
> Nevertheless the Fn-Key is hard wired with the special keys and the
> number block, it would helpful to have an additional qualifier key on
> this small keyboard.

If the fn key generates a keycode, existing shortcuts involving it won't
work anymore, will they? I'm specifically thinking of stuff like
ctrl-alt-{+,-} to switch resolutions in X.


--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list