nhmkdev / KeyCap

A Windows application for remapping keyboard input.
MIT License
47 stars 7 forks source link

SelectMedia button doesn't want to remap #4

Open Piipperi opened 3 years ago

Piipperi commented 3 years ago

No matter what, when I press the key it still opens Windows Media Player, my goal is to remap it to MiddleClick. Tried running the program as administrator, no difference. More typical remaps like remapping A to S does work.

nhmkdev commented 3 years ago

With the input key field focused does KeyCap detect the SelectMedia button press or is this overridden by the OS?

I don't have that key on any keyboards I own so I'll have to artificially produce it.

Piipperi commented 3 years ago

KeyCap detects the key when inputted to the field yes.

nhmkdev commented 3 years ago

Can you disable the multimedia keys in the Control Panel > Keyboard settings? I wonder if that will completely disable the keys so KeyCap can't even see the keypresses.

Piipperi commented 3 years ago

There's no such setting to disable multimedia keys in Control Panel, not sure if it's a keyboard specific feature or if they removed the toggle from Windows 10

nhmkdev commented 3 years ago

I found something worth checking out if you have worked with the registry/regedit before. Apparently there may be some app keys being configured this way. I hope this is what is happening in your case!

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey

APPCOMMAND_LAUNCH_MEDIA_SELECT = 16

Reference: https://social.technet.microsoft.com/Forums/ie/en-US/a4a8bec6-3675-4175-a158-eb45a391a3b6/how-to-change-functionnality-of-media-hotleys?forum=w7itpromedia

Piipperi commented 3 years ago

Yes the key 16 is found there but not sure if I can really disable it from the registry (or remap to a different key)