Index: [thread] [date] [subject] [author]
  From: Jon M. Taylor <taylorj@ecs.csus.edu>
  To  : ggi-develop@eskimo.com
  Date: Mon, 31 Aug 1998 19:17:36 -0700 (PDT)

Re: Event handling

On Mon, 31 Aug 1998, Steve Cheng wrote:

> On Mon, 31 Aug 1998, Jon M. Taylor wrote:
> 
> > as if I can use stdio after all.  Now the question is how should I do
> > that?  Should I just copy events.c from the fbdev target?  That is what I
> > am looking at right now, but I want to make sure I don't do something
> > stupid... any advice?
> 
> I guess the tricky part is handling VT switches (and save/restore video
> mode), but I haven't read much of the fbdev target's code yet ;-)

	Well I have read the s--- out of it since I posted this, and I
think I know better what is needed now - the fbdev event handling code
needs to be pulled out into display/common, like the X event handling code
is.  There are several display-only targets (glide, memory, monotext,
fbdev) that need that common Linux event-handling code for keyboards, mice
and joysticks that is in display/fbdev.  Andrew, what say you to this?

	Oh, and I got the Glide keybaord handling working again.  All I
had to do was remove the timer checks - Glide's lin_kbhit() does its own
timeout in select(stdin) and they were confusing each other.  Now I have
to figure out why the !@#$ mansync helper won't flush my display.... 

Jon 

---
'Cloning and the reprogramming of DNA is the first serious step in 
becoming one with God.'
	- Scientist G. Richard Seed

Index: [thread] [date] [subject] [author]