Hi everyone,
In Crosswalk embedded webview:
In my HTML5 app, I am receiving key events via document.onkeydown
Keys are in fact generated with a remote control device and for the most
work arrive correctly to document.onkeydown.
Some of the "special" keys though, generate events on document.onkeydown
which all have keyCode = 0 which I think is wrong and obviously makes
them indistinguishable. For example, the coloured buttons all give
keyCode = 0
I can verify that all of these key events arrive correctly to my
application by overriding dispatchKeyEvent(KeyEvent event) on the main
Activity,
KEYCODE_PROG_RED
KEYCODE_PROG_BLUE
KEYCODE_PROG_YELLOW
KEYCODE_PROG_GREEN
... with their respective keycodes correct.
But, they never make it (correctly) to the HTML5 javascript event
handler I am using.
I expected to receive all key events with their own unique keycode...
Is this resolvable/configurable in any way with Crosswalk?
Where should I look for the cause of this problem?
thanx in advance for any pointers
--
--
Haris Zukanovic
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help