This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.conf
141 lines (112 loc) · 5.32 KB
/
input.conf
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
129
130
131
132
133
134
135
136
137
138
139
WHEEL_UP add volume 2
WHEEL_DOWN add volume -2
UP add volume 2
DOWN add volume -2
AXIS_UP add volume 2
AXIS_DOWN add volume -2
Shift+RIGHT frame-step
Shift+LEFT frame-back-step
H seek -65
h seek 65
v cycle deband
a cycle audio
s cycle sub
I script-binding stats/display-stats-toggle
i cycle interpolation
t script-message-to seek_to toggle-seeker
b apply-profile basic; show-text "Shaders cleared"
+ add audio-delay 0.010
- add audio-delay -0.010
F1 add sub-delay -0.1
F2 add sub-delay +0.1
F4 cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1"
#audio compressor 20LUFS#
c af toggle "lavfi=[loudnorm=i=-20]";
Meta+v script-message-to Mac_Integration OpenFromClipboard
TAB script-message-to Mac_Integration ShowFinder
Ctrl+f script-message-to Mac_Integration ShowInFinder
#imageviewer#
1 {image-viewer} change-list script-opts append image_positioning-drag_to_pan_margin=200
2 {image-viewer} change-list script-opts append ruler-exit_bindings=8
3 {image-viewer} change-list script-opts append ruler-line_color=FF
4 {image-viewer} change-list script-opts append ruler-scale=25
5 {image-viewer} change-list script-opts append ruler-max_size=20,20
SPACE {image-viewer} repeatable playlist-next
alt+SPACE {image-viewer} repeatable playlist-prev
UP {image-viewer} ignore
DOWN {image-viewer} ignore
LEFT {image-viewer} repeatable playlist-prev
RIGHT {image-viewer} repeatable playlist-next
# simple reminder of default bindings
#1 add contrast -1
#2 add contrast 1
#3 add brightness -1
#4 add brightness 1
#5 add gamma -1
#6 add gamma 1
#7 add saturation -1
#8 add saturation 1
# mouse-centric bindings
MBTN_RIGHT {image-viewer} script-binding drag-to-pan
MBTN_LEFT {image-viewer} script-binding pan-follows-cursor
MBTN_LEFT_DBL {image-viewer} ignore
WHEEL_UP {image-viewer} script-message cursor-centric-zoom 0.1
WHEEL_DOWN {image-viewer} script-message cursor-centric-zoom -0.1
# panning with the keyboard:
# pan-image takes the following arguments
# pan-image AXIS AMOUNT ZOOM_INVARIANT IMAGE_CONSTRAINED
# ^ ^ ^
# x or y | |
# | |
# if yes, will pan by the same if yes, stops panning if the image
# amount regardless of zoom would go outside of the window
ctrl+down {image-viewer} repeatable script-message pan-image y -0.1 yes yes
ctrl+up {image-viewer} repeatable script-message pan-image y +0.1 yes yes
ctrl+right {image-viewer} repeatable script-message pan-image x -0.1 yes yes
ctrl+left {image-viewer} repeatable script-message pan-image x +0.1 yes yes
# now with more precision
alt+down {image-viewer} repeatable script-message pan-image y -0.01 yes yes
alt+up {image-viewer} repeatable script-message pan-image y +0.01 yes yes
alt+right {image-viewer} repeatable script-message pan-image x -0.01 yes yes
alt+left {image-viewer} repeatable script-message pan-image x +0.01 yes yes
# replace at will with h,j,k,l if you prefer vim-style bindings
# on a trackpad you may want to use these
#WHEEL_UP repeatable script-message pan-image y -0.02 yes yes
#WHEEL_DOWN repeatable script-message pan-image y +0.02 yes yes
#WHEEL_LEFT repeatable script-message pan-image x -0.02 yes yes
#WHEEL_RIGHT repeatable script-message pan-image x +0.02 yes yes
# align the border of the image to the border of the window
# align-border takes the following arguments:
# align-border ALIGN_X ALIGN_Y
# any value for ALIGN_* is accepted, -1 and 1 map to the border of the window
ctrl+shift+right {image-viewer} script-message align-border -1 ""
ctrl+shift+left {image-viewer} script-message align-border 1 ""
ctrl+shift+down {image-viewer} script-message align-border "" -1
ctrl+shift+up {image-viewer} script-message align-border "" 1
# reset the image
ctrl+0 {image-viewer} no-osd set video-pan-x 0; no-osd set video-pan-y 0; no-osd set video-zoom 0
+ {image-viewer} add video-zoom 0.5
- {image-viewer} add video-zoom -0.5; script-message reset-pan-if-visible
= {image-viewer} no-osd set video-zoom 0; script-message reset-pan-if-visible
e {image-viewer} script-message equalizer-toggle
alt+e {image-viewer} script-message equalizer-reset
h {image-viewer} no-osd vf toggle hflip; show-text "Horizontal flip"
v {image-viewer} no-osd vf toggle vflip; show-text "Vertical flip"
r {image-viewer} script-message rotate-video 90; show-text "Clockwise rotation"
R {image-viewer} script-message rotate-video -90; show-text "Counter-clockwise rotation"
alt+r {image-viewer} no-osd set video-rotate 0; show-text "Reset rotation"
d {image-viewer} script-message ruler
# Toggling between pixel-exact reproduction and interpolation
a {image-viewer} cycle-values scale nearest ewa_lanczossharp
# Toggle color management on or off
c {image-viewer} cycle icc-profile-auto
# Screenshot of the window output
S {image-viewer} screenshot window
s {image-viewer} script-message status-line-toggle
# Toggle aspect ratio information on and off
A {image-viewer} cycle-values video-aspect-override "-1" "no"
p {image-viewer} script-message force-print-filename
# ADVANCED: you can define bindings that belong to a "section" (named "image-viewer" here) like so:
#alt+SPACE {image-viewer} repeatable playlist-prev
#SPACE {image-viewer} repeatable playlist-next
# to load them conditionally with a command. See scripts-opts/image_viewer.conf for how you can do this