Skip to content

Commit

Permalink
Minimal: Update input.conf
Browse files Browse the repository at this point in the history
My layout kinda sucked so I'm switching to mostly using the example input.conf from the new menu plugin
  • Loading branch information
NotMithical committed Jan 30, 2024
1 parent a5bbdf3 commit 7db4618
Showing 1 changed file with 163 additions and 99 deletions.
262 changes: 163 additions & 99 deletions Minimal/portable_config/input.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MBTN_RIGHT script-message-to menu show

#Open Menu
_ script-message-to dialog open #menu: Open > File
_ script-message-to dialog open-folder #menu: Open > Folder
_ script-message-to dialog open-folder #menu: Open > Folder
_ script-binding load_plus/import_url #menu: Open > URL

#Disc Open Sub-Menu
Expand All @@ -20,101 +20,165 @@ _ script-binding load_plus/import_url #menu: Open > URL

_ ignore #menu: -

#Window Menu
_ cycle ontop #menu: Window > Toggle Stay On Top
_ cycle border #menu: Window > Toggle Border
_ cycle fullscreen #menu: Window > Toggle Fullscreen
_ quit #menu: Window > Close

_ ignore #menu: -

#Play Menu
_ ignore #menu: Play > Play/Pause
_ ignore #menu: Play > Stop
_ ignore #menu: Play > -
_ ignore #menu: Play > Previous
_ ignore #menu: Play > Next
_ ignore #menu: Play > -

#Speed Sub-Menu
_ set speed 1.0 #menu: Play > Speed > Reset
_ multiply speed 1.10 #menu: Play > Speed > x1.10
_ multiply speed 1/1.10 #menu: Play > Speed > /1.10

#A-B Loop Menu
#yeah this part is gonna take a little more work

#Seek Sub-Menu
_ seek 0 absolute #menu: Play > Seek > Beginning
_ ignore #menu: Play > Seek > -
_ seek 5 #menu: Play > Seek > +5 Seconds
_ seek -5 #menu: Play > Seek > -5 Seconds
_ seek 30 #menu: Play > Seek > +30 Seconds
_ seek -30 #menu: Play > Seek > -30 Seconds
_ seek 60 #menu: Play > Seek > +60 Seconds
_ seek -60 #menu: Play > Seek > -60 Seconds
_ frame-back-step #menu: Play > Seek > Previous Frame
_ frame-step #menu: Play > Seek > Next Frame
_ sub-seek -1 #menu: Play > Seek > Previous Subtitle
_ sub-seek 0 #menu: Play > Seek > Current Subtitle
_ sub-seek 1 #menu: Play > Seek > Next Subtitle

_ ignore #menu: -

#Video Menu
_ ignore #menu: Video > Track #@tracks/video
_ ignore #menu: Video > -

#Screenshot Sub-Menu
_ async screenshot #menu: Video > Screenshot > Take Screenshot
_ async screenshot video #menu: Video > Screenshot > Take Screenshot (No Subtitles)
_ async screenshot window #menu: Video > Screenshot > Take Screenshot (Subtitles/OSD/Scaled)

#Zoom Sub-Menu
_ set video-zoom 0 #menu: Video > Zoom > Reset
_ add video-zoom 0.01 #menu: Video > Zoom > +1%
_ add video-zoom -0.01 #menu: Video > Zoom > -1%

#Rotate Sub-Menu
_ set video-rotate 0 #menu: Video > Rotate > Reset
_ set video-rotate 90 #menu: Video > Rotate > 90°
_ set video-rotate 180 #menu: Video > Rotate > 180°
_ set video-rotate 270 #menu: Video > Rotate > 270°

#Pan Sub-Menu
_ no-osd set video-pan-x 0; no-osd set video-pan-y 0 #menu: Video > Pan > Reset
_ ignore #menu: Video > Pan > -
_ no-osd add video-pan-x 0.1 #menu: Video > Pan > Horizontal +
_ no-osd add video-pan-x -0.1 #menu: Video > Pan > Horizontal -
_ no-osd add video-pan-y 0.1 #menu: Video > Pan > Vertical +
_ no-osd add video-pan-y -0.1 #menu: Video > Pan > Vertical -

_ ignore #menu: Video > -

_ no-osd vf toggle vflip #menu: Video > Flip Vertically
_ no-osd vf toggle hflip #menu: Video > Flip Horizontally

_ ignore #menu: Video > -

Ctrl+d no-osd cycle deinterlace #menu: Video > Toggle Deinterlacing

_ ignore #menu: Video > -

_ add brightness 1 #menu: Video > Color > Brightness +
_ add brightness -1 #menu: Video > Color > Brightness -
_ add contrast -1 #menu: Video > Color > Contrast -
_ add contrast -1 #menu: Video > Color > Contrast -
_ add saturation -1 #menu: Video > Color > Saturation hue-
_ add saturation -1 #menu: Video > Color > Saturation -
_ add hue -1 #menu: Video > Color > Hue -
_ add hue -1 #menu: Video > Color > Hue -

_ ignore #menu: -

_ ignore #menu: Audio Track #@tracks/audio

_ ignore #menu: -

_ ignore #menu: Subtitles > Track #@tracks/sub
_ add sub-scale 1 #menu: Subtitles > Scale +
_ add sub-scale -1 #menu: Subtitles > Scale -
Space cycle pause #menu: Play #@state=(playlist_playing_pos==-1 and 'disabled' or (pause or 'hidden'))
Space cycle pause #menu: Pause #@state=((playlist_playing_pos==-1 or pause) and 'hidden')
Ctrl+s stop #menu: Stop #@state=(playlist_playing_pos==-1 and 'disabled')
_ ignore #menu: -

F11 playlist-prev #menu: Navigate > Previous File
F12 playlist-next #menu: Navigate > Next File
_ ignore #menu: Navigate > -
PGUP add chapter 1 #menu: Navigate > Next Chapter
PGDWN add chapter -1 #menu: Navigate > Previous Chapter
_ ignore #menu: Navigate > -
. frame-step #menu: Navigate > Jump Next Frame
, frame-back-step #menu: Navigate > Jump Previous Frame
_ ignore #menu: Navigate > -
Right seek 5 #menu: Navigate > Jump 5 sec forward
Left seek -5 #menu: Navigate > Jump 5 sec backward
_ ignore #menu: Navigate > -
Up seek 30 #menu: Navigate > Jump 30 sec forward
Down seek -30 #menu: Navigate > Jump 30 sec backward
_ ignore #menu: Navigate > -
Ctrl+Right seek 300 #menu: Navigate > Jump 5 min forward
Ctrl+Left seek -300 #menu: Navigate > Jump 5 min backward
_ ignore #menu: -

_ ignore #menu: Chapters #@chapters
_ ignore #menu: Tracks #@tracks
_ ignore #menu: Editions #@editions
_ ignore #menu: Playlist #@playlist
_ ignore #menu: -

KP8 cycle video #menu: Video > Tracks #@tracks/video
_ script-message-to dialog open add-video #menu: Video > Add Tracks... #@state=(playlist_playing_pos==-1 and 'disabled')
_ ignore #menu: Video > -
_ cycle video #menu: Video > Next Track
Ctrl+1 add contrast -1 #menu: Video > Decrease Contrast
Ctrl+2 add contrast 1 #menu: Video > Increase Contrast
_ ignore #menu: Video > -
Ctrl+3 add brightness -1 #menu: Video > Decrease Brightness
Ctrl+4 add brightness 1 #menu: Video > Increase Brightness
_ ignore #menu: Video > -
Ctrl+5 add gamma -1 #menu: Video > Decrease Gamma
Ctrl+6 add gamma 1 #menu: Video > Increase Gamma
_ ignore #menu: Video > -
Ctrl+7 add saturation -1 #menu: Video > Decrease Saturation
Ctrl+8 add saturation 1 #menu: Video > Increase Saturation
_ ignore #menu: Video > -
s async screenshot #menu: Video > Take Screenshot #@state=(tonumber(vid) or 'disabled')
S async screenshot video #menu: Video > Take Screenshot (without subtitles) #@state=(tonumber(vid) or 'disabled')
_ ignore #menu: Video > -
_ set video-aspect-override 16:9 #menu: Video > Aspect Ratio > 16:9
_ set video-aspect-override 4:3 #menu: Video > Aspect Ratio > 4:3
_ set video-aspect-override 2.35:1 #menu: Video > Aspect Ratio > 2.35:1
_ set video-aspect-override -1 #menu: Video > Aspect Ratio > Reset
a cycle-values video-aspect-override 16:9 4:3 2.35:1 -1
Ctrl+r cycle-values video-rotate 90 180 270 0 #menu: Video > Rotate Video
D cycle deband #menu: Video > Toggle Deband #@state=(deband and 'checked')
d cycle deinterlace #menu: Video > Toggle Deinterlace #@state=(deinterlace and 'checked')
Ctrl+I cycle icc-profile-auto #menu: Video > Toggle Auto ICC Profile #@state=(icc_profile_auto and 'checked')

