summaryrefslogtreecommitdiff
path: root/keyboards/ibnuda/squiggle/rev1/config.h
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2022-01-31 02:47:26 +0800
committerGitHub <noreply@github.com>2022-01-30 10:47:26 -0800
commita6a7b1ce8f4589a1740bf4b9e628bdb4b3d0e18b (patch)
tree63454e370647e4130508d373de11f7a1a9994239 /keyboards/ibnuda/squiggle/rev1/config.h
parent84c1fcef0543bbba8716e5bbf9b7e95b6bd9c96c (diff)
downloadqmk_firmware-a6a7b1ce8f4589a1740bf4b9e628bdb4b3d0e18b.tar.gz
qmk_firmware-a6a7b1ce8f4589a1740bf4b9e628bdb4b3d0e18b.zip
[Keyboard] move @ibnuda 's keebs into /ibnuda (#16108)
Diffstat (limited to 'keyboards/ibnuda/squiggle/rev1/config.h')
-rw-r--r--keyboards/ibnuda/squiggle/rev1/config.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/ibnuda/squiggle/rev1/config.h b/keyboards/ibnuda/squiggle/rev1/config.h
new file mode 100644
index 0000000000..9dec7e30f5
--- /dev/null
+++ b/keyboards/ibnuda/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