1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-19 22:36:55 +00:00

Created IR remotes (markdown)

V. Lang 2015-05-05 14:32:13 +02:00
parent 67a1030b62
commit 77a21ba767

7
IR-remotes.md Normal file

@ -0,0 +1,7 @@
Support for LIRC has been removed in mpv 0.9.0. The new way to use such devices is through evdev. This means the devices will emit normal X11 key events. You should be seeing these key press events if you start ``xev`` (make sure ``xev`` is focused). This might require additional configuration with ``ir-keytable``.
Likewise, if you use them in mpv, mpv should complain about an unmapped key. You can use the printed key name or code and add a binding to input.conf. You can also see all key events mpv receives with ``mpv --input-test --force-window --idle``.
Some IR devices (in particular very old ones) might not work.
mpv cannot bind global key bindings; if you really need to control mpv while mpv is not focused, consider writing a script that controls mpv through a [FIFO](http://mpv.io/manual/master/#options-input-file) or [JSON IPC](http://mpv.io/manual/master/#json-ipc).