annotate etc/input.conf @ 27238:7aa646bb7589

Simplify and clamp coefficient index for MS ADPCM
author reimar
date Sat, 12 Jul 2008 10:08:40 +0000
parents d7e0e33c546f
children efed5bc41ca6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
1 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
2 ## MPlayer input control file
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
3 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
4 ## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
10070
1782c233cd29 Spelling and wording corrections.
diego
parents: 9117
diff changeset
5 ## add new ones here.
17179
9306cec64702 add hint to slave.txt
reimar
parents: 13710
diff changeset
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
1782c233cd29 Spelling and wording corrections.
diego
parents: 9117
diff changeset
8 ## The file should be placed in the $HOME/.mplayer directory.
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
9 ##
26348
74188a3a558d document ignore option
compn
parents: 25731
diff changeset
10 ## If you wish to unbind a key, use key ignore.
74188a3a558d document ignore option
compn
parents: 25731
diff changeset
11 ## e.g. ENTER ignore
74188a3a558d document ignore option
compn
parents: 25731
diff changeset
12 ##
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
13
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
14 RIGHT seek +10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
15 LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
16 DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
17 UP seek +60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
18 PGUP seek 600
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
19 PGDWN seek -600
22614
0c811221c415 add mute bind which has been default for a while, any other missing defaults?
compn
parents: 21391
diff changeset
20 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
21 # switch_audio # switch audio streams
18100
826a0faa2a0f Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents: 17179
diff changeset
22 + audio_delay 0.100
826a0faa2a0f Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents: 17179
diff changeset
23 - audio_delay -0.100
13710
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
24 [ speed_mult 0.9091 # scale playback speed
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
25 ] speed_mult 1.1
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
26 { speed_mult 0.5
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
27 } speed_mult 2.0
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
28 BS speed_set 1.0 # reset speed to normal
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
29 q quit
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
30 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
31 ENTER pt_step 1 1 # skip to next file
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
32 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
33 . frame_step # advance one frame and pause
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
34 SPACE pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
35 HOME pt_up_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
36 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
37 > 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
38 < pt_step -1 # previous
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
39 INS alt_src_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
40 DEL alt_src_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
41 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
42 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
43 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
44 x sub_delay +0.1 # add
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
45 9 volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
46 / volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
47 0 volume 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
48 * volume 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
49 1 contrast -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
50 2 contrast 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
51 3 brightness -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
52 4 brightness 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
53 5 hue -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
54 6 hue 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
55 7 saturation -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
56 8 saturation 1
23568
519e42b716aa The audio balance feature implemented with af_pan.
zuxy
parents: 22614
diff changeset
57 ( balance -0.1 # adjust audio balance in favor of left
519e42b716aa The audio balance feature implemented with af_pan.
zuxy
parents: 22614
diff changeset
58 ) balance +0.1 # right
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
59 d frame_drop
25731
7b0af0594814 add default deinterlace key
compn
parents: 25497
diff changeset
60 D step_property deinterlace # toggle deinterlacer, requires -vf yadif or kerndeint
21380
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
61 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
62 t sub_pos +1 # down
8399
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
63 #? sub_step +1 # immediately display next subtitle
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
64 #? sub_step -1 # previous
23725
a0432f65040e Add the sub_scale property and command.
albeu
parents: 23568
diff changeset
65 #? sub_scale +0.1 # increase subtitle font size
a0432f65040e Add the sub_scale property and command.
albeu
parents: 23568
diff changeset
66 #? sub_scale -0.1 # decrease subtitle font size
5113
gabucino
parents: 5017
diff changeset
67 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
68 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
69 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
70 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
71 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
72 # S will take a png screenshot of every frame
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
73
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
74 h tv_step_channel 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
75 l tv_step_channel -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
76 n tv_step_norm
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
77 b tv_step_chanlist
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
78
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
79 ##
5113
gabucino
parents: 5017
diff changeset
80 ## GUI
gabucino
parents: 5017
diff changeset
81 ##
gabucino
parents: 5017
diff changeset
82
gabucino
parents: 5017
diff changeset
83 #l gui_loadfile
gabucino
parents: 5017
diff changeset
84 #t gui_loadsubtitle
gabucino
parents: 5017
diff changeset
85 #a gui_about
gabucino
parents: 5017
diff changeset
86 #s gui_stop
gabucino
parents: 5017
diff changeset
87 #p gui_playlist
gabucino
parents: 5017
diff changeset
88 #r gui_preferences
gabucino
parents: 5017
diff changeset
89 #c gui_skinbrowser
gabucino
parents: 5017
diff changeset
90
gabucino
parents: 5017
diff changeset
91 ##
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
92 ## Joystick section
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
93 ## WARNING: joystick support has to be explicitly enabled at
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
94 ## compiletime with --enable-joystick
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
95 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
96
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
97 JOY_RIGHT seek 10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
98 JOY_LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
99 JOY_UP seek 60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
100 JOY_DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
101 JOY_BTN0 pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
102 JOY_BTN1 osd
5195
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
103 JOY_BTN2 volume 1
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
104 JOY_BTN3 volume -1
25337
6a7cf06be2e8 allow osd menu being controlled by joystick
ben
parents: 24037
diff changeset
105 JOY_BTN4 set_menu main
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
106
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
107 ##
24037
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
108 ## Apple Remote section
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
109 ##
25344
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25343
diff changeset
110 ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25343
diff changeset
111 ## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
5733d840e9fb Add OSD menu keybindings for Apple Remote.
ulion
parents: 25343
diff changeset
112 ##
24037
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
113
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
114 AR_PLAY pause
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
115 AR_PLAY_HOLD quit
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
116 AR_NEXT seek 30
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
117 AR_NEXT_HOLD seek 120
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
118 AR_PREV seek -10
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
119 AR_PREV_HOLD seek -120
26769
d6b7b1c4e652 Make "Menu" button of AppleIR remote call OSD Menu instead
ben
parents: 26768
diff changeset
120 AR_MENU menu up
25497
68dcca125c25 Change the default osd menu command for AR_MENU in comment of input.conf.
ulion
parents: 25344
diff changeset
121 #AR_MENU menu cancel
24037
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
122 AR_MENU_HOLD mute
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
123 AR_VUP volume 1
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
124 AR_VDOWN volume -1
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
125
c7f95196dfe5 Apple Remote support
diego
parents: 23725
diff changeset
126 ##
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
127 ## OSD Menu movement keys
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
128 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
129 ## If you are using only the keyboard it is enough to define one command (like
10070
1782c233cd29 Spelling and wording corrections.
diego
parents: 9117
diff changeset
130 ## "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
131 ## then be navigated with the cursor keys and ENTER (defined in menu.conf).
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
132 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
133 ## LIRC users should bind each "menu" command to a button on their remote.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
134 ##
10070
1782c233cd29 Spelling and wording corrections.
diego
parents: 9117
diff changeset
135 ## The set_menu command directly displays the (sub)menu specified as
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
136 ## its argument. Usage should be self-explanatory (although not likely
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
137 ## to be needed), after reading input.conf.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
138 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
139
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
140 #MOUSE_BTN0 menu up
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
141 #y menu down
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
142 #y menu ok
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
143 #y menu cancel
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
144 #y menu hide
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
145 #y set_menu general_pref
19770
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
146
21380
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
147 ##
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
148 ## DVDNAV
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
149 ## Requires dvdnav://
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
150 ##
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
151
27068
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
152 UP {dvdnav} dvdnav up # DVDNav UP
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
153 DOWN {dvdnav} dvdnav down # DVDNav DOWN
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
154 LEFT {dvdnav} dvdnav left # DVDNav LEFT
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
155 RIGHT {dvdnav} dvdnav right # DVDNav RIGHT
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
156 ESC {dvdnav} dvdnav menu # DVDNav MENU
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
157 ENTER {dvdnav} dvdnav select # DVDNav SELECT (ok)
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
158 BS {dvdnav} dvdnav prev # 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
159
27068
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
160 AR_VUP {dvdnav} dvdnav up # DVDNav UP
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
161 AR_VDOWN {dvdnav} dvdnav down # DVDNav DOWN
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
162 AR_PREV {dvdnav} dvdnav left # DVDNav LEFT
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
163 AR_NEXT {dvdnav} dvdnav right # DVDNav RIGHT
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
164 AR_MENU {dvdnav} dvdnav menu # DVDNav MENU
d7e0e33c546f Change DVDNAV command key names.
ben
parents: 26769
diff changeset
165 AR_PLAY {dvdnav} dvdnav select # DVDNav SELECT (ok)
26768
e92b50bfea22 Allow DVD Menus to be controlled by AppleIR Remote.
ben
parents: 26729
diff changeset
166
21380
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
167 #? 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
168 #? seek_chapter +1 # next