summaryrefslogtreecommitdiffstats
path: root/mplayer/input.conf
blob: f764ebd9ebcb960c96e4e002aae8455c4711d537 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
##
## MPlayer input control file
##
## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
## add new ones here.
## See DOCS/tech/slave.txt for possible commands that can be bound.
##
## The file should be placed in the $HOME/.mplayer directory.
##

RIGHT seek +10
LEFT seek -10
DOWN seek -60
UP seek +60
+ audio_delay 0.100
- audio_delay -0.100
[ speed_mult 0.9091	# scale playback speed
] speed_mult 1.1
{ speed_mult 0.5
} speed_mult 2.0
BS speed_set 1.0	# reset speed to normal
q quit
p pause
. frame_step
SPACE pause
> pt_step 1
< pt_step -1
o osd 1
z sub_delay -0.1
x sub_delay +0.1
9 volume -1
/ volume -1
0 volume 1
* volume 1
1 contrast -1
2 contrast 1
3 brightness -1
4 brightness 1
5 hue -1
6 hue 1
7 saturation -1
8 saturation 1
d frame_drop
r sub_pos -1
t sub_pos +1
#? sub_step +1		# immediately display next subtitle
#? sub_step -1		#                     previous
f vo_fullscreen
T vo_ontop
w panscan -0.1
e panscan +0.1

i osd_show_property_text "${filename}"

h tv_step_channel 1
l tv_step_channel -1
n tv_step_norm
b tv_step_chanlist

##
## GUI
##

#l gui_loadfile
#t gui_loadsubtitle
#a gui_about
#s gui_stop
#p gui_playlist
#r gui_preferences
#c gui_skinbrowser

##
## Joystick section
## WARNING: joystick support has to be explicitly enabled at
##          compiletime with --enable-joystick
##

#JOY_RIGHT seek 10
#JOY_LEFT seek -10
#JOY_UP seek 60
#JOY_DOWN seek -60
#JOY_BTN0 pause
#JOY_BTN1 osd
#JOY_BTN2 volume 1
#JOY_BTN3 volume -1

##
## OSD Menu movement keys
##
## If you are using only the keyboard it is enough to define one command (like
## "menu up"), because then that single key will display the menu, which can
## then be navigated with the cursor keys and ENTER.
##
## LIRC users should bind each "menu" command to a button on their remote.
##
## The set_menu command directly displays the (sub)menu specified as
## its argument. Usage should be self-explanatory (although not likely
## to be needed), after reading input.conf.
##

MOUSE_BTN0_DBL vo_fullscreen
MOUSE_BTN1 set_menu main
TAB set_menu main
^ set_menu console0

O osd 3

# menu down
# menu ok
# menu cancel
# menu hide
# set_menu general_pref

HOME dvdnav 1  # up
END dvdnav 2  # down
DEL dvdnav 3  # left
PGDWN dvdnav 4  # right
PGUP dvdnav 5  # menu
INS dvdnav 6  # select

a switch_audio
s sub_select

PGUP menu up
PGDWN menu down
HOME menu cancel
END menu ok
ESC menu hide