Re: kbdmap for iMac keyboard?

2003-11-26 Thread Nathan Kinkade
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.

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


kbdmap for iMac keyboard?

2003-11-26 Thread Ernst de Haan
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"