Today I tried to remap some keyboard media keys to more useful functions and failed to do so.
The problem
- The manufacturer doesn't provide a utility to bind and execute custom commands.
My previous keyboard from Logitech had such options in their SetPoint software The key codes (or scancode) were not recognized by most programs which I used to catch the underlying key codes.
For example the otherwise excellent tool SharpKeys has a catch mode where it tells you what key you've just pressed. It took me some time to realize that it told me a wrong key code During my tests I pressed the "star button" in the top right and SharpKeys tells me that this is the key "D" with it's key code
00_20
. But the correct key code would be00_181
Another try was this AutoHotKey script which also failed to recognize my unusual media keys
The task
- Find the correct key codes even for unusual media buttons
- Remap all media keys without any installation of an additional tool or program. A registry tweak, the use of an already installed driver or a small portable app is acceptable