Skip to content

How can I assign the 'DEL' key (or any other) to show OSC? #25

@emk2203

Description

@emk2203

For use in a HTPC scenario (no mouse but IR remote), it would be great to have the option to raise the OSC with a button press instead of mouse hovering.

I had this in the original modernx by @maoiscat by using the following line at the end of the script:

mp.add_key_binding(nil, 'show_osc', function() show_osc() end)

and adding DEL script-binding show_osc to input.conf.

Is this already possible with your fork, or can I just add the same line somewhere in the script at the end where the key bindings are?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions