PowerToys: Key remapper doesn't recognize Office key
Environment
Windows build number: 10.0.19041.264
PowerToys version: 0.18
PowerToy module for which you are reporting the bug (if applicable): Remap Keyboard
Steps to reproduce
Try to add a key mapping for the Office key (on the new Ergonomic 4000 keyboard). The key isn’t detected correctly
Expected behavior
I expect the Office key to be detected correctly so I can remap it.
Actual behavior
It’s either detected as Space or Win (Left)
Screenshots
About this issue
- Original URL
- State: open
- Created 7 years ago
- Reactions: 18
- Comments: 36 (12 by maintainers)
I’ll add that people have complained loudly about not being able to remap the Office key using the Microsoft keyboard software, so this would be a big win.
I’m glad we’ve made it to the point where we’re not limited to 2 modifiers, but either there should be a special exception for the Hyper combo, or remapping modifiers should be allowed. It’s very silly that Windows doesn’t support disabling the shortcuts natively but it would be the perfect redemption moment for PowerToys to be able to given it’s tailored to power users
For anyone still following this issue: Because this feature was not implemented in PowerToys, I’ve ended developing my own app using keyboard hooks. Unfortunately, Hyper/Meh didn’t work well, because some apps “miss behave”, and also execute their actions. Eg, if you define “Hyper = Left Control + Shift + Alt + Winkey”, and then use “Hyper” + “A” to do something, other apps, which are un-ware of this “Hyper” option, will also do their thing own action “Ctrl+Alt+A”, etc (eg open dialog, etc), so you end with 2 actions, one from the “Hyper” and one from the “partly Hyper”.
My solution was to map “Left WinKey” to F17 (just something no one uses), and then use F17 as modifier. So WinKey generates key event of F17, and in my “end-user app” I treat F17 as modifier, in addition to existing modifiers. It works (99% of the time…) But I don’t think it will be supported/added in PowerToys, because you need an special code to treat standard keys (eg F17) as modifiers. I’m still trying new ideas on my spare time, if you have any ideas/suggestions, please post in this thread.
Okay well that message is to be expected. For a shortcut you need at least one modifier key and at least one “normal” key.
Yes, while there’s been some changes to capture the keys, it fails to map them.
Here’s screenshots of attempting to map the “Office” hyper-key:
Which gives this message:
Here they are on the keyboard
The dust that shows up 😂
Why is it still not possible to remap the hyper modifier combo?
I’ve been using https://github.com/acook/OfficeKeyFix and it does the job pretty consistently, sometimes it’s like Windows reinserts them.
Seems like PowerToys does let you remap the Hyper key + a key now too. Though, I’m using a UHK keyboard so I just gave up and fake the Hyper key in the mapping so I can’t speak to if there’s a race condition at startup (you might have to delay the start up of PowerToys. I suspect you could use scheduled scripts to run PowerToys after OfficeKeyFix but ¯_(ツ)_/¯)
seeing if i can’t get @arjunbalgovind that keyboard for testing 😃
It is really infuriating that Windows has hard coded ads associated to the Hyper key.
I don’t even have - and I don’t want to have - Yammer and Office installed: why on earth do Hyper+Y and Hyper bring me to yammer.com and a page that invites me to install Office?
Why does Windows have Hyper+L programmed to open Microsoft owned LinkedIn?
This is disrespectful and insolent advertising hard coded in an operating system. Really frustrating.
@jaimecbernardo
it was about adding hyper/meh keys (this should answer also your other question). its not about mapping “WIN+CTRL+ALT + H” to “some key”, its about mapping "“WIN+CTRL+ALT” (only modifiers) as target.
example of usage: since “WIN+CTRL+ALT+SHIFT” is rarely used, because hard to click. u can add an hyper key, eg map “CAPS” to “WIN+CTRL+ALT+SHIFT”. and then u can add many custom shortcuts (WIN+CTRL+ALT+SHIFT) in any app, without overriding/deleting existing shortcuts, and the bonus is u need only one key (CAPS) to run the shortcuts.
This is quite a common “trick”, in keyboards the are programmable.
@jhoelzel What’s an hyper key? If it’s a combination of keys underneath, you’d need to use the Edit shortcut instead of Edit Key to catch it.
Any chance this will be happening on a future update (ability to map more keyboard combinations including the new Office key)?
@crutkas - You wouldn’t need that exact keyboard, per se. Any keyboard capable of sending that modifier combo replicates the behavior, including mechanical keyboards that come with a Hyper modifier key built-in (Hyper is just sending the same modifier combo). When Windows 10 was updated to treat that modifier combo as the Office launcher, it was a world of fun for the existing macros I have where that combo is used heavily
Here’s what I see when I push the office key.
Four modifiers and no key.
Then this