summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/config.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-06 10:47:26 -0700
committerGitHub <noreply@github.com>2021-07-06 10:47:26 -0700
commit792c4e7893af4a2561794b6f067327d33f39847c (patch)
tree0f3a32036593969d397f0b68c9cac62d7f4ca14a /keyboards/crkbd/config.h
parentacf7de7a52c16dd994305ce289e60e4894ff04d0 (diff)
[Keyboard] Set reasonable defaults for Corne keyboard (#13440)
* [Keyboard] Set reasonable defaults for Corne keyboard * Add note about bootmagic * Make bootmagic config super weak * cleanup * Apply suggestions from code review * Update keyboards/crkbd/readme.md
Diffstat (limited to 'keyboards/crkbd/config.h')
-rw-r--r--keyboards/crkbd/config.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/keyboards/crkbd/config.h b/keyboards/crkbd/config.h
index d7a3474733..f354efbb47 100644
--- a/keyboards/crkbd/config.h
+++ b/keyboards/crkbd/config.h
@@ -21,20 +21,22 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4653
-#define PRODUCT_ID 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER foostan
-#define PRODUCT Corne
+#define VENDOR_ID 0x4653
+#define PRODUCT_ID 0x0001
+#define DEVICE_VER 0x0001
+#define MANUFACTURER foostan
+#define PRODUCT Corne
/* key matrix size */
// Rows are doubled-up
-#define MATRIX_ROWS 8
-#define MATRIX_COLS 6
-#define MATRIX_ROW_PINS { D4, C6, D7, E6 }
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 6
+#define MATRIX_ROW_PINS \
+ { D4, C6, D7, E6 }
// wiring of each half
-#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3 }
+#define MATRIX_COL_PINS \
+ { F4, F5, F6, F7, B1, B3 }
// #define MATRIX_COL_PINS { B2, B3, B1, F7, F6, F5, F4 } //uncomment this line and comment line above if you need to reverse left-to-right key order
/* define if matrix has ghost */
@@ -51,7 +53,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
//#define LOCKING_RESYNC_ENABLE
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.