Re: Hardware Buttons support in h22xx - proposed patch

Giorgio Padrin <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Hi Slavek,

Are you willing to work on adding h2200 support in Opie?
In case, I'll look at the Opie sources and try to give some contribution. I've 
not a dev environment ready. 

Alle 00:01, mercoledì 26 luglio 2006, Slavek Banko ha scritto:
> Hi.
>
> I try your patch with libopie2 from Familiar 0.8.4-rc2.3, but without
> success :'(
>
> Reading from /dev/input/event1 and /dev/input/event2 is successful. If
> QWS_KEYBOARD is Buttons, arrows from joypad works, except center button
> == Enter. But buttons for applications and power buttons in Opie does not
> work. If I monitor events in method iPAQ::filter, these buttons not
> generate events.

In h2200 kernel there's currently this map:

special buttons:
Calendar	KEY_F9
Contacts	KEY_F10
Mail	KEY_NUMLOCK
iTask KEY_SCROLLLOCK

joypad: KEY_LEFT, KEY_RIGHT, KEY_DOWN, KEY_UP and KEY_ENTER.

KEY_X are symbols of the kernel input subsystem.

Mapping can be changed, in agreement with GPE developers, so to not break 
things for them.

Giorgio

>
> Slavek
> --
>
> Dne úterý 25 červenec 2006 18:43 Marcos "Japa" Umino napsal(a):
> > Hello
> >
> > This is a patch to add support for hardware buttons for h22xx ipaq in
> > OPIE. If any developer could please review and submit it for me, I'd
> > be most grateful. Familiar needs it, h22xx opie familiar release
> > 0.8.4-rc2.3 has no official hardware button support, nor any known
> > workaround. Adding support in opie would be the first step to build
> > proper images.
> >
> > Latest addition was hx19xx, h22xx uses yet another mapping.
> >
> > 67 - Calendar - F7
> > 68 - Contacts - F8
> > 69 - eMail - F9
> > 70 - iTask - F10
> >
> > The proposed patch simply adds entries mapping these, i'm not sure
> > this is all that is needed to add support, but anyway, I'm sure this
> > will be needed.
> >
> > This has been diff'ed against Opie HEAD branch.
> >
> > Japa
_______________________________________________

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

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.