natural-harmonia-gropius / input-event

InputEvent.lua for mpv-player, enhanced input.conf with better, conflict-free, low-latency event mechanism.
MIT License
45 stars 5 forks source link

prevent conflicts with other menu plugins #46

Closed tylandercasper closed 4 months ago

tylandercasper commented 4 months ago

When using mpv-menu-plugin I noticed that keys that had a @state property weren't working.

This allows input-event to co-exist with other menu plugins by only binding events that match supported "to" types

natural-harmonia-gropius commented 4 months ago

@repeat is not in the pattern. I'm waiting for https://github.com/tsl0922/mpv-menu-plugin/issues/61 to be solved, or I add an option to allow custom prefix later.

tylandercasper commented 4 months ago

added repeat as well. Are there any other states besides those?

natural-harmonia-gropius commented 4 months ago

Hold this issue until I have time to think about this (probably next weekend).

natural-harmonia-gropius commented 4 months ago

closed by https://github.com/natural-harmonia-gropius/input-event/commit/45a29e1236be2bf61783bfad77e391e74f6f3a02, thanks.