annotate etc/input.conf @ 21055:bc2cf8eb55b3

Move subtitle updating to a separate function, fix inverted condition which caused timing of DVD subtitles to be ignored so that they were shown as soon as they were demuxed rather than in their timed position.
author uau
date Sun, 19 Nov 2006 17:55:38 +0000
parents b7bba0853adf
children f44dbada8898
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.
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
7 ##
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
18100
826a0faa2a0f Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents: 17179
diff changeset
17 + audio_delay 0.100
826a0faa2a0f Switch audio delay keys to something more sane (+ to increase, - to decrease)
diego
parents: 17179
diff changeset
18 - audio_delay -0.100
13710
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
19 [ speed_mult 0.9091 # scale playback speed
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
20 ] speed_mult 1.1
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
21 { speed_mult 0.5
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
22 } speed_mult 2.0
d7af73cc38da allow changing playback speed during playback.
reimar
parents: 13642
diff changeset
23 BS speed_set 1.0 # reset speed to normal
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
24 q quit
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
25 ESC quit
5136
79ea91540f29 ENTER now quits after last file
gabucino
parents: 5113
diff changeset
26 ENTER pt_step 1 1
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
27 p pause
13642
86f21713c356 Make '.' key default for framestepping
reimar
parents: 13626
diff changeset
28 . frame_step
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
29 SPACE pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
30 HOME pt_up_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
31 END pt_up_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
32 > pt_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
33 < pt_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
34 INS alt_src_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
35 DEL alt_src_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
36 o osd
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
37 z sub_delay -0.1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
38 x sub_delay +0.1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
39 9 volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
40 / volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
41 0 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 1 contrast -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
44 2 contrast 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
45 3 brightness -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
46 4 brightness 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
47 5 hue -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
48 6 hue 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
49 7 saturation -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
50 8 saturation 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
51 d frame_drop
5017
940f3bf0c3a0 bindings for subpos
gabucino
parents: 4984
diff changeset
52 r sub_pos -1
940f3bf0c3a0 bindings for subpos
gabucino
parents: 4984
diff changeset
53 t sub_pos +1
8399
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
54 #? sub_step +1 # immediately display next subtitle
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
55 #? sub_step -1 # previous
5113
gabucino
parents: 5017
diff changeset
56 f vo_fullscreen
11542
85e503ddf65f runtime 'stay-on-top' functionality
joey
parents: 10070
diff changeset
57 T vo_ontop
9117
582bda49dd30 panscan keys
gabucino
parents: 8399
diff changeset
58 w panscan -0.1
582bda49dd30 panscan keys
gabucino
parents: 8399
diff changeset
59 e panscan +0.1
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
60
18222
8c35bd43135f Add a new command: osd_show_property_text that show an expanded property
albeu
parents: 18100
diff changeset
61 I osd_show_property_text "${filename}"
8c35bd43135f Add a new command: osd_show_property_text that show an expanded property
albeu
parents: 18100
diff changeset
62
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
63 h tv_step_channel 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
64 l tv_step_channel -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
65 n tv_step_norm
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
66 b tv_step_chanlist
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
67
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
68 ##
5113
gabucino
parents: 5017
diff changeset
69 ## GUI
gabucino
parents: 5017
diff changeset
70 ##
gabucino
parents: 5017
diff changeset
71
gabucino
parents: 5017
diff changeset
72 #l gui_loadfile
gabucino
parents: 5017
diff changeset
73 #t gui_loadsubtitle
gabucino
parents: 5017
diff changeset
74 #a gui_about
gabucino
parents: 5017
diff changeset
75 #s gui_stop
gabucino
parents: 5017
diff changeset
76 #p gui_playlist
gabucino
parents: 5017
diff changeset
77 #r gui_preferences
gabucino
parents: 5017
diff changeset
78 #c gui_skinbrowser
gabucino
parents: 5017
diff changeset
79
gabucino
parents: 5017
diff changeset
80 ##
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
81 ## Joystick section
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
82 ## WARNING: joystick support has to be explicitly enabled at
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
83 ## compiletime with --enable-joystick
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
84 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
85
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
86 JOY_RIGHT seek 10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
87 JOY_LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
88 JOY_UP seek 60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
89 JOY_DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
90 JOY_BTN0 pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
91 JOY_BTN1 osd
5195
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
92 JOY_BTN2 volume 1
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
93 JOY_BTN3 volume -1
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
94
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
95 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
96 ## OSD Menu movement keys
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 ## 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
99 ## "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
100 ## then be navigated with the cursor keys and ENTER.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
101 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
102 ## 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
103 ##
10070
1782c233cd29 Spelling and wording corrections.
diego
parents: 9117
diff changeset
104 ## The set_menu command directly displays the (sub)menu specified as
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
105 ## its argument. Usage should be self-explanatory (although not likely
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
106 ## to be needed), after reading input.conf.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
107 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
108
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
109 #MOUSE_BTN0 menu up
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
110 #y menu down
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
111 #y menu ok
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
112 #y menu cancel
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
113 #y menu hide
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
114 #y set_menu general_pref
19770
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
115
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
116 KP8 dvdnav 1 # DVDNav UP
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
117 KP2 dvdnav 2 # DVDNav DOWN
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
118 KP4 dvdnav 3 # DVDNav LEFT
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
119 KP6 dvdnav 4 # DVDNav RIGHT
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
120 KP5 dvdnav 5 # DVDNav MENU
0b8e84663cb2 added unallocated keys to navigate the dvdnav menus
nicodvb
parents: 18222
diff changeset
121 KP_ENTER dvdnav 6 # DVDNav SELECT (ok)
19778
b7bba0853adf KP7 bound to dvdnav 7 (previous menu)
nicodvb
parents: 19770
diff changeset
122 KP7 dvdnav 7 # DVDNav PREVIOUS menu (in the order chapter->title->root)