Subject: Re: Patch to force function buttons to be function keys
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 07/23/2003 22:07:43
On 23 Jul 2003, Nathan J. Williams wrote:

>
> I finally got annoyed at the fact that Mac OS X likes to reprogram the
> keyboard controller such that, on by iBook (dual USB), F1-F6 and F12
> send "button" events (adjust volume, adjust brightness, eject, etc),
> since I use F-keys to switch windows under X in NetBSD. Not knowing
> how to reprogram the keyboard controller back (Mac OS 9 can do it, but
> it's undone most times I boot into OS X), I came up with this patch
> which takes the button events and turns them back into keyboard
> events.

I don't have one of those iBooks, but it looks fine, along with a
commented-out line in GENERIC.

Take care,

Bill