From owner-freebsd-questions Mon Nov 29 9:42:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail12.svr.pol.co.uk (mail12.svr.pol.co.uk [195.92.193.215]) by hub.freebsd.org (Postfix) with ESMTP id 5EE5015097 for ; Mon, 29 Nov 1999 09:42:49 -0800 (PST) (envelope-from john@t-f-i.freeserve.co.uk) Received: from modem-6.lipitor.dialup.pol.co.uk ([62.136.76.134]) by mail12.svr.pol.co.uk with smtp (Exim 3.03 #0) id 11sUp7-0003W5-00 for questions@FreeBSD.ORG; Mon, 29 Nov 1999 17:42:49 +0000 From: John Murphy To: questions@FreeBSD.ORG Subject: Re: keyboard scan codes Date: Mon, 29 Nov 1999 17:42:31 +0000 Organization: not a lot.org Reply-To: me@T-F-I.freeserve.co.uk Message-ID: X-Mailer: Forte Agent 1.6/32.525 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: >On Friday, 26 November 1999 at 19:47:36 +0200, Evren Yurtesen wrote: >> Hello! >> How can I find information about keyboard scan codes? > >Look in the sources. You'll also probably find stuff in books on PC >hardware. > >Greg kbdcontrol -d will show scancodes for your curent keymap. man kbdcontrol tells how you can set function keys to strings of up to 16 chars etc. The keymap you're using is set in /etc/rc.conf and can be found in /usr/share/syscons/keymaps/ with a .kbd extension. I hope this helps... Now if I can just figure how to set 091 and 092 (lwin and rwin) to meta I shall be happy. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message