Remove redundant, language-specific aliases for KC_ALGR (#4720)
* 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 commit is contained in:
parent
6cb2d7ba6d
commit
e76bf17d36
29 changed files with 116 additions and 172 deletions
|
@ -211,11 +211,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
timer_timeout();
|
||||
if (lshift || rshift){
|
||||
unregister_code(KC_LSFT);
|
||||
register_code(DE_ALGR);
|
||||
register_code(KC_ALGR);
|
||||
unregister_code(DE_PLUS);
|
||||
register_code(DE_PLUS);
|
||||
unregister_code(DE_PLUS);
|
||||
unregister_code(DE_ALGR);
|
||||
unregister_code(KC_ALGR);
|
||||
register_code(KC_LSFT);
|
||||
} else {
|
||||
register_code(KC_LSFT);
|
||||
|
|
|
@ -192,7 +192,7 @@ return false;
|
|||
if (record->event.pressed) { \
|
||||
timer_timeout(); \
|
||||
unregister_code(KC_LSFT); \
|
||||
register_code(DE_ALGR); \
|
||||
register_code(KC_ALGR); \
|
||||
if (lshift || rshift) { \
|
||||
unregister_code(kc2); \
|
||||
register_code(kc2); \
|
||||
|
@ -203,7 +203,7 @@ if (record->event.pressed) { \
|
|||
register_code(kc1); \
|
||||
unregister_code(kc1); \
|
||||
} \
|
||||
unregister_code(DE_ALGR); \
|
||||
unregister_code(KC_ALGR); \
|
||||
} \
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue