How catch Ctrl+c in libmpv using the API

Asked by Per Lindberg

I have an application that uses client.h and libmpv.so . I want to catch Ctrl+c (map the key), and I have a vague memory of having seen it done in the client code, but I can't find anything in the docs. Not specifying it in some nput.conf file, but actually setting that up using api calls. Is it possible? How?

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu mpv Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Per Lindberg (tmpsa) said :
#2

The question / problem remains. Perhaps there's no way to configure this via the MPV API, as specified by client.h? If not, it would be a most useful addition.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.