How to globally map AltGr key to Alt key?

后端 未结 7 1165
傲寒
傲寒 2021-01-30 06:31

I want my AltGr key to behave exactly like left Alt.
Usually, I do this kind of stuff with Autohotkey, but I\'m open to different solutions.

7条回答
  •  心在旅途
    2021-01-30 07:20

    I got a decent behavior by combining two hotkeys:

    LControl & RAlt::Send {Alt}
    RAlt::Alt
    

    The first one is for the standalone keypress (avoid to hold it down...), the second one to be used as combination (Alt+F, etc.).
    It isn't perfect, you can't do a combination like Ctrl+Alt+T, but perhaps it is enough for your needs.

    Note that you can do a permanent remapping using the registry. See this forum post for an example. Not sure that it applies to compound keys like this one, but I thought I should mention it...

提交回复
热议问题