diff options
author | Alex Mayer <amayer5125@gmail.com> | 2018-11-02 01:21:28 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-11-01 22:21:28 -0700 |
commit | 6eb7501eb0ab0ee1711f7f1275501ab53bcae8e2 (patch) | |
tree | 6879eb91b2201ce82883a3b0f8622e50ea572f73 /keyboards/four_banger | |
parent | 7a22da9f0573711be586915c763621027e285e81 (diff) | |
download | qmk_firmware-6eb7501eb0ab0ee1711f7f1275501ab53bcae8e2.tar.gz qmk_firmware-6eb7501eb0ab0ee1711f7f1275501ab53bcae8e2.zip |
Four Banger: Clean Up Indentation (#4322)
Make indentation consistent and match project standards
Diffstat (limited to 'keyboards/four_banger')
-rw-r--r-- | keyboards/four_banger/config.h | 2 | ||||
-rw-r--r-- | keyboards/four_banger/four_banger.h | 10 | ||||
-rw-r--r-- | keyboards/four_banger/keymaps/default/keymap.c | 26 |
3 files changed, 19 insertions, 19 deletions
diff --git a/keyboards/four_banger/config.h b/keyboards/four_banger/config.h index 8dceff5db5..761ddba715 100644 --- a/keyboards/four_banger/config.h +++ b/keyboards/four_banger/config.h @@ -40,7 +40,7 @@ /* key combination for command */ #define IS_COMMAND() ( \ - keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ + keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) #define RGB_DI_PIN E6 diff --git a/keyboards/four_banger/four_banger.h b/keyboards/four_banger/four_banger.h index b0de731b91..a6da8dd0b7 100644 --- a/keyboards/four_banger/four_banger.h +++ b/keyboards/four_banger/four_banger.h @@ -4,11 +4,11 @@ #include "quantum.h" #define LAYOUT_ortho_2x2( \ - K00, K01, \ - K10, K11 \ + K00, K01, \ + K10, K11 \ ) { \ - { K00, K01 }, \ - { K10, K11 } \ + { K00, K01 }, \ + { K10, K11 } \ } -#endif
\ No newline at end of file +#endif diff --git a/keyboards/four_banger/keymaps/default/keymap.c b/keyboards/four_banger/keymaps/default/keymap.c index 6c5f7c8a55..3fea0afd4f 100644 --- a/keyboards/four_banger/keymaps/default/keymap.c +++ b/keyboards/four_banger/keymaps/default/keymap.c @@ -5,20 +5,20 @@ enum custom_keycodes { }; const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - LAYOUT_ortho_2x2( - KC_1, KC_U, - KC_P, UP_URL - ), + LAYOUT_ortho_2x2( + KC_1, KC_U, + KC_P, UP_URL + ), }; bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case UP_URL: - if (record->event.pressed) { - SEND_STRING("http://1upkeyboards.com"); - } - return false; - break; - } - return true; + switch (keycode) { + case UP_URL: + if (record->event.pressed) { + SEND_STRING("http://1upkeyboards.com"); + } + return false; + break; + } + return true; } |