Re: [b2g] Catch enter key press event of virtual keyboard

2014-05-22 Thread Yuan Xulei(袁徐磊)
Where do you want to catch the event, from gecko or gaia? From gecko, all virtual keyboard events are sent by mozKeyboard API: https://github.com/mozilla/gecko-dev/blob/e4bc303acede847a913b70afa47fd6823b97297a/dom/inputmethod/MozKeyboard.js#L557 Hook the "sendKey" method and check the keyCode p

[b2g] Catch enter key press event of virtual keyboard

2014-05-22 Thread Niladri dutta
Sorry if this is a repost . Can anybody help me about how to catch the enter key press event for Firefox OS virtual keypad ??? ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g