x11: allow unicode input
[mplayer.git] / etc / input.conf
blob509f1bf876c154a3a3a9ffa4f16f59a3bb161dbd
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 V step_property_osd ass_vsfilter_aspect_compat  # stretch SSA/ASS subtitles with anamorphic videos to match historical VSFilter behavior
79 f vo_fullscreen
80 T vo_ontop              # toggle video window ontop of other windows
81 w panscan -0.1          # zoom out with -panscan 0 -fs
82 e panscan +0.1          #      in
83 s screenshot            # take a png screenshot with -vf screenshot
84                         # S will take a png screenshot of every frame
86 h tv_step_channel 1
87 l tv_step_channel -1
88 n tv_step_norm
89 b tv_step_chanlist
92 ## Mouse section
95 MOUSE_BTN0_DBL vo_fullscreen  # toggle fullscreen on/off
96 MOUSE_BTN2 pause              # toggle pause on/off
99 ## Joystick section
100 ## WARNING: joystick support has to be explicitly enabled at
101 ##          compiletime with --enable-joystick
104 JOY_RIGHT seek 10
105 JOY_LEFT seek -10
106 JOY_UP seek 60
107 JOY_DOWN seek -60
108 JOY_BTN0 pause
109 JOY_BTN1 osd
110 JOY_BTN2 volume 1
111 JOY_BTN3 volume -1
114 ## Apple Remote section
117 AR_PLAY pause
118 AR_PLAY_HOLD quit
119 AR_NEXT seek 30
120 AR_NEXT_HOLD seek 120
121 AR_PREV seek -10
122 AR_PREV_HOLD seek -120
123 AR_MENU_HOLD mute
124 AR_VUP volume 1
125 AR_VDOWN volume -1
128 ## DVDNAV
129 ## Requires dvdnav://
132 UP    {dvdnav} dvdnav up          # DVDNav UP
133 DOWN  {dvdnav} dvdnav down        # DVDNav DOWN
134 LEFT  {dvdnav} dvdnav left        # DVDNav LEFT
135 RIGHT {dvdnav} dvdnav right       # DVDNav RIGHT
136 ESC   {dvdnav} dvdnav menu        # DVDNav MENU
137 ENTER {dvdnav} dvdnav select      # DVDNav SELECT (ok)
138 BS    {dvdnav} dvdnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)
140 AR_VUP    {dvdnav} dvdnav up      # DVDNav UP
141 AR_VDOWN  {dvdnav} dvdnav down    # DVDNav DOWN
142 AR_PREV   {dvdnav} dvdnav left    # DVDNav LEFT
143 AR_NEXT   {dvdnav} dvdnav right   # DVDNav RIGHT
144 AR_MENU   {dvdnav} dvdnav menu    # DVDNav MENU
145 AR_PLAY   {dvdnav} dvdnav select  # DVDNav SELECT (ok)
147 #? seek_chapter -1      # skip to previous dvd chapter
148 #? seek_chapter +1      #         next