[vlc-devel] [PATCH] Allow more than one hotkey per action
rdenis at simphalempin.com
Fri Jan 23 09:25:40 CET 2009
On Thu, 22 Jan 2009 23:44:56 +0100, Antoine Cellerier
<dionoea at videolan.org> wrote:
> Attached is a patch to allow more than one hotkey per action. It changes
> the hotkey config type to store a list of hotkeys (ints) instead of just
> a single hotkey (an int). This is quite intrusive since a whole new
> config type needs to be created. Interface code hasn't been updated to
> reflect the change.
You mean preference dialogs, right? Generating hotkeys event should not
need to change, nor should waiting for action, since the mapping is
centralized in the core as of 0.9.
Makes me wonder if we shouldn't flip the configuration the other way round:
key -> action, rather than action -> key. That would match sound more
logical and avoid the list altogether.
More information about the vlc-devel