Four Banger: Clean Up Indentation (#4322)
Make indentation consistent and match project standards
This commit is contained in:
parent
7a22da9f05
commit
6eb7501eb0
3 changed files with 19 additions and 19 deletions
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
/* key combination for command */
|
/* key combination for command */
|
||||||
#define IS_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
|
#define RGB_DI_PIN E6
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
|
||||||
#define LAYOUT_ortho_2x2( \
|
#define LAYOUT_ortho_2x2( \
|
||||||
K00, K01, \
|
K00, K01, \
|
||||||
K10, K11 \
|
K10, K11 \
|
||||||
) { \
|
) { \
|
||||||
{ K00, K01 }, \
|
{ K00, K01 }, \
|
||||||
{ K10, K11 } \
|
{ K10, K11 } \
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -5,20 +5,20 @@ enum custom_keycodes {
|
||||||
};
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
LAYOUT_ortho_2x2(
|
LAYOUT_ortho_2x2(
|
||||||
KC_1, KC_U,
|
KC_1, KC_U,
|
||||||
KC_P, UP_URL
|
KC_P, UP_URL
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case UP_URL:
|
case UP_URL:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
SEND_STRING("http://1upkeyboards.com");
|
SEND_STRING("http://1upkeyboards.com");
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue