SIMpad opie support - patch and questions

View: New views
3 Messages — Rating Filter:   Alert me  

SIMpad opie support - patch and questions

by Bernhard Guillon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
SIMpad kernel has changed to 2.6 and with that odevice_simpad is
obsolet. I want to have opie supported with kernel 2.6 and started to
change odevice_simpad to the new needs.
A fist patch can be found in the attachment of bug report # 0001914

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.

best regards
Bernhard Guillon
_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
Opie-devel@...
https://handhelds.org/mailman/listinfo/opie-devel

Re: SIMpad opie support - patch and questions

by Bugzilla from bluelightning@bluelightning.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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/DeveloperWikiIndex

Opie-devel mailing list
Opie-devel@...
https://handhelds.org/mailman/listinfo/opie-devel

Re: SIMpad opie support - patch and questions

by Bernhard Guillon-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Paul Eggleton schrieb:
> 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.
>
>  
Hi,
sorry for that late response I will try to look at qnamespace.h and keep
you informed about the progress on this list.

best regards
Bernhard Guillon

_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
Opie-devel@...
https://handhelds.org/mailman/listinfo/opie-devel