Hi Bernhard,
This is mostly a repost for the benefit of the opie-devel list, although it
would be great to hear about any further progress you have made.
On Sunday 27 July 2008, Bernhard Guillon wrote:
> I need some help to understand the button implementation of opie.
> The SIMpad uses evdev. The joypad and the powerbutton are working well
> without any changes to simpad_odevice. There are two buttons on the
> SIMpad they use KEY_PROG1 KEY_PROG2 . I want to get them supported in opie.
By evdev I assume you mean it just generates keystrokes when the buttons are
pressed? I would imagine you would need to use key constants that QtE
recognises. Have a look in the QtE source under src/kernel/qnamespace.h and
see if one of the Key constants there matches up with the keys you need. Once
you have found the right keycode you should be able to add another entry to
simpad_buttons[] in libopie2/opiecore/device/odevice_simpad.cpp.
Cheers,
Paul
_______________________________________________
http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndexOpie-devel mailing list
Opie-devel@...
https://handhelds.org/mailman/listinfo/opie-devel