summaryrefslogtreecommitdiff
path: root/keyboards/squiggle/rev1/config.h
diff options
context:
space:
mode:
authorIbnu Daru Aji <ibnuda@users.noreply.github.com>2020-07-25 16:15:35 +0700
committerGitHub <noreply@github.com>2020-07-25 02:15:35 -0700
commit054021e8757a72de4d3fae1f58944e9c922d22d1 (patch)
treee405f5cfaffca40150c022b062a57ca4db3dab5e /keyboards/squiggle/rev1/config.h
parentf5c2cd2eb7415418f4d7f87f732b0c6e07afade7 (diff)
[Keyboard] Squiggle (#9387)
* new keyboard for squiggle. * added pic and other layout. * updated readme. * following drashna's suggestions. * removed an empty line and right hand as master. * following fauxpark's suggestions. * following manna-harbour's suggestions. * trying to satisfy PR Lint keyboards * manna-harbour forgot to add it. * following fauxparx's suggestions. * following fauxpark's suggestions. * following fauxpark's suggestions.' ' * following fauxpark's suggestions. * following fauxpark''s suggestions. * upated info.json to represent the actual layouts. * following noroadsleft's suggestions.
Diffstat (limited to 'keyboards/squiggle/rev1/config.h')
-rw-r--r--keyboards/squiggle/rev1/config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/squiggle/rev1/config.h b/keyboards/squiggle/rev1/config.h
new file mode 100644
index 0000000000..9dec7e30f5
--- /dev/null
+++ b/keyboards/squiggle/rev1/config.h
@@ -0,0 +1,25 @@
+#pragma once
+
+#define DEVICE_VER 0x0001
+
+/* key matrix size */
+#define MATRIX_ROWS 8
+#define MATRIX_COLS 5
+
+/*
+ * Keyboard Matrix Assignments
+ *
+ * Change this to how you wired your keyboard
+ * COLS: AVR pins used for columns, left to right
+ * ROWS: AVR pins used for rows, top to bottom
+ * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
+ * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
+ *
+ */
+#define MATRIX_ROW_PINS { B1, B3, B2, B6 }
+#define MATRIX_COL_PINS { C6, D7, E6, B4, B5 }
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+#define MASTER_LEFT