[vlc-devel] [PATCH] aout intf: implement functions to change volume and also show the appropriate osd text

Rémi Denis-Courmont remi at remlab.net
Thu Feb 9 11:12:07 CET 2012

On Thu, 9 Feb 2012 11:01:47 +0100, David Fuhrmann
<david.fuhrmann at googlemail.com> wrote:
> It looks to me that every hotkey is processed through "key-action" or
> "key-pressed" and the respective functions in hotkeys.c, currently. Why
> should this be forbidden for the volume hotkeys?

key-pressed takes a key code for processing. It can be used as is,
although it should be reworked to support per-input hotkey handling.

key-action is used by hotkey event subscribers. It also needs to be
reworked for the same reasons. Anyway, you want to emit an event, not
subscribe to it, so this is not the thing.

Rémi Denis-Courmont

More information about the vlc-devel mailing list