summaryrefslogtreecommitdiffstats
path: root/keyboards/bpiphany
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-01-25 22:12:48 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-25 22:12:48 +0100
commit79b58937f41413f52ffc7b6af2149dca7a632b73 (patch)
tree1808ded566f1f941158687db657c114a2346105b /keyboards/bpiphany
parent2f009d7461a486cfa7307ef0cecd67d1abe570b3 (diff)
downloadqmk_firmware-79b58937f41413f52ffc7b6af2149dca7a632b73.tar.gz
qmk_firmware-79b58937f41413f52ffc7b6af2149dca7a632b73.tar.xz
Add C(), A() and G() to match already existing S() (#4673)
Diffstat (limited to 'keyboards/bpiphany')
-rw-r--r--keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c7
-rw-r--r--keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c10
2 files changed, 11 insertions, 6 deletions
diff --git a/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c b/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
index 856cef9cc..c0549c424 100644
--- a/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
+++ b/keyboards/bpiphany/kitten_paw/keymaps/ickerwx/keymap.c
@@ -3,12 +3,13 @@
#define _______ KC_TRNS
#define XXXXXXX KC_NO
-#define C(kc) LCTL(KC_##kc)
+#undef C
+#undef S
+#define C(kc) LCTL(KC_##kc)
+#define S(kc) LSFT(KC_##kc)
#define RA(kc) RALT(KC_##kc)
#define KC_SLCT KC_SELECT
#define MEDAPP LT(MEDIA, KC_APP)
-#undef S
-#define S(kc) LSFT(KC_##kc)
uint8_t current_layer_global = 255;
diff --git a/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c b/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c
index 79f07d3bb..5036bcb3f 100644
--- a/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c
+++ b/keyboards/bpiphany/pegasushoof/keymaps/citadel/keymap.c
@@ -17,11 +17,15 @@
#include QMK_KEYBOARD_H
/* Allow shortcuts for combos like RALT(KC_RBRC) that don't take up more than 7 characters: */
-#define G(kc) RALT(KC_##kc)
-#define A(kc) LALT(KC_##kc)
+/* Original shortcuts (quantum_keycodes.h) take full-sized keycodes: too long! */
+#undef C
+#undef S
+#undef A
+#undef G
#define C(kc) LCTL(KC_##kc)
-#undef S /* Original shortcut (quantum_keycodes.h) takes full-sized keycodes: too long! */
#define S(kc) LSFT(KC_##kc)
+#define A(kc) LALT(KC_##kc)
+#define G(kc) RALT(KC_##kc)
#define CTALDEL LCTL(LALT(KC_DEL))
enum layers {