diff options
| author | Daniel RodrÃguez Rivero <rdanielo@gmail.com> | 2020-09-06 22:13:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-06 13:13:18 -0700 |
| commit | 8ac9940a76f09d4a47be342fc123306ecbfb27f3 (patch) | |
| tree | c7cf84279d073af479185c682fdb65991847cb0e /users/danielo515/combo.c | |
| parent | ac24f203cc4141d6d27f27dc173e04fc5edde741 (diff) | |
| download | qmk_firmware-8ac9940a76f09d4a47be342fc123306ecbfb27f3.tar.gz qmk_firmware-8ac9940a76f09d4a47be342fc123306ecbfb27f3.zip | |
[Keymap] danielo515/redox-1 (#9935)
* chore: pulled the latest from master
Bring my redox layout from my latest redox branch
Bring my latest user stuff from my redox branch
* Update users/danielo515/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* chore: small cleanup
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'users/danielo515/combo.c')
| -rw-r--r-- | users/danielo515/combo.c | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/users/danielo515/combo.c b/users/danielo515/combo.c index 1c8414377..b33cb838b 100644 --- a/users/danielo515/combo.c +++ b/users/danielo515/combo.c | |||
| @@ -6,31 +6,39 @@ enum combos { | |||
| 6 | UI_COM, | 6 | UI_COM, |
| 7 | IO_COM, | 7 | IO_COM, |
| 8 | QW_COM, | 8 | QW_COM, |
| 9 | COM_SLS, | 9 | DOT_SLS, |
| 10 | COM_DOT, | 10 | COM_DOT, |
| 11 | M_COMM, | 11 | M_COMM, |
| 12 | N_M, | 12 | N_M, |
| 13 | OP_COM, | 13 | OP_COM, |
| 14 | M_CM_DOT, | ||
| 14 | }; | 15 | }; |
| 15 | 16 | ||
| 16 | const uint16_t PROGMEM ui_combo[] = {KC_U, KC_I, COMBO_END}; | 17 | const uint16_t PROGMEM ui_combo[] = {KC_U, KC_I, COMBO_END}; |
| 17 | const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END}; | 18 | const uint16_t PROGMEM jk_combo[] = {KC_J, KC_K, COMBO_END}; |
| 18 | const uint16_t PROGMEM yu_combo[] = {KC_Y, KC_U, COMBO_END}; | 19 | const uint16_t PROGMEM yu_combo[] = {KC_Y, KC_U, COMBO_END}; |
| 19 | const uint16_t PROGMEM io_combo[] = {KC_I, KC_O, COMBO_END}; | 20 | const uint16_t PROGMEM io_combo[] = {KC_I, KC_O, COMBO_END}; |
| 20 | const uint16_t PROGMEM qw_combo[] = {KC_Q, KC_W, COMBO_END}; | 21 | const uint16_t PROGMEM qw_combo[] = {KC_Q, KC_W, COMBO_END}; |
| 21 | const uint16_t PROGMEM com_sls[] = {KC_COMMA, KC_SLSH, COMBO_END}; | 22 | const uint16_t PROGMEM dot_sls[] = {KC_DOT, KC_SLSH, COMBO_END}; |
| 22 | const uint16_t PROGMEM com_dot[] = {KC_COMMA, KC_DOT, COMBO_END}; | 23 | const uint16_t PROGMEM com_dot[] = {KC_COMMA, KC_DOT, COMBO_END}; |
| 23 | const uint16_t PROGMEM m_comm[] = {KC_M,KC_COMMA, COMBO_END}; | 24 | const uint16_t PROGMEM m_comm[] = {KC_M, KC_COMMA, COMBO_END}; |
| 24 | const uint16_t PROGMEM n_m[] = {KC_N, KC_M,COMBO_END}; | 25 | const uint16_t PROGMEM n_m[] = {KC_N, KC_M, COMBO_END}; |
| 26 | const uint16_t PROGMEM o_p_combo[] = {KC_O, KC_P, COMBO_END}; | ||
| 27 | const uint16_t PROGMEM m_cm_dot_combo[] = {KC_M, KC_COMMA, KC_DOT, COMBO_END}; | ||
| 25 | 28 | ||
| 26 | combo_t key_combos[COMBO_COUNT] = { | 29 | combo_t key_combos[COMBO_COUNT] = { |
| 27 | [JK_ESC] = COMBO(jk_combo, KC_ESC), | 30 | [JK_ESC] = COMBO(jk_combo, KC_ESC), |
| 28 | [YU_COM] = COMBO(yu_combo, KC_CIRC), | 31 | [YU_COM] = COMBO(yu_combo, KC_AMPR), |
| 29 | [UI_COM] = COMBO(ui_combo, KC_DLR), | 32 | [UI_COM] = COMBO(ui_combo, KC_CIRC), |
| 30 | [IO_COM] = COMBO(io_combo, KC_TILD), | 33 | [IO_COM] = COMBO(io_combo, KC_TILD), |
| 34 | [DOT_SLS] = COMBO(dot_sls, KC_EXLM), | ||
| 35 | [COM_DOT] = COMBO(com_dot, KC_QUES), | ||
| 36 | [N_M] = COMBO(n_m, KC_DLR), | ||
| 37 | [OP_COM] = COMBO(o_p_combo, KC_HASH), | ||
| 38 | // m + , = { | ||
| 39 | [M_COMM] = COMBO(m_comm, KC_LCBR), | ||
| 40 | // m + , + . = } | ||
| 41 | // [M_CM_DOT] = COMBO(m_cm_dot_combo, KC_RCBR), | ||
| 42 | // Right hand side combos | ||
| 31 | [QW_COM] = COMBO(qw_combo, KC_AT), | 43 | [QW_COM] = COMBO(qw_combo, KC_AT), |
| 32 | [COM_SLS] = COMBO(com_sls, KC_QUES), | ||
| 33 | [COM_DOT] = COMBO(com_dot, KC_QUES), | ||
| 34 | [M_COMM] = COMBO(m_comm, KC_ESC), | ||
| 35 | [N_M] = COMBO(n_m, KC_DLR), | ||
| 36 | }; | 44 | }; |
