diff --git a/public/extra_descriptions/premiere_pro.html b/public/extra_descriptions/premiere_pro.html new file mode 100644 index 000000000..0fbf905da --- /dev/null +++ b/public/extra_descriptions/premiere_pro.html @@ -0,0 +1,29 @@ + + +

+ Scroll the timeline with mouse button 3 +

+ + + + + + +
Mouse button 3 + Hold in button 3 to scroll the timeline horizontally. This automatically selects the hand tool. When you release button 3, it goes back to the selection tool. +
+ +

+ Faster editing with the mouse +

+ + + + + + + + + + +
Button 1 (left-click)Makes a cut on the timeline
Button 2 (right-click)Ripple edit to the previous cut on the timeline
diff --git a/public/groups.json b/public/groups.json index 6d8c27958..048417e56 100644 --- a/public/groups.json +++ b/public/groups.json @@ -474,7 +474,8 @@ "extra_description_path": "extra_descriptions/vs_code.html" }, { - "path": "json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json" + "path": "json/premiere_pro.json", + "extra_description_path": "extra_descriptions/premiere_pro.html" }, { "path": "json/slack_left_option_search.json" diff --git a/public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json b/public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json deleted file mode 100644 index 564dfe5a4..000000000 --- a/public/json/adobe_premiere_pro_scroll_timeline_mouse_button_3.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "title": "Adobe Premiere Pro timeline: scroll timeline with mouse button 3 (hold button 3 to scroll; release to go back to selection tool)", - "maintainers": ["thecarlo"], - "rules": [ - { - "description": "Adobe Premiere Pro timeline: scroll timeline with mouse button 3 (hold button 3 to scroll; release to go back to selection tool)", - "manipulators": [ - { - "type": "basic", - "from": { - "pointing_button": "button3" - }, - "to": [ - { - "key_code": "h" - }, - { - "pointing_button": "button1" - } - ], - "to_after_key_up": [ - { - "key_code": "v" - } - ], - "conditions": [ - { - "type": "frontmost_application_if", - "bundle_identifiers": ["^com\\.adobe\\.PremierePro.23$", "^com\\.adobe\\.PremierePro.24$"] - } - ] - } - ] - } - ] -} diff --git a/public/json/premiere_pro.json b/public/json/premiere_pro.json new file mode 100644 index 000000000..bdb6f6152 --- /dev/null +++ b/public/json/premiere_pro.json @@ -0,0 +1,90 @@ +{ + "title": "Adobe Premiere Pro", + "maintainers": ["thecarlo"], + "rules": [ + { + "description": "Premiere Pro: scroll timeline with mouse button 3", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button3" + }, + "to": [ + { + "key_code": "h" + }, + { + "pointing_button": "button1" + } + ], + "to_after_key_up": [ + { + "key_code": "v" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": ["^com\\.adobe\\.PremierePro.23$", "^com\\.adobe\\.PremierePro.24$"] + } + ] + } + ] + }, + { + "description": "Premiere Pro: left shift + mouse button 1 → cut", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button1", + "modifiers": { + "mandatory": ["left_shift"], + "optional": [] + } + }, + "to": [ + { + "key_code": "k", + "modifiers": ["left_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": ["^com\\.adobe\\.PremierePro.24$"] + } + ] + } + ] + }, + { + "description": "Premiere Pro: mouse button 2 → ripple trim to previous edit playhead", + "manipulators": [ + { + "type": "basic", + "from": { + "pointing_button": "button2", + "modifiers": { + "mandatory": [], + "optional": [] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": ["^com\\.adobe\\.PremierePro.23$", "^com\\.adobe\\.PremierePro.24$"] + } + ] + } + ] + } + ] +}