2 New, 4 Updated patches.
[webos-internals:jeffrotulls-modifications.git] / camera / camera-capture-with-all-keys.patch
1 diff --git a/usr/palm/applications/com.palm.app.camera/app/controllers/capture-assistant.js b/usr/palm/applications/com.palm.app.camera/app/controllers/capture-assistant.js
2 index 498f869..2a45448 100644
3 --- a/usr/palm/applications/com.palm.app.camera/app/controllers/capture-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.camera/app/controllers/capture-assistant.js
5 @@ -354,7 +354,7 @@ CaptureAssistant = Class.create({
6  //             llog(evtStr);
7  
8                 // Space bar also takes a picture.
9 -               if (Mojo.Char.spaceBar == event.originalEvent.keyCode) {
10 +               if (Mojo.Char.spaceBar|| Mojo.Char.metaKey|| Mojo.Char.home == event.originalEvent.keyCode) {
11                         if (event.type === Mojo.Event.keydown) {
12                                 if (!this.captureBurst) {
13                                         this.captureBurst = true;