File: JOG_SHUTTLE.md

package info (click to toggle)
flowblade 2.24-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 49,320 kB
  • sloc: python: 69,104; xml: 2,604; sh: 121; javascript: 28; makefile: 12
file content (195 lines) | stat: -rw-r--r-- 8,355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# Jog / Shuttle Support

  * [Overview](./JOG_SHUTTLE.md#overview)
  * [Supported Devices](./JOG_SHUTTLE.md#supported-devices)
  * [Enabling Jog/Shuttle Support](./JOG_SHUTTLE.md#enabling-jog--shuttle-support)
  * [Enable Device Permissions](./JOG_SHUTTLE.md#enable-device-permissions)
  * [Custom Key Mappings](./JOG_SHUTTLE.md#custom-key-mappings)
  * [Available Target Actions](./JOG_SHUTTLE.md#available-target-actions)

### Overview

Flowblade has a USB Human Input Device subsystem, which is capable of
supporting selected USB jog/shuttle devices.

A jog/shuttle gives you an additional way to navigate through your timeline
using a dedicated hardware control interface, in addition to the keyboard and
mouse.

Turning the jog wheel moves the playback location forward and backward, one
frame at a time.

Turning the shuttle left or right engages variable speed playback, in forward
or reverse. The farther you turn the ring, the faster it goes.

Additionally, most jog/shuttle devices have keys which can be mapped to
various actions within the program. Each supported device has default key
mappings, which can also be customized.

### Supported Devices

Manufacturer Device Name           | Flowblade Device Name        | Config File
-----------------------------------|------------------------------|---------------------------------
Contour Design ShuttlePRO v2       | Contour Design ShuttlePRO v2 | contour_design_shuttlepro_v2.xml
Contour Design ShuttleXpress       | Contour Design ShuttleXpress | contour_design_shuttlexpress.xml
Contour A/V Solutions SpaceShuttle | Contour Design ShuttleXpress | contour_design_shuttlexpress.xml

### Enabling Jog / Shuttle Support

Jog/shuttle support is not on by default in Flowblade, and must be enabled.

Additionally, Flowblade will not be able to access the USB device without
a small amount of operating system configuration to grant permissions so that
Flowblade is allowed to use the device.

#### Enable Device Permissions

In order for Flowblade to be able to read from the USB device, it is
necessary to tell your operating system to grant permissions on the device
to non-root users.

On Linux, this is done by adding a udev rules configuration file that
instructs the udev subsystem to enable additional access to your device.

Become the root user, and create a new text file at
`/etc/udev/rules.d/90-flowblade.rules` with the following contents:

```
#
# Grant unprivileged users access to USB HID jog/shuttle devices
#

# Contour Design ShuttleXpress
# Contour A/V Solutions SpaceShuttle
ATTRS{idVendor}=="0b33", ATTRS{idProduct}=="0020", MODE="0666"

# Contour Design ShuttlePRO v2
ATTRS{idVendor}=="0b33", ATTRS{idProduct}=="0030", MODE="0666"
```

It may be necessary to reboot your computer after this step. This only
needs to be done once. It is also possible to tell the udev subsystem
to reload the config file instead of rebooting, but this is left as an
exercise for the reader.

<b>Don't forget to drop your root privileges after this step, before starting
Flowblade! Do not run Flowblade as root!</b>

#### Tell Flowblade to Use the Device

The next step is opening Flowblade, and enabling your device.

Go to the <b>Edit</b> menu, select <b>Preferences</b>, and then navigate over
to the <b>Jog/Shuttle</b> tab.

Check the <b>USB Jog/Shuttle Enabled</b> checkbox.

In the <b>Device</b> pull down menu, select the device driver that you wish to
use. The entries in this menu correspond to the <b>Flowblade Device Name</b> in
the <b>Supported Devices</b> section above.

Press <b>OK</b> to close the <b>Preferences</b> window.

After this, it will be necessary to exit Flowblade and restart it.

At this point, the USB jog/shuttle configuration is part of your saved
Flowblade preferences. You will now be able to use the program with or
without the jog/shuttle, without any further configuration necessary.

Please note that Flowblade will only check for the presence of the USB device
at startup, so make sure to have the device plugged in before you start
Flowblade if you want to use it.

### Custom Key Mappings

Flowblade ships with XML config files that provide default key mappings
between the keys on your USB jog/shuttle device, and various actions in
Flowblade. It is possible to customize these mappings, by copying the
appropriate file into the correct user preferences directory, and modifying
the local copy.

The precise location of these config files can vary depending on how you
have installed Flowblade. You want to find the `res/usbhid` directory
under the Flowblade installation. From there, you will want to copy the config
file for your particular USB jog/shuttle device to a location in your local
user preferences directory.

For example, if you installed Flowblade on Ubuntu using the OS packaging
system, and you have a Contour Design ShuttleXpress, then you would want to
copy the
`/usr/share/flowblade/Flowblade/res/usbhid/contour_design_shuttlexpress.xml`
file into
`.local/share/flowblade/user_usbhid/contour_design_shuttlexpress.xml` under
your home directory.

Open up the new local copy of the file under your home directory in a text
editor. You will see more information in the comments of the file about how
the keys are laid out on your particular device. Under the _keymap_ section
of the config file, you can edit the _code_ settings to point to different
_target actions_ that Flowblade can perform, for each of the keys on the
device.

Once your file is complete, save and close the file, and start Flowblade.
Now your new custom key mappings will be in effect every time you run the
program.

Take care not to introduce any XML errors into the file, or Flowblade will
not be able to process it correctly.

See the next section for all of the target actions that can be mapped to
the keys on your device.

#### Available Target Actions

Target Action               | Description
----------------------------|---------------------------------------
3_point_overwrite           | Three Point Overwrite
add_marker                  | Add Marker
append                      | Append
append_from_bin             | Append Selected Media From Bin
clear_io_marks              | Clear In/Out Marks
clear_mark_in               | Clear Mark In
clear_mark_out              | Clear Mark Out
cut                         | Cut Active Tracks
cut_all                     | Cut All Tracks
delete                      | Delete
display_clip_in_monitor     | Display Clip In Monitor
display_sequence_in_monitor | Display Current Sequence In Monitor
enter_edit                  | Enter Editing Mode
faster                      | Faster
insert                      | Insert
lift                        | Lift
log_range                   | Log Range
mark_in                     | Mark In
mark_out                    | Mark Out
next_cut                    | Go To Next Cut
next_frame                  | Go To Next Frame
nudge_back                  | Nudge Move Selection Back 1 Frame
nudge_back_10               | Nudge Move Selection Back 10 Frames
nudge_forward               | Nudge Move Selection Forward 1 Frame
nudge_forward_10            | Nudge Move Selection Forward 10 Frames
open_next                   | Open Next Media Item In Monitor
open_prev                   | Open Previous Media Item In Monitor
overwrite_range             | Overwrite Range
play                        | Play
play_pause                  | Play / Pause
play_pause_loop_marks       | Play / Pause Mark In to Mark Out Loop
prev_cut                    | Go To Previous Cut
prev_frame                  | Go To Previous Frame
resync                      | Resynchronization
select_next                 | Open Next Clip In Filter Editor
select_prev                 | Open Previous Clip In Filter Editor
sequence_split              | Sequence Split
slower                      | Slower
stop                        | Stop
switch_monitor              | Switch Monitor Display
to_end                      | Go To End
toggle_ripple               | Toggle Ripple
to_mark_in                  | Go To Mark In
to_mark_out                 | Go To Mark Out
to_start                    | Go To Start
trim_end                    | Trim Clip End To Playhead
trim_start                  | Trim Clip Start To Playhead
zoom_in                     | Zoom In
zoom_out                    | Zoom Out