Page 1 of 1

Assign Multiple Hotkeys to One Function

Posted: 30 Apr 2007 19:16
by CloudStalker
Will it be possible to use more then one hotkey for the same function, like media button Pause/Play as well as space-bar to (duh) pause and play the video/song?

Posted: 08 May 2007 20:23
by dionoea
It will be ... hopefully before 0.9.0 is released. (code word for this is "hotkey rework")

Posted: 08 May 2007 21:16
by CloudStalker
That's great! :D I'm usually fine using the media keys at the top of my keyboard but not everyone in my... domain is. :P

Re: Assign Multiple Hotkeys to One Function

Posted: 20 May 2011 20:08
by Seregwethrin
I think we still can't assign multiple keys to one function. Can we?

I need it...

Re: Assign Multiple Hotkeys to One Function

Posted: 22 May 2011 15:50
by VLC_help
I think we still can't assign multiple keys to one function. Can we?
Not yet.

Re: Assign Multiple Hotkeys to One Function

Posted: 29 Dec 2013 11:10
by aitte
I saw that is now posible to have multiple keys (as is by default) but I can't find how to set multiple keys myself

Re: Assign Multiple Hotkeys to One Function

Posted: 28 Dec 2014 18:01
by miketurn1234
I am currently using version 2.1.5 and I was just wondering if this feature was ever added?
If so can someone please explain how to do so.
If not this feature request would be quite useful in a future version.

Thank You

Re: Assign Multiple Hotkeys to One Function

Posted: 28 Feb 2016 13:28
by dumky
I'm interested in this feature as well. I can tell that the GUI still doesn't support this feature, but I'm wondering if there are any other tricks one might use.
For instance, is there any way to tweak the VLC config files to achieve this?

Re: Assign Multiple Hotkeys to One Function

Posted: 28 Feb 2016 19:27
by dumky
If anyone is interested, a solution that seems to work on Windows is AutoHotkey.

Here's an example:
I'd like to map the h, j, k and l keys to the arrows (like Vim), but only for vlc.exe.
I use the following configuration file:

Code: Select all

#IfWinActive ahk_exe vlc.exe h::send, {left} ; Makes the 'h' key send a left-arrow key, but only in VLC. j::send, {down} k::send, {up} l::send, {right} #IfWinActive