[vlc-devel] [PATCH] Allow more than one hotkey per action
Antoine Cellerier
dionoea at videolan.org
Thu Jan 22 23:44:56 CET 2009
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.
I've only tested changing vlcrc to set more than one hotkey for the
fullscreen key (which works). The list seperator is a ','.
Another possible approach would be to change the hotkey type to a string
and let the hotkey interface module handle the string parsing. This
would be way easier and simpler I guess. I'll provide such a patch
tomorrow for comparision.
--
Antoine Cellerier
dionoea
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-more-than-one-hotkey-per-action.-Integer-list.patch
Type: text/x-diff
Size: 34134 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090122/59628bff/attachment.patch>
More information about the vlc-devel
mailing list