Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcut manager #6

Closed
Jaykul opened this issue May 7, 2019 · 44 comments
Closed

Keyboard shortcut manager #6

Jaykul opened this issue May 7, 2019 · 44 comments
Assignees
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Milestone

Comments

@Jaykul
Copy link

Jaykul commented May 7, 2019

I would love a good, lightweight shortcut key manager.

Ideally, I'd like to be able to remap some of the new windows hotkeys (like putting Win+F back to "find" (which is now Win+S for "search") instead of the new "Feedback").

Bonus points if you can tell me who registered which hotkeys, so I can find and kill OneNote when it clobbers the PrtScn button...

I think it would also be awesome if it could kick off executables or scripts like PowerShell or WSF scripts.


saahmedm update:
the beta version of keyboard manager is in the latest release (0.18)!!! 😎 here is the readme for more info: https://github.com/microsoft/PowerToys/tree/master/src/modules/keyboardmanager

@orev
Copy link

orev commented May 7, 2019

Would love to see something that allows one to view and possibly alter the system hotkey table. This has been sorely missing from Windows for its whole history, so would be really helpful!

@ganeloni
Copy link

ganeloni commented May 8, 2019

I subscribed to GitHub just to to say it would be wonderful

@EvansWinner
Copy link

Massive extra points for some pre-loaded shortcut "themes," like maybe a vim theme and an Emacs theme.

@kort3x
Copy link

kort3x commented May 9, 2019

throw in autotype:
ctrl+shift+u => types that long url you have to use all the time

@jaimecbernardo jaimecbernardo added the Idea-New PowerToy Suggestion for a PowerToy label May 9, 2019
@gargoylemike
Copy link

If this is not added, you can try AutoHotKey and get many of the requested features

@bloomtom
Copy link

Bonus points if you can tell me who registered which hotkeys, so I can find and kill OneNote when it clobbers the PrtScn button...

This might be impossible to get perfect since a process sometimes hooks WH_KEYBOARD_LL to get all key inputs, and triggers actions based on whatever it wants. But just being able to see all the processes which have used RegisterHotKey would be phenomenal.

@belg4mit
Copy link

You want The Wonderful Icon

@jaimecbernardo jaimecbernardo added the Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager label May 13, 2019
@Ronsss
Copy link

Ronsss commented May 13, 2019

If this is not added, you can try AutoHotKey and get many of the requested features

True, but why should we rely on a third party app when MS should be providing this sort of basic functionality.

@GingerGraham
Copy link

+1

@marypcbuk
Copy link

for keyboard shortcuts to be useful in Power Toys, Microsoft would have to allow users to remap shortcuts that Windows tools take over, like putting Shift-Win-S back to OneNote, but Windows blocks those reassignments, even in the registry.

@mfilippov
Copy link

I want to remap Ctrl+C -> Win+C to use easy use my mac keyboard.

@Beatbug
Copy link

Beatbug commented Jul 3, 2019

+1

@ecc86
Copy link

ecc86 commented Jul 28, 2019

Also really great would be to export/import custom keymaps to share between devices.

@kort3x
Copy link

kort3x commented Jul 29, 2019

Also really great would be to export/import custom keymaps to share between devices.

I like it.
Like a JSON file which can be synced via cloud.

@larrym
Copy link

larrym commented Aug 4, 2019

+1

@skagon
Copy link

skagon commented Sep 26, 2019

Wow, I just came in here thinking that it would be just me wanting that. Of course, I was thinking of something very specific, but hey, who am I to argue with an even better idea?
For the record, I wanted a PowerToy giving users the ability to remap the "change keyboard language" shortcut, which only accepts CTRL+SHIFT, ALT+LEFT_SHIFT, [GRAVE ACCENT `] or nothing!
For us people who type a lot and between languages, the ability to set one single dedicated key would be God-sent.
Of course, even more functionality would be even better.

@xfirf
Copy link

xfirf commented Oct 21, 2019

Pressing and holding "Windows" should show the available shortcuts of the current active application. E.g. OneNote is active I can see all shortcuts available in OneNote. When switchting to Chrome I should see all Chrome-shortcuts while holding "Windows"

@1kamma
Copy link

1kamma commented Nov 1, 2019

If you will add the option to remap ALL the keyboard softwarely, to the system (not as an addon like ahk, that if an app with high hierarchy crashes, the custom-keystrokes stuck) permanently, that will be Great!

@crutkas crutkas added the Product-Shortcut Guide Refers to the Shortcut Guide PowerToy label Dec 4, 2019
@crutkas
Copy link
Member

crutkas commented Dec 4, 2019

adding in shortcut guide as well here as the two PowerToys work together.

This was referenced Dec 10, 2019
@crutkas
Copy link
Member

crutkas commented Dec 10, 2019

SharpKeys is one tool on Windows that does this (https://github.com/randyrants/sharpkeys) and was crucial for when running bootcamp to get your laptop keyboard to run like a Windows Keyboard for remapping.

Mac has a similar tool, https://github.com/pqrs-org/Karabiner-Elements that was important for the same reason when using a Windows style keyboard and having it map like a Mac keyboard.

There are tons of use cases past these two.

  • a nice to have requirement here would be to have changes instantly be reflected without a restart
  • movable to different computers
  • per-keyboard ability to map (when you have a laptop and a full keyboard, happens when you bootcamp a mac and use a microsoft keyboard for instance)

Other applications that do this

Other general ideas

  • Make sure to rationalize all the shortcuts in PowerToys itself
  • Make sure any Windows key related shortcuts that are changed show up on the Windows Key Shortcut Guide ([Shortcut Guide] Shortcuts list [tracker] #179)
  • Support the idea of profiles that people can generate and share
    • Make a Mac to Windows shortcut profile to make it easier for Mac folks to land on Windows
  • Create a marketplace of the top profiles
  • Allow others to submit profiles to the marketplace

@marypcbuk
Copy link

the hardest thing for keyboard remappers is to know what keys are present on the keyboard and to present the keys that can be remapped to. Even with SharpKeys it can be hard to know which key you are remapping when it's not a key that's on every keyboard, and getting a canonical list of keys with helpful descriptions would be useful. (eg right Alt and Alt Gr are not always the same, the right mouse/Windows context key has a completely inexplicable name)

remapping keyboard shortcuts on Windows currently requires registry access and so is blocked on Windows S; any options for changing that?

@crutkas
Copy link
Member

crutkas commented Dec 16, 2019

remapping keyboard shortcuts on Windows currently requires registry access and so is blocked on Windows S; any options for changing that?

we have ideas :)

@crutkas
Copy link
Member

crutkas commented Dec 16, 2019

the hardest thing for keyboard remappers is to know what keys are present on the keyboard and to present the keys that can be remapped to. Even with SharpKeys it can be hard to know which key you are remapping when it's not a key that's on every keyboard, and getting a canonical list of keys with helpful descriptions would be useful. (eg right Alt and Alt Gr are not always the same, the right mouse/Windows context key has a completely inexplicable name)

For those wondering, AltGR -> https://en.wikipedia.org/wiki/AltGr_key Most would still reference this as Right side alt :)

Another common scenarios are a Surface Laptop 2 does not have a right ctrl but a Surface Ergo keyboard does have a right ctrl

@crutkas crutkas added the Status-In progress This issue or work-item is under development label Dec 18, 2019
@skagon
Copy link

skagon commented Apr 14, 2020

Quick question: does anybody know if the back-tab button is implemented or even implementable on Windows? Of course, back-tab would be the same functionality as pressing Shift-Tab but I'd like to know if I can design a custom keyboard (which I am) with a back-tab button right next to the plain tab and actually have it work. Of course, that could/would have to do with the Keyboard Shortcut Manager, as it would also have to support not only the "regular" keys which are found on a normal keyboard, but literally everything, including all the media buttons, special buttons like "Mail" key, "Calculator" key, "My Computer" key and also F13-F24, Power, Sleep, Eject, etc.

@saahmedm
Copy link
Contributor

saahmedm commented Apr 14, 2020

@skagon for our v1 we won't be able to map shortcuts (shift-tab) to single keys. We are looking into this for later versions however. also, we will support special keys like mail, calculator, F13-F24 etc. Keys like Power, Eject, Sleep though are not considered virtual keys and wouldn't be supported in our v1.

if we did have support for shortcut-to-key mapping in our v2/v3, you would be able to map shift-tab to any key, creating a "back-tab" button.

@skagon
Copy link

skagon commented Apr 14, 2020

@saahmedm So, the v1 of the Keyboard Manager would only do what can be done through the registry? As in, literally remap one key to another and only that?

ryanbodrug-microsoft pushed a commit to ryanbodrug-microsoft/PowerToys that referenced this issue Apr 14, 2020
…ystemplugin

Wox.Plugin.WebSearches- Update plugin to search web without specific action key word
@saahmedm
Copy link
Contributor

@skagon no! our v1 would be able to the following, briefly:

  • map key-to-key (through the registry)
  • map key-to-key (in-process, not touching registry / no requirement to reboot) *
  • map shortcut-to-shortcut for the OS (So changing Ctrl-Z to Ctrl-A) *
  • map shortcut-to-shortcut for specific apps as well (changing Ctrl-Shift-N in Edge to Ctrl-N) *

*these work only when PT is running

for detailed information here is the spec

@saahmedm
Copy link
Contributor

hi everyone! 0.18 is LIVE!!!! 🎉👀 here is our beta keyboard manager ✔. Keep in mind, this is not the finished product and we only have basic functionality here and will be adding more (app specific shortcuts, profiles, etc) for our V1 release. Thanks everyone for their input to get this far, we'll be asking for more feedback as you use this version to help us deliver an even better experience!!

https://github.com/microsoft/PowerToys/releases

crutkas pushed a commit that referenced this issue May 12, 2021
jaimecbernardo added a commit to jaimecbernardo/PowerToys that referenced this issue Aug 26, 2021
* [FZ Editor] Custom button with automation event on click (microsoft#12338)

* Custom button with automation event on click

* Rename MyButton to ClickAutomationEventButton

* Rename property to OnClickAutomationValue

* Remove unneeded line

* [FZE] Send close signal to Editor when the main app closes (microsoft#12510)

* [Settings/ImageResizer] New UI for sizes listview (microsoft#12269)

* Flyout for ImageResizer sizes

* Narrator support

* Improved spaces

* Fixed icons and added a confirmation dialog

* Add updatesourcetrigger

* Spellcheck fix

* Fixed missing strings

* Added messagedialog

* Fixes

* Focus fix

* Accesibility fix

Co-authored-by: Niels Laute <[email protected]>

* [Setup] Better prevent FileInUse errors during install (microsoft#12512)

* [ColorPicker] Close only flyout with escape key (microsoft#12441)

When the escape key is pressed in the Color Picker editor, only the
adjust color flyout should be closed instead of the whole window.

* [Bug Report Tool] Get Settings event viewer data (microsoft#12521)

Adds the event viewer events of PowerToys.Settings.exe to bug reports.

Co-authored-by: Stefan Markovic <[email protected]>
Co-authored-by: Andrey Nekrasov <[email protected]>
Co-authored-by: Niels Laute <[email protected]>
Co-authored-by: Niels Laute <[email protected]>
@pcgeek86
Copy link

I'd love to see a global hotkey manager for Windows 11 Developer Preview, in PowerToys. The existing "Keyboard Manager" feature in PowerToys 0.59.0 doesn't really do what I'd expect. It only remaps keys and simple shortcuts.

See for example this utility: https://www.nirsoft.net/utils/hot_keys_list.html

crutkas added a commit that referenced this issue Oct 22, 2024
* Adding in exts

* modifying exts

* deleting outdated azure extentions

* removing x86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-New PowerToy Suggestion for a PowerToy Product-Keyboard Shortcut Manager Issues regarding Keyboard Shortcut Manager Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests