annotate etc/input.conf @ 9278:caea8ed36b48

The reason why mplayer crashes (in some cases) when using x11 output and -wid (>0) parameter is this: Mplayer by default creates a colormap using DirectColor visual. If the window given to mplayer uses TrueColor visual there will be an error when mplayer sets the colormap for the window. This patch modifies mplayer to use TrueColor visual if the window given to mplayer uses TrueColor. Another solution is to make sure that the window given to mplayer is created using DirectColor visual if it is supported by the display. Jouni Tulkki <jitulkki@cc.hut.fi>
author arpi
date Tue, 04 Feb 2003 18:31:44 +0000
parents 582bda49dd30
children 1782c233cd29
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
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
5 ## add new ones.
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
6 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
7 ## The file should be placed into $HOME/.mplayer directory.
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
8 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
9
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
10 RIGHT seek +10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
11 LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
12 DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
13 UP seek +60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
14 PGUP seek 600
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
15 PGDWN seek -600
4984
149693903b67 'f' and -/+ fixed (noticed by XYZ user)
gabucino
parents: 4909
diff changeset
16 - audio_delay 0.100
149693903b67 'f' and -/+ fixed (noticed by XYZ user)
gabucino
parents: 4909
diff changeset
17 + audio_delay -0.100
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
18 q quit
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
19 ESC quit
5136
79ea91540f29 ENTER now quits after last file
gabucino
parents: 5113
diff changeset
20 ENTER pt_step 1 1
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
21 p pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
22 SPACE pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
23 HOME pt_up_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
24 END pt_up_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
25 > pt_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
26 < pt_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
27 INS alt_src_step 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
28 DEL alt_src_step -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
29 o osd
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
30 z sub_delay -0.1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
31 x sub_delay +0.1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
32 9 volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
33 / volume -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
34 0 volume 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
35 * volume 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
36 1 contrast -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
37 2 contrast 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
38 3 brightness -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
39 4 brightness 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
40 5 hue -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
41 6 hue 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
42 7 saturation -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
43 8 saturation 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
44 d frame_drop
5017
940f3bf0c3a0 bindings for subpos
gabucino
parents: 4984
diff changeset
45 r sub_pos -1
940f3bf0c3a0 bindings for subpos
gabucino
parents: 4984
diff changeset
46 t sub_pos +1
8399
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
47 #? sub_step +1 # immediately display next subtitle
866fae3d5700 added sub_step
gabucino
parents: 8261
diff changeset
48 #? sub_step -1 # previous
5113
gabucino
parents: 5017
diff changeset
49 f vo_fullscreen
9117
582bda49dd30 panscan keys
gabucino
parents: 8399
diff changeset
50 w panscan -0.1
582bda49dd30 panscan keys
gabucino
parents: 8399
diff changeset
51 e panscan +0.1
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
52
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
53 h tv_step_channel 1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
54 l tv_step_channel -1
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
55 n tv_step_norm
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
56 b tv_step_chanlist
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
57
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
58 ##
5113
gabucino
parents: 5017
diff changeset
59 ## GUI
gabucino
parents: 5017
diff changeset
60 ##
gabucino
parents: 5017
diff changeset
61
gabucino
parents: 5017
diff changeset
62 #l gui_loadfile
gabucino
parents: 5017
diff changeset
63 #t gui_loadsubtitle
gabucino
parents: 5017
diff changeset
64 #a gui_about
gabucino
parents: 5017
diff changeset
65 #s gui_stop
gabucino
parents: 5017
diff changeset
66 #p gui_playlist
gabucino
parents: 5017
diff changeset
67 #r gui_preferences
gabucino
parents: 5017
diff changeset
68 #c gui_skinbrowser
gabucino
parents: 5017
diff changeset
69
gabucino
parents: 5017
diff changeset
70 ##
4909
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
71 ## Joystick section
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
72 ## WARNING: joystick support has to be explicitly enabled at
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
73 ## compiletime with --enable-joystick
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
74 ##
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
75
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
76 JOY_RIGHT seek 10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
77 JOY_LEFT seek -10
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
78 JOY_UP seek 60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
79 JOY_DOWN seek -60
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
80 JOY_BTN0 pause
4920ed827496 initial version. Needs extending, especially LIRC.
gabucino
parents:
diff changeset
81 JOY_BTN1 osd
5195
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
82 JOY_BTN2 volume 1
3a0d9f577c45 Fix a typo error with JOY_BTN2 and JOY_BTN3
albeu
parents: 5136
diff changeset
83 JOY_BTN3 volume -1
8261
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
84
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
85 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
86 ## OSD Menu movement keys
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
87 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
88 ## If you are using only the keyboard it is enough to define one command (like
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
89 ## "menu up"), because the that single key will display the menu, which can
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
90 ## then be navigated with the cursor keys and ENTER.
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
91 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
92 ## 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
93 ##
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
94 ## The set_menu command displays directly the (sub)menu specified as
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
95 ## its argument. Usage should be self-explanatory (although not likely
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
96 ## to be needed), after reading input.conf.
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
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
99 #MOUSE_BTN0 menu up
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
100 #y menu down
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
101 #y menu ok
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
102 #y menu cancel
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
103 #y menu hide
6922b04d0d10 OSD Menu section, description, sample defines
gabucino
parents: 5195
diff changeset
104 #y set_menu general_pref