tir, 18,.07.2006 kl. 15.31 +0200, skrev Denis Oliver Kropp:
> Nils Magnus Larsgard wrote:
> > Hi, 
> > 
> > My situation: my linux box with directfb doesn't have keyboard or mouse,
> > but 6 buttons as input. I have a driver to use these buttons, but I
> > would very much like to generate keyboard signals to directfb from some
> > of these buttons. For instance: button1 should the 'up' key, button2 is
> > the 'down' key etc.
> > 
> > Is there a simple way to pass signals to the keyboard driver, or should
> > I make my own button driver for directfb?
> 
> You can just generate key events in your own driver. Or how are the
> buttons implemented now?
> 

For now, we have a simple driver without any interrupts, and so we poll
to read the button status. The plan is to make it interrupt-driven.

Could I do something like open(some_dfb_device) and write(fd, key_event)
from an outside program/deamon? 

-- 
Kind regards, 
Vennlig hilsen,

Nils Magnus Larsgård 
Summer intern - AVR APPS Group
Atmel Norway


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to