diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-06-01 23:00:55 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-06-01 23:00:55 -0400 |
commit | 4635b4453335b61df11008fa907eef221db5912b (patch) | |
tree | 30d25a21327e5284f15249a819e3f769d8153309 | |
parent | 1c9f33c06a6ef18c9c21e5841180af5ae554c34b (diff) |
new line/tab in send_string
-rw-r--r-- | keyboard/planck/keymaps/experimental/keymap.c | 3 | ||||
-rw-r--r-- | quantum/quantum.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboard/planck/keymaps/experimental/keymap.c b/keyboard/planck/keymaps/experimental/keymap.c index 4b9c15e084..0968f61335 100644 --- a/keyboard/planck/keymaps/experimental/keymap.c +++ b/keyboard/planck/keymaps/experimental/keymap.c @@ -316,8 +316,7 @@ void matrix_scan_user(void) { leader_end(); SEQ_ONE_KEY(KC_F) { - register_code(KC_S); - unregister_code(KC_S); + send_string("if yes\n\tpeanut butter\nelse\n\trice snacks"); } SEQ_TWO_KEYS(KC_A, KC_S) { register_code(KC_H); diff --git a/quantum/quantum.c b/quantum/quantum.c index 6480e33c60..426cfa12b2 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -481,7 +481,7 @@ bool shift_us_qwerty[0x80] = { }; uint8_t ascii_us_qwerty[0x80] = { - 0, 0, 0, 0, 0, 0, 0, 0, KC_BSPC, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, KC_ESC, 0, 0, 0, 0, // 0 - 31 + 0, 0, 0, 0, 0, 0, 0, 0, KC_BSPC, KC_TAB, KC_ENT, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, KC_ESC, 0, 0, 0, 0, // 0 - 31 KC_SPC, KC_1, KC_QUOT, KC_3, KC_4, KC_5, KC_7, KC_QUOT, KC_9, KC_0, KC_8, KC_EQL, KC_COMM, KC_MINS, KC_DOT, // 32 - 46 KC_SLSH, KC_0, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_SCLN, KC_SCLN, KC_COMM, KC_EQL, // 47 - 61 KC_DOT, KC_SLSH, KC_2, KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, KC_M, KC_N, // 62 - 78 |