Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 1999 18:46:42 -0600
From:      Steve Passe <smp@csn.net>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: keyboard + custom keypad. 
Message-ID:  <199908260046.SAA43203@Ilsa.StevesCafe.com>
In-Reply-To: Your message of "Wed, 25 Aug 1999 14:38:08 PDT." <199908252138.OAA01210@dingo.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908260046.SAA43203>