celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

mpv option missing: --input-keylist

Open gsantner opened this issue 5 years ago • 3 comments

Overview Description:

Tried multiple ways to get a list of special keys that are supported by gnome-mpv (for setting up input.conf keybindings), but gnome-mpv seems not to have key list implemented yet.

gnome-mpv --mpv-options="--input-keylist"
gnome-mpv --mpv-options=" --input-keylist "
gnome-mpv --mpv-options --input-keylist
gnome-mpv  --input-keylist

mpv --input-keylist
SPACE
SHARP
IDEOGRAPHIC_SPACE
ENTER
TAB

Version: 0.16

gsantner avatar Apr 07 '19 09:04 gsantner

I'm not sure there's a good way to implement this. Celluloid/gnome-mpv should be able to handle all the keys listed here (the actual key names don't have the GDK_KEY_ prefix), but there's no way to enumerate this list (or mpv's equivalent) at run time.

gnome-mpv avatar Apr 07 '19 10:04 gnome-mpv

@gnome-mpv

May I suggest to make it just say something like

Celluoid allows to configure keybindgs using input.conf file.
Most common keys and their combinations are supported, for supported special keys see
https://github.com/celluloid-player/celluloid/blob/master/src/gmpv_def.h#L110

gsantner avatar Apr 07 '19 10:04 gsantner

mpv now supports enumerating keylist at runtime, so it's now possible to implement this.

gnome-mpv avatar Feb 26 '21 14:02 gnome-mpv