Make indentation consistent and match project standards
/* 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
#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
};
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;
}