1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/input
Guido Cella 3f83671f20 input: prioritize builtin bindings matching longer key sequences
This fixes 2 different bugs:

- mp.add_key_binding('c', ...) taking priority over the builtin g-c
  binding.

This follows up 994a08f5a7 which fixed this within the same input
section. This fixes it across different input sections.

- mp.add_key_binding('g-c', ...) not taking priority over a c binding
  defined in input.conf.

This happened because is_builtin of bindings added with
mp.add_key_binding is true though they're not actually builtin.
2024-05-20 17:57:12 +02:00
..
cmd.c input/cmd: add nonrepeatable prefix 2024-05-20 17:47:01 +02:00
cmd.h input/cmd: add nonrepeatable prefix 2024-05-20 17:47:01 +02:00
event.c input: add insert-next support for drag-and-drop 2024-02-26 02:03:21 +00:00
event.h input: add insert-next support for drag-and-drop 2024-02-26 02:03:21 +00:00
input.c input: prioritize builtin bindings matching longer key sequences 2024-05-20 17:57:12 +02:00
input.h input: add multitouch support functions 2024-05-03 16:14:03 +02:00
ipc-dummy.c
ipc-unix.c
ipc-win.c
ipc.c
keycodes.c various: fix indentation 2024-05-07 11:23:08 +02:00
keycodes.h input: add MP_TOUCH_RELEASE_ALL 2024-05-03 16:14:03 +02:00
meson.build
sdl_gamepad.c