Hi All,

Thanks Niels. I took the patch and used DirectFB 1.3.0. I called
SetKeymapEntry for one key to check how it works. But gtk is crashing. I had
earlier commented out this part of code :

directfb->GetInputDevice (directfb, DIDID_KEYBOARD, &keyboard);

since i didnt have keyboard and it was crashing. Now I removed the comment
and it has started to crash? Why is this GetInputDevice crashing? Does it
try to access keyboard when this is called?

My keyboard comes up as /dev/event0 in my system.


Regards,
Harinandan S


On Tue, Dec 16, 2008 at 8:43 PM, Niels Roest <[email protected]> wrote:

> You are using devmem together with linux_input.
> This does not support getting the keymap.
> If you want to make it work you have to enter the keymap manually, this is
> part of a recent patch:
>
> http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=f7bf438159e3da4c733d98c1a0e47eee11f50795
>
> so
> (1) take the patch, or take the newest sources
> (2) use IDirectFBInputDevice->SetKeymap for each key or LoadKeymap for all
> keys with a file provided.
> directfb.h contains a small documentation comment about the file format.
>
> hth
> Niels
>
> Harinandan S wrote:
>
>>  Hi All,
>>  I am using DirectFB 1.1.1 with devmem, davinci gfx driver and linux
>> input. I have got mouse to work but unable to get keyboard to work. I have
>> removed the code to get keymap since GTK was crashing. What is keymap and
>> how to get it?
>>  What needs to be done to get USB keyboard to work in this configuration?
>>
>> Regards,
>> Harinandan S
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> directfb-users mailing list
>> [email protected]
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>
>>
>
>
> --
>
> .------------------------------------------.
> | 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