Le 03/09/2010 23:24, Mikko Vartiainen a écrit :
> On Fri, Sep 3, 2010 at 3:34 PM, Kurosu<kur...@free.fr>  wrote:
>> I was told that maybe the macro MAEMO5 exists. A quick google shows
 >> no code using it though.
>
> Well if it exists, it's not working for me ;)

Just a suggestion (with caution), that looked corroborated by this page:
http://maemo.org/maemo_release_documentation/maemo4.1.x/node13.html#SECTION001325100000000000000
But there were not many such examples, so it might just be the gtk 
headers that have this define.

> I'm just passing -DMAEMO to configure script along with other options.
> I'll try to see what is the best way to detect maemo, but it's not
> absolutely needed.

I was told there's no host triplet to detect maemo. Someone even told me 
people linked to lib_osso_whatever for that.

> I made another approach to this problem, see attached patch. Now I
> just switch fn+left/right keysym to up/down keysym. It's completely
> invisible and doesn't need any special cases. This really should be
> done in sdl, but since sdl in maemo is just a side product from Nokia
> it really doesn't do anything which isn't absolutely necessary.

If the patch works as good, then I'm personally ok with it. Applied.

> [different kb layouts]
>> Can this be detected? If yes, and under a specific MAEMO-protected code 
>> block, maybe we should try handling this.
>
> It can be detected from OSSO_PRODUCT_KEYBOARD environment variable,
> but it's not necessary. Only implication is that fn+left/right is same
> as up/down.

As you see fit. This is code I can't test, so...

>  From my earlier mail regarding how to scroll list box, I missed the
> fact that scrolling can be done by grabbing the list like I was hoping
> to. I just didn't notice it because scrolling in general is very slow
> and my attention was on scroll bars :)

Unfortunately. Maybe excessive redrawing/packing...

Best regards,
Christophe


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à