nanogui: Frame buffer Interface


Previous by date: 3 Mar 2000 16:55:18 -0000 Re: [linuxce-devel] RE: MicroWindows, Java and desktop, Steve Gillam
Next by date: 3 Mar 2000 16:55:18 -0000 Re: Frame buffer Interface, Greg Haerr
Previous in thread: 3 Mar 2000 16:55:18 -0000 Re: Frame buffer Interface, Greg Haerr
Next in thread: 3 Mar 2000 16:55:18 -0000 Re: Frame buffer Interface, Greg Haerr

Subject: Re: Frame buffer Interface
From: Rosimildo daSilva ####@####.####
Date: 3 Mar 2000 16:55:18 -0000
Message-Id: <200003031645.IAA31546@www2.xoommail.com>

"Greg Haerr" wrote:
 > 
 > A comment on the kbd interface:  in addition to the keycode
 > member, we should also have a scancode member.  Some applications
 > want to see the kbd in scan code mode, others want to see the
 > keystroke.  There should also be a way to put the RTEMS
 > kbd driver to and from scancode/ascii mode, also.

This would apply for a PC platform. I do not know if for embedded
systems we need that. It is easy to add one extra field to the 
message struct.

At this moment the Kbd driver for RTEMS does not do any special
mapping. I am working on it to add modes such as the one for
Linux: XLATE, RAW, etc.

Hopefully, changing modes on the RTEMS Kbd driver would be similar
to the Linux version, using IO controls. 

At higher level, how do you see MicroWindows handling Kbd
changes in mode ( ascii/scancode ) ?

 > 
 > With PC keyboards, some applications need to know whether
 > the keypad arrow key or just the arrow key was pressed.  The
 > scan codes are the same, just a different prefix byte from the 
 > kbd controller.  So there should be a bit set for that too; I guess
 > that can go into the modifiers member.
 > 

I know it is a pain !! :-).

I guess the interface for this would be pretty much molded, whenever
we decide how MicroWindows would handle that.

For the time being I'll add another field to the Kbd struct for the
scancodes.

Rosimildo.



______________________________________________________
Get your free web-based email at http://www.xoom.com
Birthday? Anniversary? Send FREE animated greeting
cards for any occasion at http://greetings.xoom.com



Previous by date: 3 Mar 2000 16:55:18 -0000 Re: [linuxce-devel] RE: MicroWindows, Java and desktop, Steve Gillam
Next by date: 3 Mar 2000 16:55:18 -0000 Re: Frame buffer Interface, Greg Haerr
Previous in thread: 3 Mar 2000 16:55:18 -0000 Re: Frame buffer Interface, Greg Haerr
Next in thread: 3 Mar 2000 16:55:18 -0000 Re: Frame buffer Interface, Greg Haerr


Powered by ezmlm-browse 0.20.