summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJames Cuzella <james.cuzella@lyraphase.com>2023-08-15 05:27:03 -0600
committersfan5 <sfan5@live.de>2023-08-23 15:37:02 +0200
commitfa378249dd79296d7b10542a7545d05d4b6d0844 (patch)
tree1c21a537563c4ceb4cb8586691a8b106d6c703f5 /etc
parentaf9b53f3a3831531504906882efce0d979506ed3 (diff)
downloadmpv-fa378249dd79296d7b10542a7545d05d4b6d0844.tar.bz2
mpv-fa378249dd79296d7b10542a7545d05d4b6d0844.tar.xz
input: add new keys: Back, Tools, ZoomIn, ZoomOut
These were the only keys missing to support mapping all keycodes on a [popular RF Remote][1] used with Linux HTPC apps. Note that X11/XWayland + xkbcomp still warns about keycodes > 255, due to the 8-bit limit in Xorg but `mpv` on Wayland is able to handle these. For X11 users, there are [a couple options][2]: - [Gianni Ceccarelli's patched `xf86-input-evdev`][3] - [Use udev hwdb to map scancodes to keycodes][4] [1]: https://www.mythtv.org/wiki/Air_mouse_rf_remote [2]: https://unix.stackexchange.com/a/436233/7688 [3]: https://www.thenautilus.net/SW/xf86-input-evdev/ [4]: https://wiki.archlinux.org/title/Map_scancodes_to_keycodes
Diffstat (limited to 'etc')
-rw-r--r--etc/input.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/input.conf b/etc/input.conf
index 837758c987..10b3b3d019 100644
--- a/etc/input.conf
+++ b/etc/input.conf
@@ -62,7 +62,9 @@
#Alt+up add video-pan-y 0.1 # move the video down
#Alt+down add video-pan-y -0.1 # move the video up
#Alt++ add video-zoom 0.1 # zoom in
+#ZOOMIN add video-zoom 0.1 # zoom in
#Alt+- add video-zoom -0.1 # zoom out
+#ZOOMOUT add video-zoom -0.1 # zoom out
#Alt+BS set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0 # reset zoom and pan settings
#PGUP add chapter 1 # seek to the next chapter
#PGDWN add chapter -1 # seek to the previous chapter