summaryrefslogtreecommitdiff
path: root/keyboards/ibnuda/squiggle/rev1
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
parent84c1fcef0543bbba8716e5bbf9b7e95b6bd9c96c (diff)
[Keyboard] move @ibnuda 's keebs into /ibnuda (#16108)
Diffstat (limited to 'keyboards/ibnuda/squiggle/rev1')
-rw-r--r--keyboards/ibnuda/squiggle/rev1/.noci0
-rw-r--r--keyboards/ibnuda/squiggle/rev1/config.h25
-rw-r--r--keyboards/ibnuda/squiggle/rev1/info.json148
-rw-r--r--keyboards/ibnuda/squiggle/rev1/rev1.c1
-rw-r--r--keyboards/ibnuda/squiggle/rev1/rev1.h119
-rw-r--r--keyboards/ibnuda/squiggle/rev1/rules.mk22
6 files changed, 315 insertions, 0 deletions
diff --git a/keyboards/ibnuda/squiggle/rev1/.noci b/keyboards/ibnuda/squiggle/rev1/.noci
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/keyboards/ibnuda/squiggle/rev1/.noci
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
diff --git a/keyboards/ibnuda/squiggle/rev1/info.json b/keyboards/ibnuda/squiggle/rev1/info.json
new file mode 100644
index 0000000000..754164e5d7
--- /dev/null
+++ b/keyboards/ibnuda/squiggle/rev1/info.json
@@ -0,0 +1,148 @@
+{
+ "keyboard_name": "squiggle",
+ "url": "https://github.com/ibnuda/squiggle",
+ "maintainer": "Ibnu D. Aji",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ {"label":"q", "x":0, "y":0.9},
+ {"label":"w", "x":1, "y":0.2},
+ {"label":"e", "x":2, "y":0},
+ {"label":"r", "x":3, "y":0.1},
+ {"label":"t", "x":4, "y":0.15},
+
+ {"label":"y", "x":5, "y":0.15},
+ {"label":"u", "x":6, "y":0.1},
+ {"label":"i", "x":7, "y":0},
+ {"label":"o", "x":8, "y":0.2},
+ {"label":"p", "x":9, "y":0.9},
+
+ {"label":"a", "x":0, "y":1.9},
+ {"label":"s", "x":1, "y":1.2},
+ {"label":"d", "x":2, "y":1},
+ {"label":"f", "x":3, "y":1.1},
+ {"label":"g", "x":4, "y":1.15},
+
+ {"label":"h", "x":5, "y":1.15},
+ {"label":"j", "x":6, "y":1.1},
+ {"label":"k", "x":7, "y":1},
+ {"label":"l", "x":8, "y":1.2},
+ {"label":"'", "x":9, "y":1.9},
+
+ {"label":"z", "x":0, "y":2.9},
+ {"label":"x", "x":1, "y":2.2},
+ {"label":"c", "x":2, "y":2},
+ {"label":"v", "x":3, "y":2.1},
+ {"label":"b", "x":4, "y":2.15},
+
+ {"label":"n", "x":5, "y":2.15},
+ {"label":"m", "x":6, "y":2.1},
+ {"label":",", "x":7, "y":2},
+ {"label":".", "x":8, "y":2.2},
+ {"label":"/", "x":9, "y":2.9},
+
+ {"label":"bspc/lwr", "x":3, "y":3.6, "h":2},
+ {"label":"esc/sft", "x":4, "y":3.65, "h":2},
+
+ {"label":"ent/alt", "x":5, "y":3.65, "h":2},
+ {"label":"spc/ris", "x":6, "y":3.6, "h":2}
+ ]
+ },
+ "LAYOUT_split_3x5_3": {
+ "layout": [
+ {"label":"q", "x":0, "y":0.9},
+ {"label":"w", "x":1, "y":0.2},
+ {"label":"e", "x":2, "y":0},
+ {"label":"r", "x":3, "y":0.1},
+ {"label":"t", "x":4, "y":0.15},
+
+ {"label":"y", "x":5, "y":0.15},
+ {"label":"u", "x":6, "y":0.1},
+ {"label":"i", "x":7, "y":0},
+ {"label":"o", "x":8, "y":0.2},
+ {"label":"p", "x":9, "y":0.9},
+
+ {"label":"a", "x":0, "y":1.9},
+ {"label":"s", "x":1, "y":1.2},
+ {"label":"d", "x":2, "y":1},
+ {"label":"f", "x":3, "y":1.1},
+ {"label":"g", "x":4, "y":1.15},
+
+ {"label":"h", "x":5, "y":1.15},
+ {"label":"j", "x":6, "y":1.1},
+ {"label":"k", "x":7, "y":1},
+ {"label":"l", "x":8, "y":1.2},
+ {"label":"'", "x":9, "y":1.9},
+
+ {"label":"z", "x":0, "y":2.9},
+ {"label":"x", "x":1, "y":2.2},
+ {"label":"c", "x":2, "y":2},
+ {"label":"v", "x":3, "y":2.1},
+ {"label":"b", "x":4, "y":2.15},
+
+ {"label":"n", "x":5, "y":2.15},
+ {"label":"m", "x":6, "y":2.1},
+ {"label":",", "x":7, "y":2},
+ {"label":".", "x":8, "y":2.2},
+ {"label":"/", "x":9, "y":2.9},
+
+ {"label":"lower", "x":2, "y":3.6, "h":1.25},
+ {"label":"bspc", "x":3, "y":3.6, "h":2},
+ {"label":"esc/sft", "x":4, "y":3.65, "h":2},
+
+ {"label":"ent/alt", "x":5, "y":3.65, "h":2},
+ {"label":"spc", "x":6, "y":3.6, "h":2},
+ {"label":"raise", "x":7, "y":3.6, "h":1.25}
+ ]
+ },
+ "LAYOUT_complicated": {
+ "layout": [
+ {"label":"q", "x":0, "y":0.9},
+ {"label":"w", "x":1, "y":0.2},
+ {"label":"e", "x":2, "y":0},
+ {"label":"r", "x":3, "y":0.1},
+ {"label":"t", "x":4, "y":0.15},
+
+ {"label":"y", "x":5, "y":0.15},
+ {"label":"u", "x":6, "y":0.1},
+ {"label":"i", "x":7, "y":0},
+ {"label":"o", "x":8, "y":0.2},
+ {"label":"p", "x":9, "y":0.9},
+
+ {"label":"a", "x":0, "y":1.9},
+ {"label":"s", "x":1, "y":1.2},
+ {"label":"d", "x":2, "y":1},
+ {"label":"f", "x":3, "y":1.1},
+ {"label":"g", "x":4, "y":1.15},
+
+ {"label":"h", "x":5, "y":1.15},
+ {"label":"j", "x":6, "y":1.1},
+ {"label":"k", "x":7, "y":1},
+ {"label":"l", "x":8, "y":1.2},
+ {"label":"'", "x":9, "y":1.9},
+
+ {"label":"z", "x":0, "y":2.9},
+ {"label":"x", "x":1, "y":2.2},
+ {"label":"c", "x":2, "y":2},
+ {"label":"v", "x":3, "y":2.1},
+ {"label":"b", "x":4, "y":2.15},
+
+ {"label":"n", "x":5, "y":2.15},
+ {"label":"m", "x":6, "y":2.1},
+ {"label":",", "x":7, "y":2},
+ {"label":".", "x":8, "y":2.2},
+ {"label":"/", "x":9, "y":2.9},
+
+ {"label":"bspc", "x":3, "y":3.6, "h":1},
+ {"label":"esc/sft", "x":4, "y":3.65, "h":1},
+ {"label":"ent/alt", "x":5, "y":3.65, "h":1},
+ {"label":"spc", "x":6, "y":3.6, "h":1},
+
+ {"label":"lower", "x":3, "y":4.6, "h":1},
+ {"label":"gui", "x":4, "y":4.65, "h":1},
+ {"label":"tab", "x":5, "y":4.65, "h":1},
+ {"label":"raise", "x":6, "y":4.6, "h":1}
+ ]
+ }
+ }
+}
diff --git a/keyboards/ibnuda/squiggle/rev1/rev1.c b/keyboards/ibnuda/squiggle/rev1/rev1.c
new file mode 100644
index 0000000000..520a869e57
--- /dev/null
+++ b/keyboards/ibnuda/squiggle/rev1/rev1.c
@@ -0,0 +1 @@
+#include "rev1.h"
diff --git a/keyboards/ibnuda/squiggle/rev1/rev1.h b/keyboards/ibnuda/squiggle/rev1/rev1.h
new file mode 100644
index 0000000000..73cb7abd2f
--- /dev/null
+++ b/keyboards/ibnuda/squiggle/rev1/rev1.h
@@ -0,0 +1,119 @@
+#pragma once
+
+#include "squiggle.h"
+
+#include "quantum.h"
+
+#define ___ KC_NO
+
+/* This is a shortcut to help you visually see your layout.
+ *
+ * The first section contains all of the arguments representing the physical
+ * layout of the board and position of the keys.
+ *
+ * The second converts the arguments into a two-dimensional array which
+ * represents the switch matrix.
+ */
+#define LAYOUT( \
+ L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
+ L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
+ L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, \
+ L33, L34, R30, R31 \
+) \
+{ \
+ { L00, L01, L02, L03, L04 }, \
+ { L10, L11, L12, L13, L14 }, \
+ { L20, L21, L22, L23, L24 }, \
+ { ___, ___, ___, L33, L34 }, \
+ { R04, R03, R02, R01, R00 }, \
+ { R14, R13, R12, R11, R10 }, \
+ { R24, R23, R22, R21, R20 }, \
+ { ___, ___, ___, R31, R30 }, \
+}
+
+#define LAYOUT_reversed( \
+ R04, R03, R02, R01, R00, L04, L03, L02, L01, L00, \
+ R14, R13, R12, R11, R10, L14, L13, L12, L11, L10, \
+ R24, R23, R22, R21, R20, L24, L23, L22, L21, L20, \
+ R31, R30, L34, L33 \
+) \
+{ \
+ { L00, L01, L02, L03, L04 }, \
+ { L10, L11, L12, L13, L14 }, \
+ { L20, L21, L22, L23, L24 }, \
+ { ___, ___, ___, L33, L34 }, \
+ { R04, R03, R02, R01, R00 }, \
+ { R14, R13, R12, R11, R10 }, \
+ { R24, R23, R22, R21, R20 }, \
+ { ___, ___, ___, R31, R30 }, \
+}
+
+#define LAYOUT_split_3x5_3(\
+ L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
+ L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
+ L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, \
+ L32, L33, L34, R30, R31, R32 \
+) \
+{ \
+ { L00, L01, L02, L03, L04 }, \
+ { L10, L11, L12, L13, L14 }, \
+ { L20, L21, L22, L23, L24 }, \
+ { ___, ___, L32, L33, L34 }, \
+ { R04, R03, R02, R01, R00 }, \
+ { R14, R13, R12, R11, R10 }, \
+ { R24, R23, R22, R21, R20 }, \
+ { ___, ___, R32, R31, R30 }, \
+}
+
+#define LAYOUT_complicated(\
+ L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
+ L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
+ L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, \
+ L33, L34, R30, R31, \
+ L31, L32, R32, R33 \
+) \
+{ \
+ { L00, L01, L02, L03, L04 }, \
+ { L10, L11, L12, L13, L14 }, \
+ { L20, L21, L22, L23, L24 }, \
+ { ___, L31, L32, L33, L34 }, \
+ { R04, R03, R02, R01, R00 }, \
+ { R14, R13, R12, R11, R10 }, \
+ { R24, R23, R22, R21, R20 }, \
+ { ___, R33, R32, R31, R30 }, \
+}
+
+#define LAYOUT_thumbrow(\
+ L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
+ L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
+ L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, \
+ L31, L32, L33, L34, R30, R31, R32, R33 \
+) \
+{ \
+ { L00, L01, L02, L03, L04 }, \
+ { L10, L11, L12, L13, L14 }, \
+ { L20, L21, L22, L23, L24 }, \
+ { ___, L31, L32, L33, L34 }, \
+ { R04, R03, R02, R01, R00 }, \
+ { R14, R13, R12, R11, R10 }, \
+ { R24, R23, R22, R21, R20 }, \
+ { ___, R33, R32, R31, R30 }, \
+}
+
+#define LAYOUT_full(\
+ L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
+ L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
+ L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, \
+ L30, L31, L32, L33, L34, R30, R31, R32, R33, R34 \
+) \
+{ \
+ { L00, L01, L02, L03, L04 }, \
+ { L10, L11, L12, L13, L14 }, \
+ { L20, L21, L22, L23, L24 }, \
+ { L30, L31, L32, L33, L34 }, \
+ { R04, R03, R02, R01, R00 }, \
+ { R14, R13, R12, R11, R10 }, \
+ { R24, R23, R22, R21, R20 }, \
+ { R34, R33, R32, R31, R30 }, \
+}
+
diff --git a/keyboards/ibnuda/squiggle/rev1/rules.mk b/keyboards/ibnuda/squiggle/rev1/rules.mk
new file mode 100644
index 0000000000..c5eccd2db9
--- /dev/null
+++ b/keyboards/ibnuda/squiggle/rev1/rules.mk
@@ -0,0 +1,22 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = caterina
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
+MOUSEKEY_ENABLE = no # Mouse keys
+EXTRAKEY_ENABLE = no # Audio control and System control
+CONSOLE_ENABLE = yes # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+NKRO_ENABLE = no # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output
+
+SPLIT_KEYBOARD = yes
+
+LAYOUTS = split_3x5_3