From owner-freebsd-hackers Wed Aug 25 20:52:53 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [206.168.13.65]) by hub.freebsd.org (Postfix) with ESMTP id 70ED9157A6 for ; Wed, 25 Aug 1999 20:52:51 -0700 (PDT) (envelope-from smp@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.9.3/8.9.3) with ESMTP id SAA43203; Wed, 25 Aug 1999 18:46:42 -0600 (MDT) (envelope-from smp@Ilsa.StevesCafe.com) Message-Id: <199908260046.SAA43203@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe To: Mike Smith Cc: hackers@FreeBSD.ORG Subject: Re: keyboard + custom keypad. In-reply-to: Your message of "Wed, 25 Aug 1999 14:38:08 PDT." <199908252138.OAA01210@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 25 Aug 1999 18:46:42 -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Hi, > > > > I need to add a keypad to a product in development that will co-exist > > with the standard keyboard. It will be a fairly dumb pad capable of > ... > > You could just design the pad using a "keyboard wedge" so that it lives > on the same bus as the keyboard. This is well-understood tech that's > been used for years for things like barcode scanners... In this case its already designed, sitting on a combo card with other sections of the product. Basically, I get an INTR whenever any of 12 keys is closed or opened. I then read 2 bytes from the ISA bus to determine the current state of all 12 keys. Comparing this to the previous state I determine which key changed, then "create" a datum equal to F1 thru F12, as appropriate. The puzzle is where to inject this datum into the flow of data going between atkbdc/atkbd/kdbio/syscons... ps. I am surprised my mail made it to hackers, I just changed ISPs and reverse name lookups are still failing, and hub claimed to have rejected the mailing! -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message