KP7 cycle audio #menu: Audio > Tracks #@tracks/audio
_ script-message-to dialog open add-audio #menu: Audio > Add Tracks... #@state=(playlist_playing_pos==-1 and 'disabled')
_ ignore #menu: Audio > -
Ctrl+d add audio-delay 0.1 #menu: Audio > Delay +0.1
Ctrl+D add audio-delay -0.1 #menu: Audio > Delay -0.1
_ ignore #menu: Audio > -
_ ignore #menu: Audio > Devices #@audio-devices

j cycle sub #menu: Subtitle > Main Subtitle #@tracks/sub
v cycle sub-visibility #menu: Subtitle > Main Subtitle Options > Visibility #@state=(sub_visibility and 'checked')
_ ignore #menu: Subtitle > Main Subtitle Options > -
z add sub-delay -0.1 #menu: Subtitle > Main Subtitle Options > Delay -0.1
Z add sub-delay 0.1 #menu: Subtitle > Main Subtitle Options > Delay +0.1
_ ignore #menu: Subtitle > Main Subtitle Options > -
r add sub-pos -1 #menu: Subtitle > Main Subtitle Options > Move Up
R add sub-pos +1 #menu: Subtitle > Main Subtitle Options > Move Down
Alt+j cycle secondary-sid #menu: Subtitle > Secondary Subtitle #@tracks/sub-secondary
Alt+v cycle secondary-sub-visibility #menu: Subtitle > Secondary Subtitle Options > Visibility #@state=(secondary_sub_visibility and 'checked')
_ ignore #menu: Subtitle > Secondary Subtitle Options > -
Alt+z add secondary-sub-delay -0.1 #menu: Subtitle > Secondary Subtitle Options > Delay -0.1
Alt+Z add secondary-sub-delay 0.1 #menu: Subtitle > Secondary Subtitle Options > Delay +0.1
_ ignore #menu: Subtitle > Secondary Subtitle Options > -
Alt+r add secondary-sub-pos -1 #menu: Subtitle > Secondary Subtitle Options > Move Up
Alt+R add secondary-sub-pos +1 #menu: Subtitle > Secondary Subtitle Options > Move Down
_ script-message-to dialog open add-sub #menu: Subtitle > Add Tracks... #@state=(playlist_playing_pos==-1 and 'disabled')
_ ignore #menu: Subtitle > -
F add sub-scale -0.1 #menu: Subtitle > Decrease Subtitle Font Size
G add sub-scale 0.1 #menu: Subtitle > Increase Subtitle Font Size
_ ignore #menu: -

