Okey, Just to summarize the discussion here:

* The only reason why keyevents are not delivered to apps is because of the 
incorrect key mapping (page up and page down for volume rocker) (762362)

* Once D3 keyevents for audio in Gonk is implemented (already implemented for 
windows and others though) we can remove the current mozChrome mechanism and 
can pass key events to apps.

* (As I understand) all agrees on delivering volume key events to app and 
blocking sleep and home button at system app level.

* Apps can handle and if required preventdefault the key event. If they choose 
otherwise, the system app will handle the keys (as of now for managing system 
volume)

Please comment on this or add anything that i missed :-)

This feature will be very useful in the camera enhancement work.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to