Mercurial > mplayer.hg
annotate etc/input.conf @ 25647:e93a3c68757f
Slightly simplify read_buffer code
author | reimar |
---|---|
date | Fri, 11 Jan 2008 20:32:42 +0000 |
parents | 68dcca125c25 |
children | 7b0af0594814 |
rev | line source |
---|---|
4909 | 1 ## |
2 ## MPlayer input control file | |
3 ## | |
4 ## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or | |
10070 | 5 ## add new ones here. |
17179 | 6 ## See DOCS/tech/slave.txt for possible commands that can be bound. |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
7 ## Also see mplayer -input cmdlist for other possible options. |
10070 | 8 ## The file should be placed in the $HOME/.mplayer directory. |
4909 | 9 ## |
10 | |
11 RIGHT seek +10 | |
12 LEFT seek -10 | |
13 DOWN seek -60 | |
14 UP seek +60 | |
15 PGUP seek 600 | |
16 PGDWN seek -600 | |
22614
0c811221c415
add mute bind which has been default for a while, any other missing defaults?
compn
parents:
21391
diff
changeset
|
17 m mute |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
18 # switch_audio # switch audio streams |
18100
826a0faa2a0f
Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents:
17179
diff
changeset
|
19 + audio_delay 0.100 |
826a0faa2a0f
Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents:
17179
diff
changeset
|
20 - audio_delay -0.100 |
13710 | 21 [ speed_mult 0.9091 # scale playback speed |
22 ] speed_mult 1.1 | |
23 { speed_mult 0.5 | |
24 } speed_mult 2.0 | |
25 BS speed_set 1.0 # reset speed to normal | |
4909 | 26 q quit |
27 ESC quit | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
28 ENTER pt_step 1 1 # skip to next file |
4909 | 29 p pause |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
30 . frame_step # advance one frame and pause |
4909 | 31 SPACE pause |
32 HOME pt_up_step 1 | |
33 END pt_up_step -1 | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
34 > pt_step 1 # skip to next file |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
35 < pt_step -1 # previous |
4909 | 36 INS alt_src_step 1 |
37 DEL alt_src_step -1 | |
38 o osd | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
39 I osd_show_property_text "${filename}" # display filename in osd |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
40 z sub_delay -0.1 # subtract 100 ms delay from subs |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
41 x sub_delay +0.1 # add |
4909 | 42 9 volume -1 |
43 / volume -1 | |
44 0 volume 1 | |
45 * volume 1 | |
46 1 contrast -1 | |
47 2 contrast 1 | |
48 3 brightness -1 | |
49 4 brightness 1 | |
50 5 hue -1 | |
51 6 hue 1 | |
52 7 saturation -1 | |
53 8 saturation 1 | |
23568 | 54 ( balance -0.1 # adjust audio balance in favor of left |
55 ) balance +0.1 # right | |
4909 | 56 d frame_drop |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
57 r sub_pos -1 # move subtitles up |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
58 t sub_pos +1 # down |
8399 | 59 #? sub_step +1 # immediately display next subtitle |
60 #? sub_step -1 # previous | |
23725 | 61 #? sub_scale +0.1 # increase subtitle font size |
62 #? sub_scale -0.1 # decrease subtitle font size | |
5113 | 63 f vo_fullscreen |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
64 T vo_ontop # toggle video window ontop of other windows |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
65 w panscan -0.1 # zoom out with -panscan 0 -fs |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
66 e panscan +0.1 # in |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
67 s screenshot # take a png screenshot with -vf screenshot |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
68 # S will take a png screenshot of every frame |
4909 | 69 |
70 h tv_step_channel 1 | |
71 l tv_step_channel -1 | |
72 n tv_step_norm | |
73 b tv_step_chanlist | |
74 | |
75 ## | |
5113 | 76 ## GUI |
77 ## | |
78 | |
79 #l gui_loadfile | |
80 #t gui_loadsubtitle | |
81 #a gui_about | |
82 #s gui_stop | |
83 #p gui_playlist | |
84 #r gui_preferences | |
85 #c gui_skinbrowser | |
86 | |
87 ## | |
4909 | 88 ## Joystick section |
89 ## WARNING: joystick support has to be explicitly enabled at | |
90 ## compiletime with --enable-joystick | |
91 ## | |
92 | |
93 JOY_RIGHT seek 10 | |
94 JOY_LEFT seek -10 | |
95 JOY_UP seek 60 | |
96 JOY_DOWN seek -60 | |
97 JOY_BTN0 pause | |
98 JOY_BTN1 osd | |
5195 | 99 JOY_BTN2 volume 1 |
100 JOY_BTN3 volume -1 | |
25337 | 101 JOY_BTN4 set_menu main |
8261 | 102 |
103 ## | |
24037 | 104 ## Apple Remote section |
105 ## | |
25344 | 106 ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command, |
107 ## or just comment out the 'AR_MENU osd' line and uncomment the line after it. | |
108 ## | |
24037 | 109 |
110 AR_PLAY pause | |
111 AR_PLAY_HOLD quit | |
112 AR_NEXT seek 30 | |
113 AR_NEXT_HOLD seek 120 | |
114 AR_PREV seek -10 | |
115 AR_PREV_HOLD seek -120 | |
116 AR_MENU osd | |
25497
68dcca125c25
Change the default osd menu command for AR_MENU in comment of input.conf.
ulion
parents:
25344
diff
changeset
|
117 #AR_MENU menu cancel |
24037 | 118 AR_MENU_HOLD mute |
119 AR_VUP volume 1 | |
120 AR_VDOWN volume -1 | |
121 | |
122 ## | |
8261 | 123 ## OSD Menu movement keys |
124 ## | |
125 ## If you are using only the keyboard it is enough to define one command (like | |
10070 | 126 ## "menu up"), because then that single key will display the menu, which can |
25343
c852fa4bd3a1
Update comment that navigating keys is defined in menu.conf.
ulion
parents:
25337
diff
changeset
|
127 ## then be navigated with the cursor keys and ENTER (defined in menu.conf). |
8261 | 128 ## |
129 ## LIRC users should bind each "menu" command to a button on their remote. | |
130 ## | |
10070 | 131 ## The set_menu command directly displays the (sub)menu specified as |
8261 | 132 ## its argument. Usage should be self-explanatory (although not likely |
133 ## to be needed), after reading input.conf. | |
134 ## | |
135 | |
136 #MOUSE_BTN0 menu up | |
137 #y menu down | |
138 #y menu ok | |
139 #y menu cancel | |
140 #y menu hide | |
141 #y set_menu general_pref | |
19770
0b8e84663cb2
added unallocated keys to navigate the dvdnav menus
nicodvb
parents:
18222
diff
changeset
|
142 |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
143 ## |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
144 ## DVDNAV |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
145 ## Requires dvdnav:// |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
146 ## |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
147 |
21381 | 148 KP8 dvdnav 1 # DVDNav UP |
149 KP2 dvdnav 2 # DVDNav DOWN | |
150 KP4 dvdnav 3 # DVDNav LEFT | |
151 KP6 dvdnav 4 # DVDNav RIGHT | |
152 KP5 dvdnav 5 # DVDNav MENU | |
153 KP_ENTER dvdnav 6 # DVDNav SELECT (ok) | |
154 KP7 dvdnav 7 # DVDNav PREVIOUS menu (in the order chapter->title->root) | |
21380
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
155 |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
156 #? seek_chapter -1 # skip to previous dvd chapter |
f44dbada8898
add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents:
19778
diff
changeset
|
157 #? seek_chapter +1 # next |