nanogui: Keypad implementation
Subject:
RE: [nanogui] Keypad implementation
From:
"Pergola, Michael" ####@####.####
Date:
11 Jan 2002 16:10:41 -0000
Message-Id: <E1836A7F3557D311A14000805F9F36FCD4E670@usdfo011.usac.danfoss.net>
Jordan,
Great idea. Thanks for pointing me in the right direction.
How is the iPAQ physically connected with microwindows?
On the Embedded Planet I have an available serial port but
our current product's implementation brings the keypad's
lines directly into the microcontroller.
Mike
> -----Original Message-----
> From: Jordan Crouse ####@####.####
> Sent: Friday, January 11, 2002 10:45 AM
> To: Pergola, Michael; ####@####.####
> Subject: Re: [nanogui] Keypad implementation
>
> > the kdb_* files don't
> > seem to implement a hardware keypad, just a tty keyboard with
> > scannable options.
>
> To be more correct, we just implement keyboards that have a kernel driver
> interface, so that abstracts the code just enough. For example, the Ipaq
> is
> pretty close to being a "hardware" keypad, but the driver is written in
> such
> a way as to provide a common interface for us to key into (no pun
> intended).
>
> What you really should do is develop a simple kernel module that reads
> your
> keyboard, and sends back a set of common scancodes. Then, you could copy
> the
> kbd_ipaq.c file, and re-engineer it for your own use. That way, you can
>
> get a common interface, reuse a ton of code, and have an easy way to make
> changes in the future without rebuilding the entire system.
>
> Jordan
>
>
> On Friday 11 January 2002 07:22, Pergola, Michael mentioned:
> > All,
> >
> > I am looking into the microwindows code on how to implement a
> > keypad rather than a PC-style keyboard but the kdb_* files don't
> > seem to implement a hardware keypad, just a tty keyboard with
> > scannable options. Has anyone done this already? Specifically, I am
> > attempting to implement a custom 21 key keypad but could probably
> > modify a generic 8x8 keypad if someone has already done this work.
> >
> > Reference: I am developing on an Embedded Planet 823 platform
> > running MVista HardHat 2.2.14 kernel.
> >
> > Regards,
> > Michael Pergola
> > Software Engineer
> > Baltimore, MD 21236 (410) 931-6778 x4259
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: ####@####.####
> > For additional commands, e-mail: ####@####.####