annotate etc/input.conf @ 22479:a99ddf2ece25

Change to match current command.c (same functionality). The versions compile to the same code on my machine except for one test instruction that has its operands swapped and conditional jump changed accordingly.
author uau
date Fri, 09 Mar 2007 12:39:34 +0000
parents f57a5ef9b3c1
children 0c811221c415
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 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
11 RIGHT seek +10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
12 LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
13 DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
14 UP seek +60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
15 PGUP seek 600
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
16 PGDWN seek -600
21380
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
17 # switch_audio # switch audio streams
18100
826a0faa2a0f Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents: 17179
diff changeset
18 + audio_delay 0.100
826a0faa2a0f Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents: 17179
diff changeset
19 - audio_delay -0.100
13710
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
20 [ speed_mult 0.9091 # scale playback speed
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
21 ] speed_mult 1.1
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
22 { speed_mult 0.5
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
23 } speed_mult 2.0
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
24 BS speed_set 1.0 # reset speed to normal
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
25 q quit
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
26 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
27 ENTER pt_step 1 1 # skip to next file
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
28 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
29 . frame_step # advance one frame and pause
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
30 SPACE pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
31 HOME pt_up_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
32 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
33 > 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
34 < pt_step -1 # previous
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
35 INS alt_src_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
36 DEL alt_src_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
37 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
38 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
39 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
40 x sub_delay +0.1 # add
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
41 9 volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
42 / volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
43 0 volume 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
44 * volume 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
45 1 contrast -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
46 2 contrast 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
47 3 brightness -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
48 4 brightness 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
49 5 hue -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
50 6 hue 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
51 7 saturation -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
52 8 saturation 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
53 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
54 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
55 t sub_pos +1 # down
8399
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
56 #? sub_step +1 # immediately display next subtitle
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
57 #? sub_step -1 # previous
5113
gabucino
parents: 5017
diff changeset
58 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
59 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
60 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
61 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
62 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
63 # S will take a png screenshot of every frame
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
64
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
65 h tv_step_channel 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
66 l tv_step_channel -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
67 n tv_step_norm
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
68 b tv_step_chanlist
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
69
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
70 ##
5113
gabucino
parents: 5017
diff changeset
71 ## GUI
gabucino
parents: 5017
diff changeset
72 ##
gabucino
parents: 5017
diff changeset
73
gabucino
parents: 5017
diff changeset
74 #l gui_loadfile
gabucino
parents: 5017
diff changeset
75 #t gui_loadsubtitle
gabucino
parents: 5017
diff changeset
76 #a gui_about
gabucino
parents: 5017
diff changeset
77 #s gui_stop
gabucino
parents: 5017
diff changeset
78 #p gui_playlist
gabucino
parents: 5017
diff changeset
79 #r gui_preferences
gabucino
parents: 5017
diff changeset
80 #c gui_skinbrowser
gabucino
parents: 5017
diff changeset
81
gabucino
parents: 5017
diff changeset
82 ##
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
83 ## Joystick section
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
84 ## WARNING: joystick support has to be explicitly enabled at
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
85 ## compiletime with --enable-joystick
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
86 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
87
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
88 JOY_RIGHT seek 10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
89 JOY_LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
90 JOY_UP seek 60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
91 JOY_DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
92 JOY_BTN0 pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
93 JOY_BTN1 osd
5195
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
94 JOY_BTN2 volume 1
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
95 JOY_BTN3 volume -1
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
96
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
97 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
98 ## OSD Menu movement keys
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
99 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
100 ## 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
101 ## "menu up"), because then that single key will display the menu, which can
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
102 ## then be navigated with the cursor keys and ENTER.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
103 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
104 ## 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
105 ##
10070
1782c233cd29 Spelling and wording corrections.
diego
parents: 9117
diff changeset
106 ## The set_menu command directly displays the (sub)menu specified as
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
107 ## its argument. Usage should be self-explanatory (although not likely
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
108 ## to be needed), after reading input.conf.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
109 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
110
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
111 #MOUSE_BTN0 menu up
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
112 #y menu down
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
113 #y menu ok
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
114 #y menu cancel
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
115 #y menu hide
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
116 #y set_menu general_pref
19770
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
117
21380
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
118 ##
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
119 ## DVDNAV
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
120 ## Requires dvdnav://
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
121 ##
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
122
21381
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
123 KP8 dvdnav 1 # DVDNav UP
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
124 KP2 dvdnav 2 # DVDNav DOWN
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
125 KP4 dvdnav 3 # DVDNav LEFT
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
126 KP6 dvdnav 4 # DVDNav RIGHT
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
127 KP5 dvdnav 5 # DVDNav MENU
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
128 KP_ENTER dvdnav 6 # DVDNav SELECT (ok)
71dcc8c27e60 fix indentation after last commit
gpoirier
parents: 21380
diff changeset
129 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
130
f44dbada8898 add more comments to input.conf, patch by compn % tempn A twmi P rr P com %
gpoirier
parents: 19778
diff changeset
131 #? 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
132 #? seek_chapter +1 # next