diff options
author | Ryan <fauxpark@gmail.com> | 2022-10-27 21:19:16 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 11:19:16 +0100 |
commit | 002b58f0e4ea64eb5b06e36d988160bbb907cb83 (patch) | |
tree | 10ffe1f49d22b4ad6d660198da56782aae57e743 /keyboards/dz60/keymaps/marianas | |
parent | 8e0945c82224ca2fdcc21eb7184520f879804fb6 (diff) |
Normalise Space Cadet keycodes (#18864)
Diffstat (limited to 'keyboards/dz60/keymaps/marianas')
-rw-r--r-- | keyboards/dz60/keymaps/marianas/keyDefinitions.h | 4 | ||||
-rw-r--r-- | keyboards/dz60/keymaps/marianas/relativity.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/dz60/keymaps/marianas/keyDefinitions.h b/keyboards/dz60/keymaps/marianas/keyDefinitions.h index f3122acf5f..3e99580e04 100644 --- a/keyboards/dz60/keymaps/marianas/keyDefinitions.h +++ b/keyboards/dz60/keymaps/marianas/keyDefinitions.h @@ -39,11 +39,11 @@ //Modifiers #define CTLL KC_LCTL -#define LEFTSHFT KC_LSPO +#define LEFTSHFT SC_LSPO #define WINL KC_LGUI #define ALTL KC_LALT #define CTLR KC_RCTL -#define RIGHT_SHIFT__PAREN KC_RSPC +#define RIGHT_SHIFT__PAREN SC_RSPC #define WINR KC_RGUI #define ALTR KC_RALT #define APPR KC_APP diff --git a/keyboards/dz60/keymaps/marianas/relativity.c b/keyboards/dz60/keymaps/marianas/relativity.c index 96a5eb4e6f..d2b9393400 100644 --- a/keyboards/dz60/keymaps/marianas/relativity.c +++ b/keyboards/dz60/keymaps/marianas/relativity.c @@ -400,8 +400,8 @@ bool storeShiftState(uint16_t keycode, keyrecord_t *record) { switch (keycode) { - case KC_LSPO: - case KC_RSPC: + case SC_LSPO: + case SC_RSPC: shifted = true; } } @@ -410,8 +410,8 @@ bool storeShiftState(uint16_t keycode, keyrecord_t *record) switch (keycode) { - case KC_LSPO: - case KC_RSPC: + case SC_LSPO: + case SC_RSPC: shifted = false; return true; } |