From 53c63ac1f2134651254e3e9b781946bb70a04227 Mon Sep 17 00:00:00 2001 From: c-my Date: Tue, 2 Jun 2020 11:53:58 +0800 Subject: [PATCH] add osd-msg for some function --- input.conf | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/input.conf b/input.conf index 8089ec1..f246d96 100644 --- a/input.conf +++ b/input.conf @@ -38,33 +38,33 @@ MBTN_MID cycle fullscreen # Mouse wheels, touchpad or other input devices that have axes # if the input devices supports precise scrolling it will also scale the # numeric value accordingly -WHEEL_UP add volume 2 -WHEEL_DOWN add volume -2 -WHEEL_LEFT seek -5 exact -WHEEL_RIGHT seek 5 exact +WHEEL_UP osd-msg add volume 2 +WHEEL_DOWN osd-msg add volume -2 +WHEEL_LEFT osd-msg seek -5 exact +WHEEL_RIGHT osd-msg seek 5 exact ## Seek units are in seconds, but note that these are limited by keyframes -RIGHT seek 5 exact -LEFT seek -5 exact -UP add volume 2 -DOWN add volume -2 +RIGHT osd-msg seek 5 exact +LEFT osd-msg seek -5 exact +UP osd-msg add volume 1 +DOWN osd-msg add volume -1 # Do smaller, always exact (non-keyframe-limited), seeks with shift. # Don't show them on the OSD (no-osd). #Shift+RIGHT no-osd seek 1 exact #Shift+LEFT no-osd seek -1 exact #Shift+UP no-osd seek 5 exact #Shift+DOWN no-osd seek -5 exact -Shift+RIGHT seek 30 exact -Shift+LEFT seek -30 exact -Shift+UP no-osd seek 5 exact -Shift+DOWN no-osd seek -5 exact +Shift+RIGHT osd-msg seek 30 exact +Shift+LEFT osd-msg seek -30 exact +Shift+UP osd-msg add volume 10 +Shift+DOWN osd-msg add volume -10 Ctrl+UP add sub-pos -1 Ctrl+DOWN add sub-pos 1 # Skip to previous/next subtitle (subject to some restrictions; see manpage) -#Ctrl+LEFT no-osd sub-seek -1 -#Ctrl+RIGHT no-osd sub-seek 1 +Ctrl+LEFT osd-msg sub-seek -1 +Ctrl+RIGHT osd-msg sub-seek 1 # Adjust timing to previous/next subtitle #Ctrl+Shift+LEFT sub-step -1 #Ctrl+Shift+RIGHT sub-step 1 @@ -97,7 +97,7 @@ q quit-watch-later #p cycle pause # toggle pause/playback mode #. frame-step # advance one frame and pause #, frame-back-step # go back by one frame and pause -# SPACE cycle pause +SPACE cycle pause #> playlist-next # skip to next file ENTER cycle fullscreen #< playlist-prev # skip to previous file