Ville Syrjälä wrote:
> On Wed, Jul 19, 2006 at 10:51:31AM +0200, Nils Magnus Larsgard wrote:
>> 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? 
> 
> Just write a linux kernel input driver for your hardware, or if you want 
> your driver to live in user space you can use uinput.

Another alternative is DiVine :)

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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

Reply via email to