input: add default keybindings Shift+[arrow] for small exact seeks
[mplayer/glamo.git] / etc / input.conf
blob74373d7ffeab34d66f6e1a8cbd56f929fbe43434
1 ##
2 ## MPlayer input control file
3 ##
4 ## You are able to redefine default keyboard/joystick/mouse/LIRC bindings, or
5 ## add new ones here.
6 ## See DOCS/tech/slave.txt for possible commands that can be bound.
7 ## Also see mplayer -input cmdlist for other possible options.
8 ## The file should be placed in the $HOME/.mplayer directory.
9 ##
10 ## If you wish to unbind a key, use key ignore.
11 ## e.g. ENTER ignore
13 ## You can use modifier-key combinations like Shift+Left or Ctrl+Alt+x with
14 ## modifiers Shift, Ctrl, Alt and Meta, but note that currently reading
15 ## key combinations is only supported through the video windows of X-based
16 ## output drivers (not in output windows of other drivers or in a terminal).
18 RIGHT seek +10
19 LEFT seek -10
20 DOWN seek -60
21 UP seek +60
22 # Do smaller, always exact (non-keyframe-limited), seeks with shift.
23 Shift+Right seek +1 0 1
24 Shift+Left  seek -1 0 1
25 Shift+Down  seek -5 0 1
26 Shift+Up    seek +5 0 1
27 PGUP seek 600
28 PGDWN seek -600
29 m mute
30 # switch_audio          # switch audio streams
31 + audio_delay 0.100
32 = audio_delay 0.100
33 - audio_delay -0.100
34 [ speed_mult 0.9091     # scale playback speed
35 ] speed_mult 1.1
36 { speed_mult 0.5
37 } speed_mult 2.0
38 BS speed_set 1.0        # reset speed to normal
39 q quit
40 ESC quit
41 ENTER pt_step 1 1       # skip to next file
42 p pause
43 . frame_step            # advance one frame and pause
44 SPACE pause
45 HOME pt_up_step 1
46 END pt_up_step -1
47 > pt_step 1             # skip to next file
48 < pt_step -1            #         previous
49 INS alt_src_step 1
50 DEL alt_src_step -1
51 o osd
52 I osd_show_property_text "${filename}"     # display filename in osd
53 P osd_show_progression
54 z sub_delay -0.1        # subtract 100 ms delay from subs
55 x sub_delay +0.1        # add
56 9 volume -1
57 / volume -1
58 0 volume 1
59 * volume 1
60 1 contrast -1
61 2 contrast 1
62 3 brightness -1
63 4 brightness 1
64 5 hue -1
65 6 hue 1
66 7 saturation -1
67 8 saturation 1
68 ( balance -0.1          # adjust audio balance in favor of left
69 ) balance +0.1          #                                  right
70 d frame_drop
71 D step_property deinterlace  # toggle deinterlacer, requires -vf yadif or kerndeint
72 r sub_pos -1            # move subtitles up
73 t sub_pos +1            #                down
74 #? sub_step +1          # immediately display next subtitle
75 #? sub_step -1          #                     previous
76 #? sub_scale +0.1       # increase subtitle font size
77 #? sub_scale -0.1       # decrease subtitle font size
78 f vo_fullscreen
79 T vo_ontop              # toggle video window ontop of other windows
80 w panscan -0.1          # zoom out with -panscan 0 -fs
81 e panscan +0.1          #      in
82 s screenshot            # take a png screenshot with -vf screenshot
83                         # S will take a png screenshot of every frame
85 h tv_step_channel 1
86 l tv_step_channel -1
87 n tv_step_norm
88 b tv_step_chanlist
91 ## Joystick section
92 ## WARNING: joystick support has to be explicitly enabled at
93 ##          compiletime with --enable-joystick
96 JOY_RIGHT seek 10
97 JOY_LEFT seek -10
98 JOY_UP seek 60
99 JOY_DOWN seek -60
100 JOY_BTN0 pause
101 JOY_BTN1 osd
102 JOY_BTN2 volume 1
103 JOY_BTN3 volume -1
104 JOY_BTN4 set_menu main
107 ## Apple Remote section
109 ## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
110 ## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
113 AR_PLAY pause
114 AR_PLAY_HOLD quit
115 AR_NEXT seek 30
116 AR_NEXT_HOLD seek 120
117 AR_PREV seek -10
118 AR_PREV_HOLD seek -120
119 AR_MENU menu up
120 #AR_MENU menu cancel
121 AR_MENU_HOLD mute
122 AR_VUP volume 1
123 AR_VDOWN volume -1
126 ## OSD Menu movement keys
128 ## If you are using only the keyboard it is enough to define one command (like
129 ## "menu up"), because then that single key will display the menu, which can
130 ## then be navigated with the cursor keys and ENTER (defined in menu.conf).
132 ## LIRC users should bind each "menu" command to a button on their remote.
134 ## The set_menu command directly displays the (sub)menu specified as
135 ## its argument. Usage should be self-explanatory (although not likely
136 ## to be needed), after reading input.conf.
139 #MOUSE_BTN0 menu up
140 #y menu down
141 #y menu ok
142 #y menu cancel
143 #y menu hide
144 #y set_menu general_pref
147 ## DVDNAV
148 ## Requires dvdnav://
151 UP    {dvdnav} dvdnav up          # DVDNav UP
152 DOWN  {dvdnav} dvdnav down        # DVDNav DOWN
153 LEFT  {dvdnav} dvdnav left        # DVDNav LEFT
154 RIGHT {dvdnav} dvdnav right       # DVDNav RIGHT
155 ESC   {dvdnav} dvdnav menu        # DVDNav MENU
156 ENTER {dvdnav} dvdnav select      # DVDNav SELECT (ok)
157 BS    {dvdnav} dvdnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)
159 AR_VUP    {dvdnav} dvdnav up      # DVDNav UP
160 AR_VDOWN  {dvdnav} dvdnav down    # DVDNav DOWN
161 AR_PREV   {dvdnav} dvdnav left    # DVDNav LEFT
162 AR_NEXT   {dvdnav} dvdnav right   # DVDNav RIGHT
163 AR_MENU   {dvdnav} dvdnav menu    # DVDNav MENU
164 AR_PLAY   {dvdnav} dvdnav select  # DVDNav SELECT (ok)
166 #? seek_chapter -1      # skip to previous dvd chapter
167 #? seek_chapter +1      #         next