kbdmap for iMac keyboard?

Nathan Kinkade nkinkade at ub.edu.bz
Wed Nov 26 07:29:04 PST 2003

On Wed, Nov 26, 2003 at 04:02:35PM +0100, Ernst de Haan wrote:
> Tried to connect an iMac keyboard (USB) to my FreeBSD 4.9-STABLE 
> workstation. Works okay, recognized and automatically activated during the 
> FreeBSD startup sequence.
> Is there a keyboard map for the iMac keyboard? Can I map the Apple key to a 
> mouse button or to the Delete action?
> How do I see the code for a key anyway? If I can get that somehow, I must be 
> able to write my own definition for a kemap file...
> BTW: I also attached the iMac mouse and it works fine. Just too bad it only 
> has a single button :-(
> FYI: This is how the devices show up:
> $ usbdevs
> addr 1: UHCI root hub, Intel
>  addr 2: Hub in Apple USB Keyboard, Alps Electric
>   addr 3: Apple USB Keyboard, Alps Electric
>   addr 4: M4848, Logitech
> Ernst

If you are running X you can use the xmodmap(1) utility to both view and
alter the current keymap.  You can use the tool xev(1) to figure out the
keycodes for each key on the keyboard.

gpg --keyserver pgp.mit.edu --recv-keys D8527E49
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031126/1db330c3/attachment.bin

More information about the freebsd-questions mailing list