Ctrl++ add video-zoom 0.1 #menu: Pan & Scan > Increase Size
Ctrl+- add video-zoom -0.1 #menu: Pan & Scan > Decrease Size
_ ignore #menu: Pan & Scan > -
Ctrl+KP4 add video-pan-x -0.01 #menu: Pan & Scan > Move Left
Ctrl+KP6 add video-pan-x 0.01 #menu: Pan & Scan > Move Right
_ ignore #menu: Pan & Scan > -
Ctrl+KP8 add video-pan-y -0.01 #menu: Pan & Scan > Move Up
Ctrl+KP2 add video-pan-y 0.01 #menu: Pan & Scan > Move Down
_ ignore #menu: Pan & Scan > -
w add panscan -0.1 #menu: Pan & Scan > Decrease Height
W add panscan 0.1 #menu: Pan & Scan > Increase Height
_ ignore #menu: Pan & Scan > -
Ctrl+BS set video-zoom 0; set video-pan-x 0; set video-pan-y 0 #menu: Pan & Scan > Reset

[ multiply speed 1/1.1 #menu: Speed > -10%
] multiply speed 1.1 #menu: Speed > +10%
_ ignore #menu: Speed > -
{ multiply speed 0.5 #menu: Speed > Half
} multiply speed 2.0 #menu: Speed > Double
_ ignore #menu: Speed > -
_ set speed 0.5 #menu: Speed > 0.5x
_ set speed 0.75 #menu: Speed > 0.75x
_ set speed 1.0 #menu: Speed > 1.0x
_ set speed 1.25 #menu: Speed > 1.25x
_ set speed 1.5 #menu: Speed > 1.5x
_ set speed 2.0 #menu: Speed > 2.0x
_ ignore #menu: Speed > -
BS set speed 1 #menu: Speed > Reset

+ add volume 2 #menu: Volume > Up
- add volume -2 #menu: Volume > Down
_ ignore #menu: Volume > -
m cycle mute #menu: Volume > Mute #@state=(mute and 'checked')
_ ignore #menu: -

Alt++ add window-scale 0.1 #menu: View > Zoom > Enlarge
Alt+- add window-scale -0.1 #menu: View > Zoom > Shrink
_ ignore #menu: View > Zoom > -
Alt+0 set window-scale 0.5 #menu: View > Zoom > 50 %
Alt+1 set window-scale 1.0 #menu: View > Zoom > 100 %
Alt+2 set window-scale 2.0 #menu: View > Zoom > 200 %
Alt+3 set window-scale 3.0 #menu: View > Zoom > 300 %
_ ignore #menu: View > -
t script-binding stats/display-stats-toggle #menu: View > Toggle Statistics
O no-osd cycle-values osd-level 3 1 #menu: View > Toggle Time OSD
Del script-binding osc/visibility #menu: View > Toggle OSC Visibility
_ ignore #menu: View > -
p show-progress #menu: View > Show Progress
` script-binding console/enable #menu: View > Show Consol

Enter cycle fullscreen #menu: Window > Fullscreen #@state=(fullscreen and 'checked')
Ctrl+S screenshot window #menu: Window > Take Screenshot #@state=(tonumber(vid) or 'disabled')
_ script-message-to dialog save screenshot #menu: Window > Export Screenshot File #@state=(tonumber(vid) or 'disabled')
_ ignore #menu: Window > -
b cycle border #menu: Window > Toggle Border #@state=(border and 'checked')
Ctrl+t cycle ontop #menu: Window > Toggle On Top #@ontop:check #@state=(ontop and 'checked')

_ script-message-to dialog set-clipboard ${path} #menu: Tools > Copy File Path
_ script-message-to dialog set-clipboard ${metadata} #menu: Tools > Copy Metadata
_ ignore #menu: Tools > -
_ playlist-shuffle #menu: Tools > Shuffle Playlist
_ script-message-to dialog save playlist #menu: Tools > Export Playlist
_ ignore #menu: Tools > -
l ab-loop #menu: Tools > Set/clear A-B loop points
L cycle-values loop-file inf no #menu: Tools > Toggle infinite file looping
Ctrl+h cycle-values hwdec auto no #menu: Tools > Toggle Hardware Decoding
_ ignore #menu: Tools > -
_ ignore #menu: Tools > Profiles #@profiles
_ ignore #menu: Tools > -
Q quit-watch-later #menu: Tools > Exit Watch Late

_ ignore #menu: -
q quit #menu: Exit

0 comments on commit 7db4618

Please sign in to comment.