-
-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
Remove redundant, language-specific aliases for KC_ALGR #4720
Conversation
Honestly, I think we should keep the language specific keycodes, but they should be using the correct KC_ versions. That way, they fit better into the keymap_extras stuff. |
It's usually not done for any of the other modifiers, though, nor is it done for keycodes like Speaking of which, I just noticed these; they should probably be removed too for the same reason. Should be okay as they aren't used anywhere. Edit: But then there are these... I don't think that's consistent with the rest of the extra keymaps. |
62cf75a
to
c88bcee
Compare
Updated to latest master and removed two more redundant aliases ( The plethora of redundant aliases in the UK keymap can stay for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
* Use standard KC_ALGR, remove language-specific redefinitions * Use ALGR instead of ALTGR in BÉPO and Canadian multilingual keymaps * Remove BE_LALT, BE_LGUI aliases
* Use standard KC_ALGR, remove language-specific redefinitions * Use ALGR instead of ALTGR in BÉPO and Canadian multilingual keymaps * Remove BE_LALT, BE_LGUI aliases
* Use standard KC_ALGR, remove language-specific redefinitions * Use ALGR instead of ALTGR in BÉPO and Canadian multilingual keymaps * Remove BE_LALT, BE_LGUI aliases
This PR continues from where #4389 left off. Namely, it removes redundant, language-specific aliases for
KC_ALGR
, since that keycode is standard now (see the aforementioned PR). This is done to improve consistency throughout keymaps and the codebase as a whole.Description
There is no national layout1 in which AltGr is anything other than right Alt. Therefore, language-specific aliases for
KC_ALGR
are unnecessary. This PR removesDE_ALGR
,FR_ALGR
,FR_CH_ALGR
etc. and replaces uses thereof withKC_ALGR
. Also, two of the language keymaps defined the sameALTGR(kc)
alias forALGR(kc)
, which I've replaced as well.1 Other than maybe the German NEO layout, but that one has its own modifiers (
NEO_L1_L
,NEO_L1_R
,NEO_L2_L
,NEO_L2_R
), which I haven't touched.Types of changes
Checklist: