This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: does it support mouse and keyboard?
- To: li hui <lhbyron at yahoo dot com>
- Subject: Re: [ECOS] does it support mouse and keyboard?
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 19 Oct 2001 07:14:11 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com
- References: <20011019031618.35027.qmail@web14706.mail.yahoo.com>
li hui wrote:
>
> I eager to know does eCos for i386 support mouse and
> keyboard ?if it does,how to enactivate them?
No for mouse but yes for keyboard, but only via the "diagnostic" I/O
interface, not a full serial driver. You can use this by setting the
default console configuration option in the i386 PC HAL to 2 (for the
"screen"), and then standard I/O in your app should go via screen and
keyboard.
You may also have to disable the "inherit console" HAL CDL option.
Really we need true keyboard/mouse drivers though.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine