[FIXED 3.1.0.1223] Hotkeys are inconsistent

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [FIXED 3.1.0.1223] Hotkeys are inconsistent

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by Ludek » Sat May 23, 2009 5:17 pm

Benn wrote:My standard hotkeys don't work with full screen apps globally. For example, I'm playing a game with MM playing in the background, and when I press ctrl + s which is my shuffle key, nothing happens. (Whereas it would normally) Would adding the 'hook' line fix this?
Yes.
Benn wrote: Also, when using MM in mini or float player, NONE of my global hotkeys work, even the media keys which work in the above situation.
Thanks for any insight.
Do you have the IntelliType pro installed?
If yes then the solutions are:
a) Uninstall IntelliType PRO (or remove iType.exe from RunOnce registry via RegEdit). This way all Media Keys will work as expected.
b) Add the value PreferLLKeysHook = 1 to the [options] section of MediaMonkey.ini file
c) Assign macro as IntelliType PRO offers. Run the app, select Play/Pause from the keys list and click the [Assign/Manage Macro...] button. Assign e.g. 'Ctrl+P' as macro and make 'Ctrl+P' as global hotkey in MediaMonkey options.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by Benn » Sat May 23, 2009 11:42 am

Ludek wrote:There is a hidden config in MediaMonkey.ini file. Adding
PreferLLKeysHook = 1
to the [options] section of MediaMonkey.ini file will prefer Low Level Keyboeard hook and the hotkey will work like in MM 3.0
If you don't know how to edit MediaMonkey.ini file then see:
http://www.mediamonkey.com/support/inde ... ticleid=17

The reasons for taking another approach than low level keyboard hook are explained here:
http://www.ventismedia.com/mantis/view.php?id=2430
see the last note.
My standard hotkeys don't work with full screen apps globally. For example, I'm playing a game with MM playing in the background, and when I press ctrl + s which is my shuffle key, nothing happens. (Whereas it would normally) Would adding the 'hook' line fix this?

Also, when using MM in mini or float player, NONE of my global hotkeys work, even the media keys which work in the above situation.

Thanks for any insight.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by Ludek » Tue May 19, 2009 4:00 pm

There is a hidden config in MediaMonkey.ini file. Adding
PreferLLKeysHook = 1
to the [options] section of MediaMonkey.ini file will prefer Low Level Keyboeard hook and the hotkey will work like in MM 3.0
If you don't know how to edit MediaMonkey.ini file then see:
http://www.mediamonkey.com/support/inde ... ticleid=17

The reasons for taking another approach than low level keyboard hook are explained here:
http://www.ventismedia.com/mantis/view.php?id=2430
see the last note.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by lifeinbeats » Tue May 19, 2009 3:00 pm

This may have already been addressed, and I apologize if it has, but I don't really have the time to wade through 1,000 posts on this forum. Although, if everyone does that then there are a million forum posts and no one can find anything, so it's kind of a catch 22. But anyway, my global hotkeys in Version 3.1.0.1244 are global but they don't override hotkeys in other programs like MM is used to doing. For instance, page up is my hotkey for "Playback: next track" and it does this even when I have another window open, but it also goes to the top of the page in the focused program as well.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by MetalFrog » Sat Feb 28, 2009 1:11 am

Peke wrote:If I remember Correctly there should be way to un-assign key in Intellitype software.
BTW have you tried to assign those additional Hotkeys with MM?
If I go into Intellitype I can assign macros to the buttons, like Ctrl + Alt + Home, for example, then go into MM and assign that as the global play/pause hotkey, and it works.

If I just leave it without a macro and try to assign it as the media button (go into hotkeys pick play/pause, hit the play/pause button on the keyboard) it adds a single white space character at the end of the key's name, but it won't let me save it, so I guess it's seeing it as the same key.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by Peke » Fri Feb 27, 2009 8:33 pm

If I remember Correctly there should be way to un-assign key in Intellitype software.
BTW have you tried to assign those additional Hotkeys with MM?

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by MetalFrog » Fri Feb 27, 2009 1:54 am

This is related to the Intellitype software. :(

Without it installed the media buttons work as expected, but I can't access my extra keys that I have mapped to certain folders/programs. I guess I should look for a new keyboard managing software. :|

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by MetalFrog » Sun Feb 22, 2009 1:10 pm

rycher wrote:Looking back at your original post, you mentionned a problem with media keys. I don't have a keyboard with media keys, my issue was with the behaviour of global hotkeys using "standard" keys. This is now working well, but I can't say anything about media keys.
Yeah I just realized what you were testing. >_<

I just set Ctrl+` as my play/pause and it works perfectly. With and without the llKey hook. I wonder if I can map macros to my multi-media keyboard as a hellish work around.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by rycher » Sun Feb 22, 2009 11:02 am

MetalFrog wrote:I'm guessing my problem is related to my keyboard and its software, then. I haven't noticed any change in the behavior during the builds. :(
Looking back at your original post, you mentionned a problem with media keys. I don't have a keyboard with media keys, my issue was with the behaviour of global hotkeys using "standard" keys. This is now working well, but I can't say anything about media keys.

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by MetalFrog » Sat Feb 21, 2009 12:08 am

I'm guessing my problem is related to my keyboard and its software, then. I haven't noticed any change in the behavior during the builds. :(

I'm building a new computer next week, so I'll give it a shot without installing the Microsoft intellitype software and see if it works. :/

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by rycher » Fri Feb 20, 2009 10:30 pm

So, for the final note on this:

With version 3.1.0.1224 there is no more delay problem.

So you have the choice of behaviour:

-Default: global hotkeys could be interpreted by the foreground application. So you'll have to define a different hotkey in MM to avoid conflicts.

OR

- Set PreferLLKeysHook = 1 in the [options] section of MediaMonkey.ini. With this configuration you're hotkey will never be interpreted by another foreground application. But you might not realize that another application would react to a hotkey if MM wasn't running (and that you would like to use it in the other application).

Thanks for fixing this!

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by rycher » Tue Feb 17, 2009 6:09 pm

Ludek wrote:Rycher, fixed the 3 seconds timeout issue in build 1224:
http://www.ventismedia.com/mantis/view.php?id=5310
Can't wait to try it out! :P

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by Ludek » Tue Feb 17, 2009 1:47 pm

Rycher, fixed the 3 seconds timeout issue in build 1224:
http://www.ventismedia.com/mantis/view.php?id=5310

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by rycher » Tue Feb 17, 2009 10:17 am

Ludek wrote:Yes, if you would like MM to force another app to stop retrieving the key/shortcut in case it is a MediaMonkey global key/shortcut then you need to use the PreferLLKeysHook = 1 to enable Low level Windows keyboard hook (used up to MM 3.0). Generally speaking it works fine, just it's a low level hack, for example some antivirus apps don't like it.
In MM 3.1 we use Raw input by default (WinAPI) and this is at a little higher and doesn't allow us to force another app to stop receiving the key/shortcut.
Ok, so there are still 2 cases:
1) Default configuration (i.e. without PreferLLKeysHook = 1): there is no delay before hotkeys stop being recognized by MM, but the foreground application can interpret the global hotkey (depends on the app).
2) Configuration with PreferLLKeysHook = 1: global hotkeys are never interpreted by the foreground app, but after ~3 seconds of holding part of the hotkey combination, hotkey stops being recognized by MM (keys must be released and pressed again for hotkey to work).

Before finding MM, I used Winamp (with the same hotkeys). I don't know how they did it, but the global hotkeys in Winamp never affected the foreground app AND there was no delay for them to work (I just checked with the same foreground apps I mentionned previously). It would be great if MM could behave the same way. I guess the question is: why does the low-level behaviour has this working delay, could it be increased/controled by another ini variable?

Re: [FIXED 3.1.0.1223] Hotkeys are inconsistent

by Ludek » Tue Feb 17, 2009 4:56 am

Yes, if you would like MM to force another app to stop retrieving the key/shortcut in case it is a MediaMonkey global key/shortcut then you need to use the PreferLLKeysHook = 1 to enable Low level Windows keyboard hook (used up to MM 3.0). Generally speaking it works fine, just it's a low level hack, for example some antivirus apps don't like it.
In MM 3.1 we use Raw input by default (WinAPI) and this is at a little higher and doesn't allow us to force another app to stop receiving the key/shortcut.

Top