1# This is a sample button mapping file.  If you copy it to
2# ~/.avidemux/button_mapping, avidemux will read it at startup and use it
3# to map buttons on a jog shuttle device to actions in the avidemux user
4# interface.
5#
6# Each line to map a button should contain a number, at least one space or
7# tab character, and then an action name (see below for list).
8#
9# If you aren't sure what button numbers are produced by your device, set
10# the environment variable SHOW_BUTTONS (e.g., "export SHOW_BUTTONS=1" if
11# you're using the bash shell).  Then, watch the window from which you
12# started avidemux, and press the buttons, and it will tell you the number
13# for each one you press.
14#
15# Action names (which can be used in ~/.avidemux/button_mapping,
16# though some should not be):
17#
18#     About
19#     ADD_JOB
20#     AllBlackFrames
21#     AppendAvi
22#     AudioCodec
23#     AudioCodecChanged
24#     AudioConfigure
25#     AudioFilters
26#     AudioMap
27#     AudioModeCopy
28#     AudioModeProcess
29#     AudioModeToggle
30#     AudioSourceAC3
31#     AudioSourceAvi
32#     AudioSourceMP3
33#     AudioSourceNone
34#     AudioSourceWAV
35#     AUTO_DVD
36#     AUTO_FLV
37#     AUTO_PSP
38#     AUTO_PSP_H264
39#     AUTO_SVCD
40#     AUTO_VCD
41#     AviInfo
42#     AVS_PROXY
43#     Back25Frames
44#     Back50Frames
45#     Begin
46#     Bitrate
47#     BitRate
48#     BrokenAvi
49#     BUILT_IN
50#     ChangeFPS
51#     CLOSE
52#     Copy
53#     Cut
54#     CutWizard
55#     DecoderOption
56#     Delete
57#     DVB_Ocr
58#     End
59#     Exit
60#     Fast
61#     Forward25Frames
62#     Forward50Frames
63#     GLYPHEDIT
64#     Goto
65#     GotoMarkA
66#     GotoMarkB
67#     GotoTime
68#     HANDLE_JOB
69#     HEX_DUMP
70#     JOG
71#     JumpToFrame
72#     JumpToTime
73#     MarkA
74#     MarkB
75#     MpegIndex
76#     NextBlackFrame
77#     NextFrame
78#     NextKFrame
79#     Ocr
80#     OpenAvi
81#     OuputToggle
82#     Paste
83#     Pipe2Lame
84#     Pipe2Other
85#     PipeLame
86#     PlayAvi
87#     Pref
88#     PrevBlackFrame
89#     PreviewChanged
90#     PreviewToggle
91#     PreviousFrame
92#     PreviousKFrame
93#     RebuildKF
94#     RECENT0
95#     RECENT1
96#     RECENT2
97#     RECENT3
98#     RecentFiles
99#     Requant
100#     ResetSegments
101#     RunScript
102#     SaveAvi
103#     SaveBunchJPG
104#     SaveCurrentWork
105#     SaveDualAudio
106#     SaveDVDPS
107#     SaveImg
108#     SaveJPG
109#     SaveMpeg1vcd
110#     SaveMpeg2dvd
111#     SaveMpeg2svcd
112#     SaveOGM
113#     SavePref
114#     SaveRaw
115#     SaveUnpackedMpeg4
116#     SaveWave
117#     SaveWork
118#     Scale
119#     SecondAudioTrack
120#     SelectDevALSA
121#     SelectDevArts
122#     SelectDevDummy
123#     SelectDevOSS
124#     SelectEncoder
125#     SelectTrack1
126#     SetLogFile
127#     SetMuxParam
128#     SetPostProcessing
129#     StopAvi
130#     TimeShift
131#     V2V
132#     VideoCheck
133#     VideoCodec
134#     VideoCodecChanged
135#     VideoConfigure
136#     VideoModeCopy
137#     VideoModeProcess
138#     VideoModeToggle
139#     VideoParameter
140#     ViewMain
141#     ViewSide
142#     XVCD
143#     ZOOM_1_1
144#     ZOOM_1_2
145#     ZOOM_1_4
146#     ZOOM_2_1
147#     ZOOM_4_1
148
149# To get an up-to-date version of the preceding list, uncomment the
150# following line, and watch the output from avidemux as it starts up:
151#    help
152
153# The following button setup is for a Contour ShuttlePRO (though of course
154# you may want different mappings even if you have the same device):
155
156# first row:
157256 PlayAvi
158257 StopAvi
159258 MarkA
160259 MarkB
161
162# second row:
163272 VideoParameter
164273 SaveAvi
165274 SaveWork
166275 GotoMarkA
167276 GotoMarkB
168
169# left rear:
170277 Back100Frames
171279 Begin
172
173# right rear:
174278 Forward100Frames
175280 End
176
177
178