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 | |
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
-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 8dceff5db..761ddba71 100644 --- a/keyboards/four_banger/config.h +++ b/keyboards/four_banger/config.h | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | /* key combination for command */ | 41 | /* key combination for command */ |
42 | #define IS_COMMAND() ( \ | 42 | #define IS_COMMAND() ( \ |
43 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | 43 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ |
44 | ) | 44 | ) |
45 | 45 | ||
46 | #define RGB_DI_PIN E6 | 46 | #define RGB_DI_PIN E6 |
diff --git a/keyboards/four_banger/four_banger.h b/keyboards/four_banger/four_banger.h index b0de731b9..a6da8dd0b 100644 --- a/keyboards/four_banger/four_banger.h +++ b/keyboards/four_banger/four_banger.h | |||
@@ -4,11 +4,11 @@ | |||
4 | #include "quantum.h" | 4 | #include "quantum.h" |
5 | 5 | ||
6 | #define LAYOUT_ortho_2x2( \ | 6 | #define LAYOUT_ortho_2x2( \ |
7 | K00, K01, \ | 7 | K00, K01, \ |
8 | K10, K11 \ | 8 | K10, K11 \ |
9 | ) { \ | 9 | ) { \ |
10 | { K00, K01 }, \ | 10 | { K00, K01 }, \ |
11 | { K10, K11 } \ | 11 | { K10, K11 } \ |
12 | } | 12 | } |
13 | 13 | ||
14 | #endif \ No newline at end of file | 14 | #endif |
diff --git a/keyboards/four_banger/keymaps/default/keymap.c b/keyboards/four_banger/keymaps/default/keymap.c index 6c5f7c8a5..3fea0afd4 100644 --- a/keyboards/four_banger/keymaps/default/keymap.c +++ b/keyboards/four_banger/keymaps/default/keymap.c | |||
@@ -5,20 +5,20 @@ enum custom_keycodes { | |||
5 | }; | 5 | }; |
6 | 6 | ||
7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 7 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
8 | LAYOUT_ortho_2x2( | 8 | LAYOUT_ortho_2x2( |
9 | KC_1, KC_U, | 9 | KC_1, KC_U, |
10 | KC_P, UP_URL | 10 | KC_P, UP_URL |
11 | ), | 11 | ), |
12 | }; | 12 | }; |
13 | 13 | ||
14 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 14 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
15 | switch (keycode) { | 15 | switch (keycode) { |
16 | case UP_URL: | 16 | case UP_URL: |
17 | if (record->event.pressed) { | 17 | if (record->event.pressed) { |
18 | SEND_STRING("http://1upkeyboards.com"); | 18 | SEND_STRING("http://1upkeyboards.com"); |
19 | } | 19 | } |
20 | return false; | 20 | return false; |
21 | break; | 21 | break; |
22 | } | 22 | } |
23 | return true; | 23 | return true; |
24 | } | 24 | } |