mirror of https://github.com/mpv-player/mpv
input.conf: add comments
These will be shown in the new keybinding list.
This commit is contained in:
parent
21d434d2db
commit
ed26e8dcd5
254
etc/input.conf
254
etc/input.conf
|
@ -29,156 +29,146 @@
|
||||||
#default-bindings start
|
#default-bindings start
|
||||||
|
|
||||||
#MBTN_LEFT ignore # don't do anything
|
#MBTN_LEFT ignore # don't do anything
|
||||||
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen on/off
|
#MBTN_LEFT_DBL cycle fullscreen # toggle fullscreen
|
||||||
#MBTN_RIGHT cycle pause # toggle pause on/off
|
#MBTN_RIGHT cycle pause # toggle pause/playback mode
|
||||||
#MBTN_BACK playlist-prev
|
#MBTN_BACK playlist-prev # skip to the previous file
|
||||||
#MBTN_FORWARD playlist-next
|
#MBTN_FORWARD playlist-next # skip to the next file
|
||||||
|
|
||||||
# Mouse wheels, touchpad or other input devices that have axes
|
# Mouse wheels, touchpad or other input devices that have axes
|
||||||
# if the input devices supports precise scrolling it will also scale the
|
# if the input devices supports precise scrolling it will also scale the
|
||||||
# numeric value accordingly
|
# numeric value accordingly
|
||||||
#WHEEL_UP seek 10
|
#WHEEL_UP seek 10 # seek 10 seconds forward
|
||||||
#WHEEL_DOWN seek -10
|
#WHEEL_DOWN seek -10 # seek 10 seconds backward
|
||||||
#WHEEL_LEFT add volume -2
|
#WHEEL_LEFT add volume -2 # lower the volume
|
||||||
#WHEEL_RIGHT add volume 2
|
#WHEEL_RIGHT add volume 2 # raise the volume
|
||||||
|
|
||||||
## Seek units are in seconds, but note that these are limited by keyframes
|
## Seek units are in seconds, but note that these are limited by keyframes
|
||||||
#RIGHT seek 5
|
#RIGHT seek 5 # seek 5 seconds forward
|
||||||
#LEFT seek -5
|
#LEFT seek -5 # seek 5 seconds backward
|
||||||
#UP seek 60
|
#UP seek 60 # seek 1 minute forward
|
||||||
#DOWN seek -60
|
#DOWN seek -60 # seek 1 minute backward
|
||||||
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
# Do smaller, always exact (non-keyframe-limited), seeks with shift.
|
||||||
# Don't show them on the OSD (no-osd).
|
# Don't show them on the OSD (no-osd).
|
||||||
#Shift+RIGHT no-osd seek 1 exact
|
#Shift+RIGHT no-osd seek 1 exact # seek exactly 1 second forward
|
||||||
#Shift+LEFT no-osd seek -1 exact
|
#Shift+LEFT no-osd seek -1 exact # seek exactly 1 second backward
|
||||||
#Shift+UP no-osd seek 5 exact
|
#Shift+UP no-osd seek 5 exact # seek exactly 5 seconds forward
|
||||||
#Shift+DOWN no-osd seek -5 exact
|
#Shift+DOWN no-osd seek -5 exact # seek exactly 5 seconds backward
|
||||||
# Skip to previous/next subtitle (subject to some restrictions; see manpage)
|
#Ctrl+LEFT no-osd sub-seek -1 # seek to the previous subtitle
|
||||||
#Ctrl+LEFT no-osd sub-seek -1
|
#Ctrl+RIGHT no-osd sub-seek 1 # seek to the next subtitle
|
||||||
#Ctrl+RIGHT no-osd sub-seek 1
|
#Ctrl+Shift+LEFT sub-step -1 # change subtitle timing such that the previous subtitle is displayed
|
||||||
# Adjust timing to previous/next subtitle
|
#Ctrl+Shift+RIGHT sub-step 1 # change subtitle timing such that the next subtitle is displayed
|
||||||
#Ctrl+Shift+LEFT sub-step -1
|
#Alt+left add video-pan-x 0.1 # move the video right
|
||||||
#Ctrl+Shift+RIGHT sub-step 1
|
#Alt+right add video-pan-x -0.1 # move the video left
|
||||||
# Move video rectangle
|
#Alt+up add video-pan-y 0.1 # move the video down
|
||||||
#Alt+left add video-pan-x 0.1
|
#Alt+down add video-pan-y -0.1 # move the video up
|
||||||
#Alt+right add video-pan-x -0.1
|
#Alt++ add video-zoom 0.1 # zoom in
|
||||||
#Alt+up add video-pan-y 0.1
|
#Alt+- add video-zoom -0.1 # zoom out
|
||||||
#Alt+down add video-pan-y -0.1
|
#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
|
||||||
# Zoom/unzoom video
|
#PGUP add chapter 1 # seek to the next chapter
|
||||||
#Alt++ add video-zoom 0.1
|
#PGDWN add chapter -1 # seek to the previous chapter
|
||||||
#Alt+- add video-zoom -0.1
|
#Shift+PGUP seek 600 # seek 10 minutes forward
|
||||||
# Reset video zoom/pan settings
|
#Shift+PGDWN seek -600 # seek 10 minutes backward
|
||||||
#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0
|
#[ multiply speed 1/1.1 # decrease the playback speed
|
||||||
#PGUP add chapter 1 # skip to next chapter
|
#] multiply speed 1.1 # increase the playback speed
|
||||||
#PGDWN add chapter -1 # skip to previous chapter
|
#{ multiply speed 0.5 # halve the playback speed
|
||||||
#Shift+PGUP seek 600
|
#} multiply speed 2.0 # double the playback speed
|
||||||
#Shift+PGDWN seek -600
|
#BS set speed 1.0 # reset the speed to normal
|
||||||
#[ multiply speed 1/1.1 # scale playback speed
|
#Shift+BS revert-seek # undo the previous (or marked) seek
|
||||||
#] multiply speed 1.1
|
#Shift+Ctrl+BS revert-seek mark # mark the position for revert-seek
|
||||||
#{ multiply speed 0.5
|
#q quit # exit
|
||||||
#} multiply speed 2.0
|
#Q quit-watch-later # exit and remember the playback position
|
||||||
#BS set speed 1.0 # reset speed to normal
|
#q {encode} quit 4 # exit
|
||||||
#Shift+BS revert-seek # undo previous (or marked) seek
|
#ESC set fullscreen no # leave fullscreen
|
||||||
#Shift+Ctrl+BS revert-seek mark # mark position for revert-seek
|
#ESC {encode} quit 4 # exit
|
||||||
#q quit
|
|
||||||
#Q quit-watch-later
|
|
||||||
#q {encode} quit 4
|
|
||||||
#ESC set fullscreen no
|
|
||||||
#ESC {encode} quit 4
|
|
||||||
#p cycle pause # toggle pause/playback mode
|
#p cycle pause # toggle pause/playback mode
|
||||||
#. frame-step # advance one frame and pause
|
#. frame-step # advance one frame and pause
|
||||||
#, frame-back-step # go back by one frame and pause
|
#, frame-back-step # go back by one frame and pause
|
||||||
#SPACE cycle pause
|
#SPACE cycle pause # toggle pause/playback mode
|
||||||
#> playlist-next # skip to next file
|
#> playlist-next # skip to the next file
|
||||||
#ENTER playlist-next # skip to next file
|
#ENTER playlist-next # skip to the next file
|
||||||
#< playlist-prev # skip to previous file
|
#< playlist-prev # skip to the previous file
|
||||||
#O no-osd cycle-values osd-level 3 1 # cycle through OSD mode
|
#O no-osd cycle-values osd-level 3 1 # toggle displaying the OSD on user interaction or always
|
||||||
#o show-progress
|
#o show-progress # show playback progress
|
||||||
#P show-progress
|
#P show-progress # show playback progress
|
||||||
#i script-binding stats/display-stats
|
#i script-binding stats/display-stats # display information and statistics
|
||||||
#I script-binding stats/display-stats-toggle
|
#I script-binding stats/display-stats-toggle # toggle displaying information and statistics
|
||||||
#` script-binding console/enable
|
#` script-binding console/enable # open the console
|
||||||
#z add sub-delay -0.1 # subtract 100 ms delay from subs
|
#z add sub-delay -0.1 # shift subtitles 100 ms earlier
|
||||||
#Z add sub-delay +0.1 # add
|
#Z add sub-delay +0.1 # delay subtitles by 100 ms
|
||||||
#x add sub-delay +0.1 # same as previous binding (discouraged)
|
#x add sub-delay +0.1 # delay subtitles by 100 ms
|
||||||
#ctrl++ add audio-delay 0.100 # this changes audio/video sync
|
#ctrl++ add audio-delay 0.100 # change audio/video sync by delaying the audio
|
||||||
#ctrl+- add audio-delay -0.100
|
#ctrl+- add audio-delay -0.100 # change audio/video sync by shifting the audio earlier
|
||||||
#Shift+g add sub-scale +0.1 # increase subtitle font size
|
#Shift+g add sub-scale +0.1 # increase the subtitle font size
|
||||||
#Shift+f add sub-scale -0.1 # decrease subtitle font size
|
#Shift+f add sub-scale -0.1 # decrease the subtitle font size
|
||||||
#9 add volume -2
|
#9 add volume -2 # lower the volume
|
||||||
#/ add volume -2
|
#/ add volume -2 # lower the volume
|
||||||
#0 add volume 2
|
#0 add volume 2 # raise the volume
|
||||||
#* add volume 2
|
#* add volume 2 # raise the volume
|
||||||
#m cycle mute
|
#m cycle mute # toggle mute
|
||||||
#1 add contrast -1
|
#1 add contrast -1 # decrease the contrast
|
||||||
#2 add contrast 1
|
#2 add contrast 1 # increase the contrast
|
||||||
#3 add brightness -1
|
#3 add brightness -1 # decrease the brightness
|
||||||
#4 add brightness 1
|
#4 add brightness 1 # increase the brightness
|
||||||
#5 add gamma -1
|
#5 add gamma -1 # decrease the gamma
|
||||||
#6 add gamma 1
|
#6 add gamma 1 # increase the gamma
|
||||||
#7 add saturation -1
|
#7 add saturation -1 # decrease the saturation
|
||||||
#8 add saturation 1
|
#8 add saturation 1 # increase the saturation
|
||||||
#Alt+0 set current-window-scale 0.5
|
#Alt+0 set current-window-scale 0.5 # halve the window size
|
||||||
#Alt+1 set current-window-scale 1.0
|
#Alt+1 set current-window-scale 1.0 # reset the window size
|
||||||
#Alt+2 set current-window-scale 2.0
|
#Alt+2 set current-window-scale 2.0 # double the window size
|
||||||
# toggle deinterlacer (automatically inserts or removes required filter)
|
#d cycle deinterlace # toggle the deinterlacing filter
|
||||||
#d cycle deinterlace
|
|
||||||
#r add sub-pos -1 # move subtitles up
|
#r add sub-pos -1 # move subtitles up
|
||||||
#R add sub-pos +1 # down
|
#R add sub-pos +1 # move subtitles down
|
||||||
#t add sub-pos +1 # same as previous binding (discouraged)
|
#t add sub-pos +1 # move subtitles down
|
||||||
#v cycle sub-visibility
|
#v cycle sub-visibility # hide or show the subtitles
|
||||||
#Alt+v cycle secondary-sub-visibility
|
#Alt+v cycle secondary-sub-visibility # hide or show the secondary subtitles
|
||||||
# stretch SSA/ASS subtitles with anamorphic videos to match historical
|
#V cycle sub-ass-vsfilter-aspect-compat # toggle stretching SSA/ASS subtitles with anamorphic videos to match the historical renderer
|
||||||
#V cycle sub-ass-vsfilter-aspect-compat
|
#u cycle-values sub-ass-override "force" "no" # toggle overriding SSA/ASS subtitle styles with the normal styles
|
||||||
# switch between applying no style overrides to SSA/ASS subtitles, and
|
#j cycle sub # switch subtitle track
|
||||||
# overriding them almost completely with the normal subtitle style
|
#J cycle sub down # switch subtitle track backwards
|
||||||
#u cycle-values sub-ass-override "force" "no"
|
#SHARP cycle audio # switch audio track
|
||||||
#j cycle sub # cycle through subtitles
|
#_ cycle video # switch video track
|
||||||
#J cycle sub down # ...backwards
|
#T cycle ontop # toggle placing the video on top of other windows
|
||||||
#SHARP cycle audio # switch audio streams
|
|
||||||
#_ cycle video
|
|
||||||
#T cycle ontop # toggle video window ontop of other windows
|
|
||||||
#f cycle fullscreen # toggle fullscreen
|
#f cycle fullscreen # toggle fullscreen
|
||||||
#s screenshot # take a screenshot
|
#s screenshot # take a screenshot of the video in its original resolution with subtitles
|
||||||
#S screenshot video # ...without subtitles
|
#S screenshot video # take a screenshot of the video in its original resolution without subtitles
|
||||||
#Ctrl+s screenshot window # ...with subtitles and OSD, and scaled
|
#Ctrl+s screenshot window # take a screenshot of the window with OSD and subtitles
|
||||||
#Alt+s screenshot each-frame # automatically screenshot every frame
|
#Alt+s screenshot each-frame # automatically screenshot every frame; issue this command again to stop taking screenshots
|
||||||
#w add panscan -0.1 # zoom out with -panscan 0 -fs
|
#w add panscan -0.1 # decrease panscan
|
||||||
#W add panscan +0.1 # in
|
#W add panscan +0.1 # shrink black bars by cropping the video
|
||||||
#e add panscan +0.1 # same as previous binding (discouraged)
|
#e add panscan +0.1 # shrink black bars by cropping the video
|
||||||
# cycle video aspect ratios; "-1" is the container aspect
|
#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # cycle the video aspect ratio ("-1" is the container aspect)
|
||||||
#A cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1"
|
#POWER quit # exit
|
||||||
#POWER quit
|
#PLAY cycle pause # toggle pause/playback mode
|
||||||
#PLAY cycle pause
|
#PAUSE cycle pause # toggle pause/playback mode
|
||||||
#PAUSE cycle pause
|
#PLAYPAUSE cycle pause # toggle pause/playback mode
|
||||||
#PLAYPAUSE cycle pause
|
#PLAYONLY set pause no # unpause
|
||||||
#PLAYONLY set pause no
|
#PAUSEONLY set pause yes # pause
|
||||||
#PAUSEONLY set pause yes
|
#STOP quit # exit
|
||||||
#STOP quit
|
#FORWARD seek 60 # seek 1 minute forward
|
||||||
#FORWARD seek 60
|
#REWIND seek -60 # seek 1 minute backward
|
||||||
#REWIND seek -60
|
#NEXT playlist-next # skip to the next file
|
||||||
#NEXT playlist-next
|
#PREV playlist-prev # skip to the previous file
|
||||||
#PREV playlist-prev
|
#VOLUME_UP add volume 2 # raise the volume
|
||||||
#VOLUME_UP add volume 2
|
#VOLUME_DOWN add volume -2 # lower the volume
|
||||||
#VOLUME_DOWN add volume -2
|
#MUTE cycle mute # toggle mute
|
||||||
#MUTE cycle mute
|
#CLOSE_WIN quit # exit
|
||||||
#CLOSE_WIN quit
|
#CLOSE_WIN {encode} quit 4 # exit
|
||||||
#CLOSE_WIN {encode} quit 4
|
#ctrl+w quit # exit
|
||||||
#ctrl+w quit
|
#E cycle edition # switch edition
|
||||||
#E cycle edition # next edition
|
#l ab-loop # set/clear A-B loop points
|
||||||
#l ab-loop # Set/clear A-B loop points
|
|
||||||
#L cycle-values loop-file "inf" "no" # toggle infinite looping
|
#L cycle-values loop-file "inf" "no" # toggle infinite looping
|
||||||
#ctrl+c quit 4
|
#ctrl+c quit 4 # exit
|
||||||
#DEL script-binding osc/visibility # cycle OSC display
|
#DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always
|
||||||
#ctrl+h cycle-values hwdec "auto" "no" # cycle hardware decoding
|
#ctrl+h cycle-values hwdec "auto" "no" # toggle hardware decoding
|
||||||
#F8 show_text ${playlist} # show playlist
|
#F8 show-text ${playlist} # show the playlist
|
||||||
#F9 show_text ${track-list} # show list of audio/sub streams
|
#F9 show-text ${track-list} # show the list of video, audio and sub tracks
|
||||||
|
|
||||||
#
|
#
|
||||||
# Legacy bindings (may or may not be removed in the future)
|
# Legacy bindings (may or may not be removed in the future)
|
||||||
#
|
#
|
||||||
#! add chapter -1 # skip to previous chapter
|
#! add chapter -1 # seek to the previous chapter
|
||||||
#@ add chapter 1 # next
|
#@ add chapter 1 # seek to the next chapter
|
||||||
|
|
||||||
#
|
#
|
||||||
# Not assigned by default
|
# Not assigned by default
|
||||||
|
|
Loading…
Reference in New Issue