Closed Bug 755903 Opened 8 years ago Closed 8 years ago

Map the hardware camera shutter button to a key event

Categories

(Core :: Widget, defect)

All
Gonk (Firefox OS)
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: fabrice, Assigned: fabrice)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
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.
Attachment #624530 - Flags: review?(mwu)
Comment on attachment 624530 [details] [diff] [review]
patch

Hah. Sure why not.
Attachment #624530 - Flags: review?(mwu) → review+
Component: General → Widget
Product: Boot2Gecko → Core
QA Contact: general → general
OS: Linux → Gonk
Hardware: x86_64 → All
https://hg.mozilla.org/mozilla-central/rev/10c128110069
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.