We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In this case, both MBTN_LEFT double_click in json conf and MBTN_LEFT_DBL in input.conf have taken effect, double click cycle fullscreen twice.
MBTN_LEFT double_click
MBTN_LEFT_DBL
# inputevent.conf configs=~~/inputevent.json
[ { "key": "MBTN_LEFT", "on": { "click": "cycle pause", "double_click": "cycle fullscreen" } }, { "key": "MBTN_LEFT_DBL", "on": { } } ]
# input.conf MBTN_LEFT cycle pause MBTN_LEFT_DBL cycle fullscreen
In general, json conf overrides input.conf for the same keys, but the MBTN_LEFT_DBL can't be ignored.
The text was updated successfully, but these errors were encountered:
maybe it's a mpv bug, mp.add_forced_key_binding("MBTN_LEFT_DBL",...) doesn't overwrite the user's custom bindings in input.conf.
mp.add_forced_key_binding("MBTN_LEFT_DBL",...)
#input.conf MBTN_LEFT_DBL show-text 'aaa'
--test.lua mp.add_forced_key_binding("MBTN_LEFT_DBL", "MBTN_LEFT_DBL", function() mp.commandv("show-text", "bbb") end)
binding success, but still show 'aaa'
update: Confirmed to be a bug in mpv mpv-player/mpv#13083
Sorry, something went wrong.
我的建议是不要绑定 _DBL , 逻辑上和 @double_click 冲突.
_DBL
@double_click
No branches or pull requests
In this case, both
MBTN_LEFT double_click
in json conf andMBTN_LEFT_DBL
in input.conf have taken effect, double click cycle fullscreen twice.In general, json conf overrides input.conf for the same keys, but the
MBTN_LEFT_DBL
can't be ignored.The text was updated successfully, but these errors were encountered: