diff options
author | Ryan <fauxpark@gmail.com> | 2022-12-30 11:48:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 11:48:05 +1100 |
commit | 801d2ff940a5f19ee4fa7df992e86d1fd1daf610 (patch) | |
tree | 90ae25746c3ccf245c43a74fea4f2741255134c4 /keyboards/thevankeyboards/roadkit/keymaps | |
parent | 2b61cc739fa3ec24391752335c92703862726544 (diff) |
Remove useless line continuations (#19399)
Diffstat (limited to 'keyboards/thevankeyboards/roadkit/keymaps')
3 files changed, 47 insertions, 47 deletions
diff --git a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c index 8629ccbd9c..45d58fee1d 100644 --- a/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c +++ b/keyboards/thevankeyboards/roadkit/keymaps/flipphone/keymap.c @@ -42,34 +42,34 @@ enum roadkit_keycodes { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_NUMPAD] = LAYOUT_numpad_4x4( /* Numpad */ - KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS, \ - KC_KP_4, KC_KP_5, KC_KP_6, \ - KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_ENTER, \ - LT(_ADJUST, KC_KP_0), KC_KP_DOT \ + KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS, + KC_KP_4, KC_KP_5, KC_KP_6, + KC_KP_1, KC_KP_2, KC_KP_3, KC_KP_ENTER, + LT(_ADJUST, KC_KP_0), KC_KP_DOT ), [_FPH] = LAYOUT_numpad_4x4( /* Quiet T9 */ - FPH_7, FPH_8, FPH_9, KC_KP_PLUS, \ - FPH_4, FPH_5, FPH_6, \ - FPH_1, FPH_2, FPH_3, SFT_T(KC_KP_ENTER), \ - LT(_ADJUST, KC_SPACE), KC_KP_DOT \ + FPH_7, FPH_8, FPH_9, KC_KP_PLUS, + FPH_4, FPH_5, FPH_6, + FPH_1, FPH_2, FPH_3, SFT_T(KC_KP_ENTER), + LT(_ADJUST, KC_SPACE), KC_KP_DOT ), [_FPHNOISY] = LAYOUT_numpad_4x4( /* Noisy T9 */ - FPH_7, FPH_8, FPH_9, KC_KP_PLUS, \ - FPH_4, FPH_5, FPH_6, \ - FPH_1, FPH_2, FPH_3, SFT_T(KC_KP_ENTER), \ - LT(_ADJUST, KC_SPACE), KC_KP_DOT \ + FPH_7, FPH_8, FPH_9, KC_KP_PLUS, + FPH_4, FPH_5, FPH_6, + FPH_1, FPH_2, FPH_3, SFT_T(KC_KP_ENTER), + LT(_ADJUST, KC_SPACE), KC_KP_DOT ), [_ADJUST] = LAYOUT_numpad_4x4( /* Adjustments */ - KC_NUM, TG(_FPHNOISY), TG(_FPH), TG(_NUMPAD), \ - KC_BSPC, BACKLIT, KC_DEL, \ - MACSLEEP, _______, _______, _______, \ - _______, MO(_DYN) \ + KC_NUM, TG(_FPHNOISY), TG(_FPH), TG(_NUMPAD), + KC_BSPC, BACKLIT, KC_DEL, + MACSLEEP, _______, _______, _______, + _______, MO(_DYN) ), [_DYN] = LAYOUT_numpad_4x4( /* DYNAMIC MACRO */ - DM_REC1, DM_REC2, _______, DM_RSTP, \ - _______, _______, _______, \ - DM_PLY1, DM_PLY2, _______, _______, \ - _______, _______ \ + DM_REC1, DM_REC2, _______, DM_RSTP, + _______, _______, _______, + DM_PLY1, DM_PLY2, _______, _______, + _______, _______ ), }; @@ -133,9 +133,9 @@ uint16_t get_render_keycode(uint16_t keycode, uint16_t tap_qty){ // maybe replac return kc[tap_qty % 4];} break; case FPH_1: - {uint16_t kc[] = {KC_COMM, LSFT(KC_SLSH), KC_EXLM, KC_AT, KC_MINS, KC_UNDS, KC_PLUS, \ - KC_SCLN, LSFT(KC_SCLN), KC_QUOT, LSFT(KC_QUOT), KC_TILD, \ - KC_PIPE, KC_BSLS, KC_HASH, LSFT(KC_4), KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, \ + {uint16_t kc[] = {KC_COMM, LSFT(KC_SLSH), KC_EXLM, KC_AT, KC_MINS, KC_UNDS, KC_PLUS, + KC_SCLN, LSFT(KC_SCLN), KC_QUOT, LSFT(KC_QUOT), KC_TILD, + KC_PIPE, KC_BSLS, KC_HASH, LSFT(KC_4), KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LBRC, KC_RBRC, KC_LCBR, KC_RCBR, LSFT(KC_COMM), LSFT(KC_DOT)}; return kc[tap_qty % 26];} } diff --git a/keyboards/thevankeyboards/roadkit/keymaps/khord/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/khord/keymap.c index 867ca07c7c..eb7bb3ab76 100644 --- a/keyboards/thevankeyboards/roadkit/keymaps/khord/keymap.c +++ b/keyboards/thevankeyboards/roadkit/keymaps/khord/keymap.c @@ -29,9 +29,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * | L1 | L2 | | | Layer hold */ [_NP] = LAYOUT_ortho_4x4( /* Numpad */ - KC_P7, KC_P8, KC_P9, KC_BSPC, \ - KC_P4, KC_P5, KC_P6, KC_TAB, \ - KC_P1, KC_P2, KC_P3, KC_PENT, \ + KC_P7, KC_P8, KC_P9, KC_BSPC, + KC_P4, KC_P5, KC_P6, KC_TAB, + KC_P1, KC_P2, KC_P3, KC_PENT, LT(1, KC_P0), LT(2, KC_SPC), KC_PDOT, KC_PSLS ), @@ -47,9 +47,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `-----`-----`-----`-----' */ [_L1] = LAYOUT_ortho_4x4( /* LAYER 1 */ - QK_BOOT, XXXXXXX, XXXXXXX, KC_DEL, \ - KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, \ - STR192, STR255, XXXXXXX, XXXXXXX, \ + QK_BOOT, XXXXXXX, XXXXXXX, KC_DEL, + KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, + STR192, STR255, XXXXXXX, XXXXXXX, _______, BL_STEP, _______, XXXXXXX ), @@ -65,9 +65,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { * `-----`-----`-----`-----' */ [_L2] = LAYOUT_ortho_4x4( /* LAYER 2 */ - XXXXXXX, XXXXXXX, ADMIN, SMSPC1, \ - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, \ - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, \ + XXXXXXX, XXXXXXX, ADMIN, SMSPC1, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX ) }; diff --git a/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c b/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c index 8b8719a315..db84674050 100644 --- a/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c +++ b/keyboards/thevankeyboards/roadkit/keymaps/mjt/keymap.c @@ -40,33 +40,33 @@ enum minivan_keycodes { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_NUMPAD] = LAYOUT_numpad_4x4( /* Numpad */ - KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS, \ - KC_KP_4, KC_KP_5, KC_KP_6, \ - KC_KP_1, KC_KP_2, KC_KP_3, NAVIGATION, \ + KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_PLUS, + KC_KP_4, KC_KP_5, KC_KP_6, + KC_KP_1, KC_KP_2, KC_KP_3, NAVIGATION, EXCEL, KC_KP_DOT ), [_EXCEL] = LAYOUT_numpad_4x4( /* Excel related */ - KC_KP_SLASH, KC_KP_ASTERISK, KC_MINS, KC_TAB, \ - KC_QUOT, KC_KP_EQUAL, PARENS, \ - KC_DQT, BRACKETS, BRACES, _______, \ + KC_KP_SLASH, KC_KP_ASTERISK, KC_MINS, KC_TAB, + KC_QUOT, KC_KP_EQUAL, PARENS, + KC_DQT, BRACKETS, BRACES, _______, _______, MO(_DYN) ), [_NAVIGATION] = LAYOUT_numpad_4x4( /* Navigation */ - KC_HOME, _______, KC_PGUP, KC_TAB, \ - KC_END, KC_UP, KC_PGDN, \ - KC_LEFT, KC_DOWN, KC_RIGHT, _______, \ + KC_HOME, _______, KC_PGUP, KC_TAB, + KC_END, KC_UP, KC_PGDN, + KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, MO(_DYN) ), [_ADJUST] = LAYOUT_numpad_4x4( /* Adjustments */ - KC_NUM, MACSLEEP, BACKLIT, _______, \ - KC_BSPC, _______, KC_DEL, \ - EXCEL_LOCK, NUMPAD_LOCK, NAVIGATION_LOCK, _______, \ + KC_NUM, MACSLEEP, BACKLIT, _______, + KC_BSPC, _______, KC_DEL, + EXCEL_LOCK, NUMPAD_LOCK, NAVIGATION_LOCK, _______, _______, _______ ), [_DYN] = LAYOUT_numpad_4x4( /* DYNAMIC MACRO */ - DM_REC1, DM_REC2, _______, _______, \ - _______, _______, _______, \ - DM_PLY1, DM_PLY2, _______, _______, \ + DM_REC1, DM_REC2, _______, _______, + _______, _______, _______, + DM_PLY1, DM_PLY2, _______, _______, _______, _______ ), }; |