summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Sedlacek <petr@sedlacek.biz>2023-12-26 14:19:48 +0100
committerPetr Sedlacek <petr@sedlacek.biz>2025-01-13 09:51:02 +0100
commite1659d24a3bd0b50571963075f17af602f0bd8b5 (patch)
treeba375d5c83da02d52f1cd13a4c6ad4fa78ba34a0
parentaed3df318f66dc82d912759aa2751bbc661082a3 (diff)
[Keyboard] Add I-S-hOle
-rw-r--r--keyboards/i_s_hole/README.md3
-rw-r--r--keyboards/i_s_hole/config.h15
-rw-r--r--keyboards/i_s_hole/i_s_hole.c16
-rw-r--r--keyboards/i_s_hole/i_s_hole.h19
-rw-r--r--keyboards/i_s_hole/info.json37
-rw-r--r--keyboards/i_s_hole/keymaps/vial/config.h9
-rw-r--r--keyboards/i_s_hole/keymaps/vial/keymap.c23
-rw-r--r--keyboards/i_s_hole/keymaps/vial/rules.mk3
-rw-r--r--keyboards/i_s_hole/keymaps/vial/vial.json25
-rw-r--r--keyboards/i_s_hole/rules.mk0
10 files changed, 150 insertions, 0 deletions
diff --git a/keyboards/i_s_hole/README.md b/keyboards/i_s_hole/README.md
new file mode 100644
index 0000000000..11f1f2e99c
--- /dev/null
+++ b/keyboards/i_s_hole/README.md
@@ -0,0 +1,3 @@
+# I-S-hOle
+
+Vial firmware for the [I-S-hOle](https://www.40percent.club/2018/11/i-s-hole.html) 4 ISO Enter key macropad
diff --git a/keyboards/i_s_hole/config.h b/keyboards/i_s_hole/config.h
new file mode 100644
index 0000000000..b6c7f4ae3f
--- /dev/null
+++ b/keyboards/i_s_hole/config.h
@@ -0,0 +1,15 @@
+/* Copyright 2023 piit79
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
diff --git a/keyboards/i_s_hole/i_s_hole.c b/keyboards/i_s_hole/i_s_hole.c
new file mode 100644
index 0000000000..edb8859a6d
--- /dev/null
+++ b/keyboards/i_s_hole/i_s_hole.c
@@ -0,0 +1,16 @@
+/* Copyright 2023 piit79
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "i_s_hole.h"
diff --git a/keyboards/i_s_hole/i_s_hole.h b/keyboards/i_s_hole/i_s_hole.h
new file mode 100644
index 0000000000..516a03992e
--- /dev/null
+++ b/keyboards/i_s_hole/i_s_hole.h
@@ -0,0 +1,19 @@
+/* Copyright 2023 piit79
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#include "quantum.h"
diff --git a/keyboards/i_s_hole/info.json b/keyboards/i_s_hole/info.json
new file mode 100644
index 0000000000..b026c0f234
--- /dev/null
+++ b/keyboards/i_s_hole/info.json
@@ -0,0 +1,37 @@
+{
+ "keyboard_name": "I-S-hOle",
+ "manufacturer": "di0ib",
+ "url": "https://github.com/di0ib/Misc/tree/master/i-s-hole",
+ "maintainer": "di0ib",
+ "features": {
+ "bootmagic": false,
+ "command": false,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false
+ },
+ "processor": "atmega32u4",
+ "bootloader": "caterina",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0123",
+ "device_version": "1.0.0"
+ },
+ "matrix_pins": {
+ "direct": [
+ ["D4", "C6"],
+ ["E6", "D7"]
+ ]
+ },
+ "layouts": {
+ "LAYOUT_2x2": {
+ "layout": [
+ {"x": 0, "y": 0, "w": 1, "h": 1, "matrix": [0, 0]},
+ {"x": 1, "y": 0, "w": 1, "h": 1, "matrix": [0, 1]},
+ {"x": 0, "y": 1, "w": 1, "h": 1, "matrix": [1, 0]},
+ {"x": 1, "y": 1, "w": 1, "h": 1, "matrix": [1, 1]}
+ ]
+ }
+ }
+}
diff --git a/keyboards/i_s_hole/keymaps/vial/config.h b/keyboards/i_s_hole/keymaps/vial/config.h
new file mode 100644
index 0000000000..39523a6bba
--- /dev/null
+++ b/keyboards/i_s_hole/keymaps/vial/config.h
@@ -0,0 +1,9 @@
+
+/* keyboard uid */
+#define VIAL_KEYBOARD_UID {0x13, 0xFF, 0xC8, 0x47, 0xEC, 0xEE, 0x4A, 0xBE}
+
+#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
+#define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
+
+/* default layer count */
+#define DYNAMIC_KEYMAP_LAYER_COUNT 4
diff --git a/keyboards/i_s_hole/keymaps/vial/keymap.c b/keyboards/i_s_hole/keymaps/vial/keymap.c
new file mode 100644
index 0000000000..dc8964ae79
--- /dev/null
+++ b/keyboards/i_s_hole/keymaps/vial/keymap.c
@@ -0,0 +1,23 @@
+/* Copyright 2023 piit79
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_2x2(
+ KC_ENT, KC_ENT,
+ KC_ENT, KC_ENT
+ )
+};
diff --git a/keyboards/i_s_hole/keymaps/vial/rules.mk b/keyboards/i_s_hole/keymaps/vial/rules.mk
new file mode 100644
index 0000000000..2f3328cc70
--- /dev/null
+++ b/keyboards/i_s_hole/keymaps/vial/rules.mk
@@ -0,0 +1,3 @@
+VIA_ENABLE = yes
+VIAL_ENABLE = yes
+# LTO_ENABLE = yes
diff --git a/keyboards/i_s_hole/keymaps/vial/vial.json b/keyboards/i_s_hole/keymaps/vial/vial.json
new file mode 100644
index 0000000000..15f556e191
--- /dev/null
+++ b/keyboards/i_s_hole/keymaps/vial/vial.json
@@ -0,0 +1,25 @@
+{
+ "name": "I-S-hOle",
+ "lighting": "none",
+ "vendorId": "0x1209",
+ "productId": "0x4204",
+ "matrix": {
+ "rows": 2,
+ "cols": 2
+ },
+ "layouts": {
+ "keymap": [
+ [{"a": 7, "w": 2, "h": 1.25, "w2": 1, "h2": 1.5}, "", {"x": 0.25, "w": 1.25, "h": 2, "w2": 1.5, "h2": 1, "x2": -0.25}, ""],
+ [{"y": 0.5, "w": 1.25, "h": 2, "w2": 1.5, "h2": 1, "y2": 1}, ""],
+ [{"y": -0.25, "x": 1.5, "w": 2, "h": 1.25, "w2": 1, "h2": 1.5, "x2": 1, "y2": -0.25}, ""]
+ ],
+ "LAYOUT_2x2": {
+ "layout": [
+ { "matrix": [0, 0], "x": 0, "y": 0 },
+ { "matrix": [0, 1], "x": 1, "y": 0 },
+ { "matrix": [1, 0], "x": 0, "y": 1 },
+ { "matrix": [1, 1], "x": 1, "y": 1 }
+ ]
+ }
+ }
+}
diff --git a/keyboards/i_s_hole/rules.mk b/keyboards/i_s_hole/rules.mk
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/keyboards/i_s_hole/rules.mk