Last Comment Bug 755903 - Map the hardware camera shutter button to a key event
: Map the hardware camera shutter button to a key event
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Widget (show other bugs)
: unspecified
: All Gonk (Firefox OS)
: -- normal (vote)
: mozilla15
Assigned To: [:fabrice] Fabrice Desré
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-16 14:14 PDT by [:fabrice] Fabrice Desré
Modified: 2012-05-17 03:18 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
patch (714 bytes, patch)
2012-05-16 14:14 PDT, [:fabrice] Fabrice Desré
mwu.code: review+
Details | Diff | Review

Description [:fabrice] Fabrice Desré 2012-05-16 14:14:28 PDT
Created attachment 624530 [details] [diff] [review]
patch

Some devices may have a hardware button for the camera shutter (see the pdf linked in https://wiki.mozilla.org/Gaia/System/Hardware). For these devices we need to map this button to a key event.

This patch uses the VK_PRINTSCREEN key event.
Comment 1 Michael Wu [:mwu] 2012-05-16 14:22:28 PDT
Comment on attachment 624530 [details] [diff] [review]
patch

Hah. Sure why not.
Comment 2 [:fabrice] Fabrice Desré 2012-05-16 14:54:12 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/10c128110069
Comment 3 Ed Morley [:emorley] 2012-05-17 03:18:11 PDT
https://hg.mozilla.org/mozilla-central/rev/10c128110069

Note You need to log in before you can comment on or make changes to this bug.