Skip to content

Commit 36322b4

Browse files
committed
input.conf: format some commands more consistently
The formatting of input.conf commands is totally inconsistent. At least for the commands that will be used in the context menu, make it consistent. The next commit will define the context menu commands, and the keys bound to these commands will be shown in the menu only when they match exactly, so this avoids copy pasting commands with inconsistent formatting just to make them match.
1 parent ee0f701 commit 36322b4

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

etc/input.conf

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
# Mouse wheels, touchpad or other input devices that have axes
3939
# if the input devices supports precise scrolling it will also scale the
4040
# numeric value accordingly
41-
#WHEEL_UP add volume 2
41+
#WHEEL_UP add volume 2
4242
#WHEEL_DOWN add volume -2
4343
#WHEEL_LEFT seek -10 # seek 10 seconds backward
44-
#WHEEL_RIGHT seek 10 # seek 10 seconds forward
44+
#WHEEL_RIGHT seek 10 # seek 10 seconds forward
4545

4646
## Seek units are in seconds, but note that these are limited by keyframes
4747
#RIGHT seek 5 # seek 5 seconds forward
@@ -74,13 +74,13 @@
7474
#HOME seek 0 absolute # seek to the start
7575
#PGUP add chapter 1 # seek to the next chapter
7676
#PGDWN add chapter -1 # seek to the previous chapter
77-
#Shift+PGUP seek 600 # seek 10 minutes forward
77+
#Shift+PGUP seek 600 # seek 10 minutes forward
7878
#Shift+PGDWN seek -600 # seek 10 minutes backward
7979
#[ multiply speed 1/1.1 # decrease the playback speed
8080
#] multiply speed 1.1 # increase the playback speed
8181
#{ multiply speed 0.5 # halve the playback speed
8282
#} multiply speed 2.0 # double the playback speed
83-
#BS set speed 1.0 # reset the speed to normal
83+
#BS set speed 1 # reset the speed to normal
8484
#Shift+BS revert-seek # undo the previous (or marked) seek
8585
#Shift+Ctrl+BS revert-seek mark # mark the position for revert-seek
8686
#q quit
@@ -105,19 +105,19 @@
105105
#? script-binding stats/display-page-4-toggle # toggle displaying key bindings
106106
#` script-binding commands/open # open the console
107107
#z add sub-delay -0.1 # shift subtitles 100 ms earlier
108-
#Z add sub-delay +0.1 # delay subtitles by 100 ms
109-
#x add sub-delay +0.1 # delay subtitles by 100 ms
110-
#ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio
111-
#ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
112-
#ctrl+KP_ADD add audio-delay 0.100 # change audio/video sync by delaying the audio
113-
#ctrl+KP_SUBTRACT add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
114-
#G add sub-scale +0.1 # increase the subtitle font size
108+
#Z add sub-delay 0.1 # delay subtitles by 100 ms
109+
#x add sub-delay 0.1 # delay subtitles by 100 ms
110+
#ctrl++ add audio-delay 0.1 # change audio/video sync by delaying the audio
111+
#ctrl+- add audio-delay -0.1 # change audio/video sync by shifting the audio earlier
112+
#ctrl+KP_ADD add audio-delay 0.1 # change audio/video sync by delaying the audio
113+
#ctrl+KP_SUBTRACT add audio-delay -0.1 # change audio/video sync by shifting the audio earlier
114+
#G add sub-scale 0.1 # increase the subtitle font size
115115
#F add sub-scale -0.1 # decrease the subtitle font size
116116
#9 add volume -2
117117
#/ add volume -2
118118
#KP_DIVIDE add volume -2
119-
#0 add volume 2
120-
#* add volume 2
119+
#0 add volume 2
120+
#* add volume 2
121121
#KP_MULTIPLY add volume 2
122122
#m cycle mute # toggle mute
123123
#1 add contrast -1
@@ -129,8 +129,8 @@
129129
#7 add saturation -1
130130
#8 add saturation 1
131131
#Alt+0 set window-scale 0.5 # halve the window size
132-
#Alt+1 set window-scale 1.0 # reset the window size
133-
#Alt+2 set window-scale 2.0 # double the window size
132+
#Alt+1 set window-scale 1 # reset the window size
133+
#Alt+2 set window-scale 2 # double the window size
134134
#b cycle deband # toggle the debanding filter
135135
#d cycle deinterlace # cycle the deinterlacing filter
136136
#r add sub-pos -1 # move subtitles up
@@ -173,11 +173,11 @@
173173
#ctrl+w quit
174174
#E cycle edition # switch edition
175175
#l ab-loop # set/clear A-B loop points
176-
#L cycle-values loop-file "inf" "no" # toggle infinite looping
176+
#L cycle-values loop-file inf no # toggle infinite looping
177177
#ctrl+c quit 4
178178
#Ctrl+v loadfile ${clipboard/text} append-play; show-text '+ ${clipboard/text}' # append the copied path
179179
#DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always
180-
#ctrl+h cycle-values hwdec "no" "auto" # toggle hardware decoding
180+
#ctrl+h cycle-values hwdec no auto # toggle hardware decoding
181181
#F8 show-text ${playlist} # show the playlist
182182
#F9 show-text ${track-list} # show the list of video, audio and sub tracks
183183
#g ignore

0 commit comments

Comments
 (0)