I solved my problem.

The browser engine detection i implemented was not working.
I modified it and tested carefully so now i'm really sure it's working. But
i don't name it as "maple" this time but as "gecko" so we could get
advantage of code working for both browsers (most of it,as Maple it's a
fork from Gecko).

What i did this time it's to modify qx.bom.client.Engine.getVersion() to
return "Maple" in this case.

So now, in our Qooxdoo fork, for Maple browser engine.name is "gecko" and
engine.version is "Maple".

The keyboard remapping i did it's working right now :-)

-- 
Javier Martínez Villacampa
Software Engineer
http://www.pocketwidget.com


2011/11/2 Javier Martinez <[email protected]>

> Hi all,
>
> We are trying to add support in Qooxdoo core for key codes from Samsung
> SMART TV remote control.
>
> The problem is that they don't use at all the standard key codes. So we
> need to "remap" them for being correctly idenfitied.
>
> I had reviewed the qx.event.handler.Keyboard module, and checked the defer
> method where it seems there is some remapping done.
> For example, the "Enter" key has the key code 29443. But tried something
> like this with no luck (the part adding the maple identifier it's done and
> working):
>     else if ((qx.core.Environment.get("engine.name") == "maple"))
>     {
>       members._keyCodeFix = {
>          29443 : members._identifierToKeyCode("Enter")
>       };
>     }
>
> Could you give me any clue where to fix this or where to read about it?
>
> Thank you very much!
>
>
> --
> Javier Martínez Villacampa
> Software Engineer
> http://www.pocketwidget.com
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to