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

Mapping input key “chords” to other characters. #19556

Closed
jadaml opened this issue Jul 20, 2022 · 8 comments
Closed

Mapping input key “chords” to other characters. #19556

jadaml opened this issue Jul 20, 2022 · 8 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@jadaml
Copy link

jadaml commented Jul 20, 2022

Description of the new feature / enhancement

Allow provide of key presses with modifier keys to be replaced with a specific character input rather then a keyboard input on the current keyboard layout.

Scenario when this would be used?

Some application may override some key strokes, which in a foreign keyboard layout would otherwise input a character, while in a US keyboard layout would do nothing.

Supporting information

There are some keyboard layouts, that introduces the Alt Gr modifier key, which allows some keys to input three (mostly) different characters. Considering four examples from the Hungarian keyboard layout:

  • AltGr+F → [
  • AltGr+G → ]
  • AltGr+Q → \
  • AltGr+W → |

However, the Alt Gr key is simulated with the left control and right alt simultaneous key press. Not only that, but these keys can be input by pressing control and alt together instead of Alt Gr, like so:

  • Ctrl+Alt+F → [
  • Ctrl+Alt+G → ]
  • Ctrl+Alt+Q → \
  • Ctrl+Alt+W → |

Unfortunately, not every software designer considers the existence of AltGr, and in a better scenario, they define a shortcut key conflicting with these inputs, and in worse, they do not consider, that more modifier keys are pressed then they wanted to define. Is Control pressed? Then i don't care about the state of the other modifier keys, it is time to trigger this action!

@jadaml jadaml added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Jul 20, 2022
@crutkas
Copy link
Member

crutkas commented Jul 20, 2022

this feels like #4508

@jadaml
Copy link
Author

jadaml commented Jul 20, 2022

The way I imagine my request—with examples from that issue—is if Alt+` would insert the U+0300 combining grave accent. Then the feature would be the same even. But then you'd still need to address the input of such character during setup. Because in general I can type the '[‘ character without issue if the input is not shadowed; but to insert U+0300 is tricky, and needs a 3rd party app.

@crutkas
Copy link
Member

crutkas commented Jul 20, 2022

A chord to me would be like in VS typing Ctrl+K then a Ctrl+C, what you may be asking for is more in terms of macro support for KBM. #5668 would be the tracked item for that

/needinfo

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 20, 2022
@jadaml
Copy link
Author

jadaml commented Jul 22, 2022

If a macro would allow to insert a character, and then shadowing the original key press, so it not triggers the original key press then yes, that sounds feasible.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jul 22, 2022
@crutkas
Copy link
Member

crutkas commented Feb 28, 2023

/dup #4508

@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Feb 28, 2023
@microsoft-github-policy-service
Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants