From 5857d46cae306b8f992b81dc1e8d2514de94b71b Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 17 Jun 2019 10:48:12 +0200 Subject: Arrow and fat arrow --- keyboards/ergodox_ez/keymaps/jworthe/keymap.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/keyboards/ergodox_ez/keymaps/jworthe/keymap.c b/keyboards/ergodox_ez/keymaps/jworthe/keymap.c index a4a2a5cd84..1d3651c482 100644 --- a/keyboards/ergodox_ez/keymaps/jworthe/keymap.c +++ b/keyboards/ergodox_ez/keymaps/jworthe/keymap.c @@ -16,7 +16,9 @@ enum custom_keycodes { NAME2, NAME3, TESTPW, - KINDRG + KINDRG, + ARROW, + FAT_ARROW }; bool process_record_user(uint16_t keycode, keyrecord_t *record) { @@ -46,6 +48,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { case KINDRG: SEND_STRING("Kind regards," SS_TAP(X_ENTER) "Justin Wernick"); return false; + case ARROW: + SEND_STRING("->"); + return false; + case FAT_ARROW: + SEND_STRING("=>"); + return false; } } return true; @@ -71,8 +79,8 @@ KC_LCTL, KC_LGUI, KC_LALT, MO(SYMB), KC_NO, [SYMB] = LAYOUT_ergodox_pretty( _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, _______, _______, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, -_______, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, -_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, _______, +_______, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, _______, _______, ARROW, KC_7, KC_8, KC_9, KC_ASTR, KC_F12, +_______, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV, FAT_ARROW, KC_4, KC_5, KC_6, KC_PLUS, _______, _______, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, _______, _______, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, _______, _______, _______, _______, _______, _______, KC_0, KC_DOT, _______, _______, _______, -- cgit v1.2.3