Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christoph-heinrich/mpv-touch-gestures
Touch gestures for mpv
https://github.com/christoph-heinrich/mpv-touch-gestures
mpv mpv-script
Last synced: 3 months ago
JSON representation
Touch gestures for mpv
- Host: GitHub
- URL: https://github.com/christoph-heinrich/mpv-touch-gestures
- Owner: christoph-heinrich
- License: gpl-2.0
- Created: 2023-01-25T19:16:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T22:42:57.000Z (almost 2 years ago)
- Last Synced: 2024-06-30T11:34:54.228Z (5 months ago)
- Topics: mpv, mpv-script
- Language: Lua
- Homepage:
- Size: 17.6 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mpv - touch-gestures - Gestures for play/pause, speed, volume, seeking and next/previous playlist-item. (Input)
README
# mpv-touch-gestures
### Touch gestures for mpv
Configuration and extension of [pointer-event](https://github.com/christoph-heinrich/mpv-pointer-event) to improve the usability of mpv on touch devices.
Also works with mouse input, but the primary focus is touch.
## Features
* Single click/tap pauses/unpauses the video.
* Long click/tap opens the menu.
* Double click/tap on the left or right third to seek 10 seconds.
* Double click/tap on the middle third cycles fullscreen.
* Drag/swipe vertical on the left half to change speed.
* Drag/swipe vertical on the right half to change volume.
* Drag/swipe horizontal to seek or to go to the previous/next playlist item.
* [uosc](https://github.com/tomasklaen/uosc) integration## Installation
1. Install [pointer-event](https://github.com/christoph-heinrich/mpv-pointer-event)
2. Save the `touch-gestures.lua` into your [scripts directory](https://mpv.io/manual/stable/#script-location)
3. Save the `pointer-event.conf` into your `script-opts` directory (next to the [scripts directory](https://mpv.io/manual/stable/#script-location), create if it doesn't exist)
4. **(optional)** Save the `touch-gestures.conf` into your `script-opts` directoryThe preconfigured `margin_*` values in `pointer-event.conf` work well with the default configuration of [uosc](https://github.com/tomasklaen/uosc).