Confirmed users
23
edits
No edit summary |
No edit summary |
||
| Line 311: | Line 311: | ||
| None | | None | ||
|} | |} | ||
== Related Gaia Changes == | |||
=== Current Implementation === | |||
Currently, shell.js filters all hardware key event and wraps them in mozChromeEvent and then dispatch to Gaia System app. In Gaia System app, hardware_buttons.js listens for these low-level `mozChromeEvents`, processes them and generates higher-level events to handle autorepeat on the volume key long presses on Home and Sleep, and the Home+Sleep key combination. Other system app modules should listen for the high-level button events generated by this module. | |||
[[File:Hardware buttons.png|800px|frameless|How hardware buttons handle in B2G currently]] | |||
=== Plan of Change === | |||
=== Bugs === | |||
https://bugzilla.mozilla.org/show_bug.cgi?id=1014405 | |||
https://bugzilla.mozilla.org/show_bug.cgi?id=1014418 | |||