vo_gl3: call glFlush() after frame drawing is complete
[mplayer.git] / etc / input.conf
blob96ea541299fb697bf4edc395d0e6c3fa45737b01
1 # MPlayer input control file
3 # You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
4 # add new ones here.
5 # See DOCS/tech/slave.txt for possible commands that can be bound.
6 # Also see mplayer -input cmdlist for other possible options.
7 # The file should be placed in the $HOME/.mplayer directory.
9 # If you wish to unbind a key, use key ignore.
10 # e.g. ENTER ignore
12 # Note that merely removing default key bindings from this file won't remove
13 # the default bindings mplayer was compiled with, unless
14 #   --input=nodefault-bindings
15 # is specified.
17 # Lines starting with # are comments. Use SHARP to assign the # key.
19 # Some characters need to be escaped. In particular, if you want to display
20 # a '\' character as part of an osd_show_property_text OSD message, you have to
21 # escape 2 times:
22 # key  osd_show_property_text "This is a single backslash: \\\\!"
24 # You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
25 # modifiers Shift, Ctrl, Alt and Meta, but note that currently reading
26 # key combinations is only supported through the video windows of X-based
27 # output drivers (not in output windows of other drivers or in a terminal).
29 MOUSE_BTN0_DBL vo_fullscreen            # toggle fullscreen on/off
30 MOUSE_BTN2 pause                        # toggle pause on/off
31 MOUSE_BTN3 seek 10
32 MOUSE_BTN4 seek -10
33 MOUSE_BTN5 volume 1
34 MOUSE_BTN6 volume -1
36 # Seek units are in seconds, but note that these are limited by keyframes
37 RIGHT seek  10
38 LEFT  seek -10
39 UP    seek  60
40 DOWN  seek -60
41 # Do smaller, always exact (non-keyframe-limited), seeks with shift.
42 Shift+RIGHT seek  1 0 1
43 Shift+LEFT  seek -1 0 1
44 Shift+UP    seek  5 0 1
45 Shift+DOWN  seek -5 0 1
46 PGUP seek 600
47 PGDWN seek -600
48 + audio_delay 0.100                     # this changes audio/video sync
49 - audio_delay -0.100
50 [ speed_mult 0.9091                     # scale playback speed
51 ] speed_mult 1.1
52 { speed_mult 0.5
53 } speed_mult 2.0
54 BS speed_set 1.0                        # reset speed to normal
55 q quit
56 ESC quit
57 p pause                                 # toggle pause/playback mode
58 . frame_step                            # advance one frame and pause
59 SPACE pause
60 HOME pt_up_step 1
61 END pt_up_step -1
62 > pt_step 1                             # skip to next file
63 ENTER pt_step 1 1                       # skip to next file or quit
64 < pt_step -1                            # skip to previous file
65 INS alt_src_step 1
66 DEL alt_src_step -1
67 o osd                                   # cycle through OSD mode
68 I osd_show_property_text "${filename}"  # display filename in osd
69 P osd_show_progression
70 z sub_delay -0.1                        # subtract 100 ms delay from subs
71 x sub_delay +0.1                        # add
72 9 volume -1
73 / volume -1
74 0 volume 1
75 * volume 1
76 ( balance -0.1                          # adjust audio balance in favor of left
77 ) balance 0.1                           #                                  right
78 m mute
79 1 contrast -1
80 2 contrast 1
81 3 brightness -1
82 4 brightness 1
83 5 hue -1
84 6 hue 1
85 7 saturation -1
86 8 saturation 1
87 d frame_drop                            # cycle through framedrop modes
88 # toggle deinterlacer; requires either vdpau output, -vf yadif or kerndeint
89 D step_property_osd deinterlace
90 c step_property_osd colormatrix
91 # Next 3 currently only work with --no-ass
92 r sub_pos -1                            # move subtitles up
93 t sub_pos +1                            #                down
94 a sub_alignment
95 v sub_visibility
96 # stretch SSA/ASS subtitles with anamorphic videos to match historical
97 V step_property_osd ass_vsfilter_aspect_compat
98 j sub_select                            # cycle through subtitles
99 J sub_select -3                         # ...backwards
100 F forced_subs_only
101 SHARP switch_audio                      # switch audio streams
102 _ step_property switch_video
103 TAB step_property switch_program
104 i edl_mark                              # for use with --edlout mode
105 T vo_ontop                              # toggle video window ontop of other windows
106 f vo_fullscreen                         # toggle fullscreen
107 C step_property_osd capturing
108 s screenshot 0                          # take a png screenshot
109 S screenshot 1                          # ...on every frame
110 Alt+s screenshot 0 1                    # take a screenshot of window contents
111 Alt+S screenshot 1 1                    # ...on every frame
112 w panscan -0.1                          # zoom out with -panscan 0 -fs
113 e panscan +0.1                          #      in
114 POWER quit
115 MENU osd
116 PLAY pause
117 PAUSE pause
118 PLAYPAUSE pause
119 STOP quit
120 FORWARD seek 60
121 REWIND seek -60
122 NEXT pt_step 1
123 PREV pt_step -1
124 VOLUME_UP volume 1
125 VOLUME_DOWN volume -1
126 MUTE mute
127 CLOSE_WIN quit
128 ! seek_chapter -1                       # skip to previous chapter
129 @ seek_chapter 1                        #         next
130 A switch_angle 1
131 U stop
133 # TV
134 h tv_step_channel 1
135 k tv_step_channel -1
136 n tv_step_norm
137 u tv_step_chanlist
138 X step_property teletext_mode 1
139 W step_property teletext_page 1
140 Q step_property teletext_page -1
143 # DVDNAV
144 # Requires dvdnav://
147 KP8     dvdnav up
148 KP2     dvdnav down
149 KP4     dvdnav left
150 KP6     dvdnav right
151 KP5     dvdnav menu
152 KP_ENTER dvdnav select
153 MOUSE_BTN0 dvdnav mouse
154 KP7     dvdnav prev
157 # Apple Remote section
160 AR_PLAY pause
161 AR_PLAY_HOLD quit
162 AR_NEXT seek 30
163 AR_NEXT_HOLD seek 120
164 AR_PREV seek -10
165 AR_PREV_HOLD seek -120
166 AR_MENU osd
167 AR_MENU_HOLD mute
168 AR_VUP volume 1
169 AR_VDOWN volume -1
172 # Joystick section
173 # WARNING: joystick support has to be explicitly enabled at
174 #          compiletime with --enable-joystick
177 JOY_AXIS0_PLUS seek 10
178 JOY_AXIS0_MINUS seek -10
179 JOY_AXIS1_MINUS seek 60
180 JOY_AXIS1_PLUS seek -60
181 JOY_BTN0 pause
182 JOY_BTN1 osd
183 JOY_BTN2 volume 1
184 JOY_BTN3 volume -1
187 # Not assigned by default
188 # (not an exhaustive list of unbound commands)
191 #? sub_scale +0.1                       # increase subtitle font size
192 #? sub_scale -0.1                       # decrease subtitle font size