Date: Wed, 26 Nov 2003 09:28:07 -0600 From: Nathan Kinkade <nkinkade@ub.edu.bz> To: Ernst de Haan <znerd@FreeBSD.org> Cc: questions@FreeBSD.org Subject: Re: kbdmap for iMac keyboard? Message-ID: <20031126152807.GE15894@npkfbsd> In-Reply-To: <200311261602.35971.znerd@FreeBSD.org> References: <200311261602.35971.znerd@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--TD8GDToEDw0WLGOL Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > workstation. Works okay, recognized and automatically activated during th= e=20 > FreeBSD startup sequence. >=20 > Is there a keyboard map for the iMac keyboard? Can I map the Apple key to= a=20 > mouse button or to the Delete action? >=20 > How do I see the code for a key anyway? If I can get that somehow, I must= be=20 > able to write my own definition for a kemap file... >=20 > BTW: I also attached the iMac mouse and it works fine. Just too bad it on= ly=20 > has a single button :-( >=20 > FYI: This is how the devices show up: >=20 > $ 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 >=20 >=20 > 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 --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --TD8GDToEDw0WLGOL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/xMaHO0ZIEthSfkkRAjXpAJ0aJA5uNuknjbqeHQmZ9o3vVdbmYwCePHGJ rgyqasB2RCyrmKM3KS1fyvk= =Hkv4 -----END PGP SIGNATURE----- --TD8GDToEDw0WLGOL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031126152807.GE15894>