summaryrefslogtreecommitdiffstats
path: root/users/spacebarracecar
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-01-03 17:13:55 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-01-03 08:13:55 -0800
commite76bf17d36c3e23d4c780ab7dd0a10b5883889a2 (patch)
tree86220261daa80f6d1fd8b3bf4605132052eccfa8 /users/spacebarracecar
parent6cb2d7ba6dc19fe579fac856fbce36be0f8384f6 (diff)
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
Diffstat (limited to 'users/spacebarracecar')
-rw-r--r--users/spacebarracecar/spacebarracecar.c4
-rw-r--r--users/spacebarracecar/spacebarracecar.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/users/spacebarracecar/spacebarracecar.c b/users/spacebarracecar/spacebarracecar.c
index f7048869ed..130d7dc2d4 100644
--- a/users/spacebarracecar/spacebarracecar.c
+++ b/users/spacebarracecar/spacebarracecar.c
@@ -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);
diff --git a/users/spacebarracecar/spacebarracecar.h b/users/spacebarracecar/spacebarracecar.h
index 035c1ac790..d0259b73cc 100644
--- a/users/spacebarracecar/spacebarracecar.h
+++ b/users/spacebarracecar/spacebarracecar.h
@@ -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;