Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Note: I no longer have the laptop in question, so unfortunately I can't test the answers anymore. Thanks for your effort anyway. This was nearly 3 years ago, and now I feel like it's unfair to accept my own answer to my question which doesn't even provide an answer, so I deleted the answer.

I've got an ASUS K50AF series notebook with Windows 7 Home Premium x64. I'm using VLC media player, and I want to use media keys (play, pause, rewind, forward, stop) with it. Currently, it's associated with Windows Media Center.

My keyboard

I've tried MK2MP. Unfortunately, it didn't fix my problem, and crashed after restarting VLC media player.

Run time error 31
at line 559

Now, I can't even start MK2MP. Any ideas?


Update: I've disabled Media Center and Media Player. HIP now recognizes media keys, but the keys still don't do anything. :/

Update 2: It seems that when I try capturing that key, all programs (including HIP, Key Mapper and AutoHotkey) thinks I pressed the H key. Huh?

share|improve this question
    
Is there some kind of keyboard control panel by the manufacturer that lets you customize what each key does? –  Sasha Chedygov Feb 1 '11 at 0:05
    
No, I haven't found anything like that. –  nyuszika7h Feb 1 '11 at 12:07
    
Brad's answer works. It should be the accepted answer. –  Peter Mortensen Dec 29 '14 at 22:10
    
@PeterMortensen I have no way of verifying whether it works for me, since I don't even have that laptop anymore. –  nyuszika7h Dec 29 '14 at 22:12

10 Answers 10

You need to bind your keys in VLC media player. Other answers were right on this, but they were missing a couple of details which I am pointing out here.

  1. Start VLC media player
  2. Click Tools -> Preferences
  3. Click the Hotkeys section near the bottom left.
  4. Find the key you want to bind and double click in the "Global" column. If you double click anywhere else, you will be binding the wrong keyboard shortcut.
  5. Press your key. VLC media player should recognize it.
  6. Restart VLC media player. If you are binding global hotkeys, VLC media player must be restarted so it can listen for them.

VLC media player global hotkeys

share|improve this answer
1  
This should be the accepted answer. Worked for me. –  bdwakefield Aug 19 '14 at 15:54
1  
In contrast to Shekhar's answer, this worked for me (after restarting VLC media player!!!!!!). And yes, it should be the accepted answer. +1. –  Peter Mortensen Dec 29 '14 at 22:07

Before you set the VLC hotkeys, you need to set VLC as your default media player, in control panel, default programs, set your default programs, and choose VLC as default.

The global hotkeys should then work with VLC, you still have to set them in VLC - tools, preferences, hotkeys, double click on the global key you want to set, VLC will prompt you to press the key, and restart VLC afterwards so they become active.

share|improve this answer
    
Are you sure that works? Isn't the only choice, except for Windows Media Player, "Use my current media player"? –  Peter Mortensen Dec 29 '14 at 22:28

For older VLC media player versions: Go to General -> Hotkeys in menu Tools -> Preferences and try to bind your media keys.

The menu layout in newer VLC media player versions has changed and now you need to do the following:

Menu Tools -> Preferences -> Hotkeys from the left hand menu on the window that opens up.

VLC media player menu screenshot

share|improve this answer
1  
I've tried that, but VLC won't recgonize them. –  nyuszika7h Jan 24 '11 at 12:05
    
@Nyuszika7H : do the bindings work with any other keys ? –  Shekhar Jan 24 '11 at 12:11
1  
Yes, they work with other keys, but not with media keys (when I press them, Media Center starts if it isn't started). –  nyuszika7h Jan 24 '11 at 12:26
1  
Its obvious that your media keys are bound to media center , find a way to dissociate your keys from media center and it might work –  Shekhar Jan 24 '11 at 12:30
    
Thank you, it helped! ;) –  user398797 Sep 17 '13 at 5:59

You could set up macros in Event Ghost to capture the keys and set them up to trigger the actions that you want.

share|improve this answer
    
I can't see where can I add my media keyboard's Play button (or any other key) in this program. –  nyuszika7h Feb 5 '11 at 22:18
    
@Nyuszika7H: I see several Google results report this, try figuring it out... +1 –  Tom Wijsman Feb 6 '11 at 14:22

If you have Microsoft IntelliType installed (it happens automatically for certain keyboards), try un-installing it via "Add or Remove Programs".

Via http://forum.videolan.org/viewtopic.php?f=14&t=79605

share|improve this answer
    
thanks for trying to help, but I'm sure I didn't have it installed (I don't use Windows anymore). –  nyuszika7h Oct 4 '11 at 16:28
    
I had to uninstall "Microsoft Mouse and Keyboard Center". Thanks! –  localhost Apr 16 at 11:19

None of the solutions above should work, as the problem is in the ATK Media utility provided by Asus. Instead of emiting keyboard events (like normal media keys), it maps them to specific apps (you can actually change those apps in the registry, see here http://mcbx.netne.net/hacks/asusmmed/index.htm). The order and name of apps that it looks for change depending on version and system, but luckily there's an easier fix to enable the use of generic media key events.

I just came across the solution for this after some time reading a bunch of sites.

  1. Download the rar package from this blog post: http://3mptylab.blogspot.it/2012/09/how-to-make-asus-notebooks-media-keys.html

  2. Stop the current DMedia.exe process.

  3. Go to your ATK Media install folder (normally C:\Program Files (x86)\ASUS\ATK Package\ATK Media) and rename DMedia.exe to DMedia.exe.old (just to be safe).

  4. Put DMedia.exe you'll find in the RAR into the ATK Media dir. Double click it to run it but it gets run at boot anyway.

  5. Check if the media keys work as they should. Grab a beer or watch a movie if it works!

I just tested it in my Asus U30Jc under Win8 Pro 64-bits and works great! This tool actually maps generic keyboard events to the media keys in the integrated keyboard, so they work with any app enabled for this (in some cases like Winamp you might need to enable global keys).

After enabling hotkeys in VLC it should work with no problems, and with any other media program too (Spotify, WMP, Winamp, Xbox Music, etc).

share|improve this answer
    
Nice find, sadly I can't test it as my new laptop doesn't have media keys. –  nyuszika7h Apr 29 '14 at 16:30
  1. Open up the hotkey window in VLC by Tools -> Preferences -> Hotkeys
  2. Double click on the desired action to change
    • If you can set the media button to your desired hotkey.
    • If you cannot, unsetting the hotkey could help. You can do this by clicking Unset. This worked

I also had problems with Windows Mouse & Keyboard Center. Uninstalling it helped use the sway.fm Chrome plugin (more details).

share|improve this answer
    
Thanks, but this is a very old question. –  nyuszika7h Jun 24 '14 at 10:50

You might be able to use the article Disable Windows multimedia key shortcuts to disable the multimedia keys on Windows.

It counsels deleting entries from the registry key of HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey, so it is advised to first take some precautions.

To a lesser degree, you might also find the article How to Disable or Enable Windows Hotkeys in Vista useful although it may not apply to your case.

share|improve this answer
    
I've tried HIP, but unfortunately, it didn't work. :( –  nyuszika7h Feb 1 '11 at 7:56
    
Have you tried the registry method? –  harrymc Feb 1 '11 at 8:12
    
Hmm. .cda files are associated with VLC. So, what next? –  nyuszika7h Feb 3 '11 at 10:44
    
Sorry for being unclear. In my first link I was referring to searching HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\AppKey to maybe find out if the associations for the multimedia keys are defined there. –  harrymc Feb 3 '11 at 11:00
    
I know, I've read that article. I've tried deleting all, but nothing changed. Trying out other solutions. –  nyuszika7h Feb 3 '11 at 11:08

Those of you who have still not found a solution try the following:

  1. Click Tools and select Preferences

  2. From the left hand side select Hotkeys

  3. You will now be prompted to select an action and associate it with a hotkey. Scroll down until you find the action Next and then double-click on it

  4. You should now be prompted to enter your media key for "Next Track"

  5. Click [Apply]

Once you do these five steps try playing a music/video file and testing ALL of your media keys as they should automatically work now.

share|improve this answer
1  
On my Logietch MK700 keyboard, this does not work. VLC does not "see" the play/pause/fastforward/rewind buttons when pressed. –  dan_linder Jun 7 '13 at 20:18

I just had this problem, and it turned out that iTunes advanced setting "Enable full keyboard navigation" was checked. I unchecked it, and the keys worked in VLC media player again, without having to map them.

share|improve this answer

protected by Community Dec 30 '14 at 9:50

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.