Skip to content

Commit

Permalink
add more input key binding
Browse files Browse the repository at this point in the history
  • Loading branch information
nishantbadhautiya committed Jan 14, 2025
1 parent 6cd2638 commit a1c9369
Show file tree
Hide file tree
Showing 3 changed files with 891 additions and 33 deletions.
37 changes: 25 additions & 12 deletions input.conf
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
# input.conf

# Set seek amount to 5 seconds
RIGHT no-osd seek 5 exact
LEFT no-osd seek -5 exact
# Mouse Button Actions
MOUSE_BTN0 cycle pause # Left click toggles pause/play
MBTN_MID no-osd seek +5 exact # Middle click (wheel button) seeks backward by 5 seconds
MBTN_LEFT_dbl cycle pause # Double left-click toggles pause/play
MBTN_RIGHT no-osd seek -5 exact # Right click seeks backward by 5 seconds

MOUSE_BTN0 cycle pause
UP add volume 2.5
DOWN add volume -2.5
# Keyboard Actions for Seeking
RIGHT no-osd seek 5 exact # Right arrow key seeks forward by 5 seconds
LEFT no-osd seek -5 exact # Left arrow key seeks backward by 5 seconds
UP add volume 2.5 # Up arrow key increase volume by 2.5
DOWN add volume -2.5 # Down arrow key decrease volume by 2.5
Ctrl+RIGHT seek 60 exact # Pressing Ctrl + Right Arrow seeks forward by 60 seconds.
Ctrl+LEFT seek -60 exact # Pressing Ctrl + Left Arrow seeks backward by 60 seconds.
Shift+RIGHT frame-step # Pressing Shift + Right Arrow moves forward by one video frame.
Shift+LEFT frame-back-step #Pressing Shift + Left Arrow moves backward by one video frame.

MOUSE_BTN2 cycle pause
MBTN_LEFT_dbl cycle pause
# Miscellaneous Actions
Ctrl+q quit # Ctrl+Q quits the player
c cycle-values osc no yes # Pressing 'c' toggles the On-Screen Controller (OSC)
ENTER ignore # Enter key does nothing
ctrl+f script-binding selectformat/menu # Ctrl+F opens the format selection menu (use for youtube video to search)
a cycle audio # Cycles through available audio tracks in the video.
F4 cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" # Cycles through predefined aspect ratios for the video: 16:9, 4:3, 2.35:1, and -1 (original aspect ratio).

Ctrl+q quit
c cycle-values osc no yes
ENTER ignore
ctrl+f script-binding selectformat/menu

F script-binding quality_menu/video_formats_toggle # Toggles a custom menu to switch video formats (defined by the quality_menu script).

Alt+f script-binding quality_menu/audio_formats_toggle # Toggles a custom menu to switch audio formats (defined by the quality_menu script).
Loading

0 comments on commit a1c9369

Please sign in to comment.