summaryrefslogtreecommitdiff
path: root/keyboards/frobiac/hypernano
diff options
context:
space:
mode:
authorfrobiac <frobiac@gmail.com>2023-03-10 08:05:20 +0100
committerGitHub <noreply@github.com>2023-03-09 23:05:20 -0800
commit313fc4cb8f4e41c921112d0b105b82ad5d8a653e (patch)
tree9d13787460b6fc9391517f4ccd35be8e873fc28a /keyboards/frobiac/hypernano
parent62a8f412093c582a51a27e0fa1d7ad8596433cb9 (diff)
[Keyboard] frobiac custom boards and layout (#19883)
Diffstat (limited to 'keyboards/frobiac/hypernano')
-rw-r--r--keyboards/frobiac/hypernano/config.h17
-rw-r--r--keyboards/frobiac/hypernano/info.json84
-rw-r--r--keyboards/frobiac/hypernano/keymaps/default/keymap.c85
-rw-r--r--keyboards/frobiac/hypernano/readme.md30
-rw-r--r--keyboards/frobiac/hypernano/rules.mk1
5 files changed, 217 insertions, 0 deletions
diff --git a/keyboards/frobiac/hypernano/config.h b/keyboards/frobiac/hypernano/config.h
new file mode 100644
index 0000000000..843ad6f55b
--- /dev/null
+++ b/keyboards/frobiac/hypernano/config.h
@@ -0,0 +1,17 @@
+// Copyright 2023 @frobiac
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#ifdef PS2_MOUSE_ENABLE
+# define PS2_RESET_PIN B0
+# define PS2_DATA_PIN B1
+# define PS2_CLOCK_PIN B2
+
+# define PS2_MOUSE_INVERT_X
+# define PS2_MOUSE_INVERT_Y
+
+# define PS2_MOUSE_USE_REMOTE_MODE
+# define PS2_MOUSE_INIT_DELAY 1000
+#endif
+
diff --git a/keyboards/frobiac/hypernano/info.json b/keyboards/frobiac/hypernano/info.json
new file mode 100644
index 0000000000..30113e182e
--- /dev/null
+++ b/keyboards/frobiac/hypernano/info.json
@@ -0,0 +1,84 @@
+{
+ "manufacturer": "frobiac",
+ "keyboard_name": "hypernano",
+ "url": "https://www.github.com/frobiac/adnw",
+ "maintainer": "frobiac",
+ "bootloader": "halfkay",
+ "processor": "atmega32u4",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "audio": false,
+ "backlight": false,
+ "bootmagic": false,
+ "command": false,
+ "console": false,
+ "dynamic_macro": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": false,
+ "unicode": false,
+ "rgblight": false
+ },
+ "build": {
+ "lto": true
+ },
+ "matrix_pins": {
+ "cols": ["F6", "F5", "F4", "F1", "F0", "F7"],
+ "rows": ["D7", "D6", "D5", "D4", "D3", "D2", "D1", "D0"]
+ },
+ "usb": {
+ "device_version": "1.0.0",
+ "pid": "0x1D50",
+ "vid": "0x6033"
+ },
+ "layouts": {
+ "LAYOUT": {
+ "layout": [
+ { "matrix": [0, 0], "label":"K", "x":0, "y":0, "w":1.5},
+ { "matrix": [0, 1], "label":"U", "x":1.5, "y":0},
+ { "matrix": [0, 2], "label":"Q", "x":2.5, "y":0},
+ { "matrix": [0, 3], "label":".", "x":3.5, "y":0},
+ { "matrix": [0, 4], "label":"J", "x":4.5, "y":0},
+ { "matrix": [1, 1], "label":"P", "x":7.5, "y":0},
+ { "matrix": [1, 2], "label":"C", "x":8.5, "y":0},
+ { "matrix": [1, 3], "label":"L", "x":9.5, "y":0},
+ { "matrix": [1, 4], "label":"M", "x":10.5, "y":0},
+ { "matrix": [1, 5], "label":"F", "x":11.5, "y":0, "w":1.5},
+ { "matrix": [2, 0], "label":"H", "x":0, "y":1, "w":1.25},
+ { "matrix": [2, 1], "label":"I", "x":1.25, "y":1},
+ { "matrix": [2, 2], "label":"E", "x":2.25, "y":1},
+ { "matrix": [2, 3], "label":"A", "x":3.25, "y":1},
+ { "matrix": [2, 4], "label":"O", "x":4.25, "y":1},
+ { "matrix": [3, 1], "label":"D", "x":7.75, "y":1},
+ { "matrix": [3, 2], "label":"T", "x":8.75, "y":1},
+ { "matrix": [3, 3], "label":"R", "x":9.75, "y":1},
+ { "matrix": [3, 4], "label":"N", "x":10.75, "y":1},
+ { "matrix": [3, 5], "label":"S", "x":11.75, "y":1, "w":1.25},
+ { "matrix": [4, 0], "label":"X", "x":0, "y":2},
+ { "matrix": [4, 1], "label":"Y", "x":1, "y":2},
+ { "matrix": [4, 2], "label":"-", "x":2, "y":2},
+ { "matrix": [4, 3], "label":",", "x":3, "y":2},
+ { "matrix": [4, 4], "label":"/", "x":4, "y":2},
+ { "matrix": [4, 5], "label":"", "x":5, "y":2},
+ { "matrix": [5, 0], "label":"", "x":7, "y":2},
+ { "matrix": [5, 1], "label":"B", "x":8, "y":2},
+ { "matrix": [5, 2], "label":"G", "x":9, "y":2},
+ { "matrix": [5, 3], "label":"W", "x":10, "y":2},
+ { "matrix": [5, 4], "label":"V", "x":11, "y":2},
+ { "matrix": [5, 5], "label":"Z", "x":12, "y":2},
+ { "matrix": [6, 0], "label":"", "x":0, "y":3, "w":1.25},
+ { "matrix": [6, 1], "label":"", "x":1.25, "y":3},
+ { "matrix": [6, 2], "label":"Gui", "x":2.25, "y":3},
+ { "matrix": [6, 3], "label":"Tab", "x":3.25, "y":3},
+ { "matrix": [6, 4], "label":"Spc", "x":4.25, "y":3},
+ { "matrix": [6, 5], "label":"", "x":5.25, "y":3},
+ { "matrix": [7, 0], "label":"", "x":6.75, "y":3},
+ { "matrix": [7, 1], "label":"L2", "x":7.75, "y":3},
+ { "matrix": [7, 2], "label":"Sh", "x":8.75, "y":3},
+ { "matrix": [7, 3], "label":"L3", "x":9.75, "y":3},
+ { "matrix": [7, 4], "label":"", "x":10.75, "y":3},
+ { "matrix": [7, 5], "label":"", "x":11.75, "y":3, "w":1.25}
+ ]
+ }
+ }
+}
diff --git a/keyboards/frobiac/hypernano/keymaps/default/keymap.c b/keyboards/frobiac/hypernano/keymaps/default/keymap.c
new file mode 100644
index 0000000000..5e5277805f
--- /dev/null
+++ b/keyboards/frobiac/hypernano/keymaps/default/keymap.c
@@ -0,0 +1,85 @@
+// Copyright 2023 @frobiac
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+#include "keymap_german.h"
+
+enum layer_number {
+ _ADNW = 0,
+ _QWERTZ,
+ _NAVNUM,
+ _SYMBOL,
+ _FUNC,
+ _MOUSE,
+};
+
+#define CTL_TAB LCTL_T(KC_TAB)
+#define ALT_SPC LALT_T(KC_SPC)
+#define NAV_ESC LT(_NAVNUM, KC_ESC)
+#define SFT_BSP LSFT_T(KC_BSPC)
+#define SYM_ENT LT(_SYMBOL, KC_ENT)
+#define MOUSE_X LT(_MOUSE, KC_X)
+#define MOUSE_Y LT(_MOUSE, KC_Y)
+
+/*
+ * ┌─────┬───┬───┬───┬───┐───────┌───┬───┬───┬───┬─────┐
+ * │ K │ U │ Q │ . │ J │ │ P │ C │ L │ M │ F │
+ * ├────┬┴──┬┴──┬┴──┬┴──┬┘ _ └┬──┴┬──┴┬──┴┬──┴┬────┤
+ * │ H │ I │ E │ A │ O │ (_) │ D │ T │ R │ N │ S │
+ * ├───┬┴──┬┴──┬┴──┬┴──┬┴──┐ ┌──┴┬──┴┬──┴┬──┴┬──┴┬───┤
+ * │ X │ Y │ - │ , │ / │ │ │ │ B │ G │ W │ V │ Z │
+ * ├───┴┬──┴┬──┴┬──┴┬──┴┬──┴┐ ┌┴──┬┴──┬┴──┬┴──┬┴──┬┴───┤
+ * │ │ │ │Tab│Spc│ │o│ │Esc│Bsp│Ret│ │ │
+ * └────┴───┴───┴───┴───┴───┘─└───┴───┴───┴───┴───┴────┘
+ *
+ */
+
+// clang-format off
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_ADNW] = LAYOUT(
+ KC_K, KC_U, KC_Q, KC_DOT, KC_J, KC_P, KC_C, KC_L, KC_M, KC_F,
+ KC_H, KC_I, KC_E, KC_A, KC_O, KC_D, KC_T, KC_R, KC_N, KC_S,
+ MOUSE_X, DE_Y, DE_MINS, KC_COMM, DE_SLSH, XXXXXXX, XXXXXXX, KC_B, KC_G, KC_W, KC_V, RSFT_T(DE_Z),
+ XXXXXXX, XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, XXXXXXX, XXXXXXX, NAV_ESC, SFT_BSP, SYM_ENT, XXXXXXX, MO(_FUNC)
+ ),
+
+ [_QWERTZ] = LAYOUT(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, DE_Z, KC_U, KC_I, KC_O, KC_P,
+ KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,
+ MOUSE_Y, KC_X, KC_C, KC_V, KC_B, XXXXXXX, XXXXXXX, KC_N, KC_M, KC_COMM, KC_DOT, RSFT_T(KC_SLSH),
+ XXXXXXX, XXXXXXX, KC_LGUI, CTL_TAB, ALT_SPC, XXXXXXX, XXXXXXX, NAV_ESC, SFT_BSP, SYM_ENT, XXXXXXX, MO(_FUNC)
+ ),
+
+ [_SYMBOL] = LAYOUT(
+ DE_AT, DE_DEG, DE_LBRC, DE_RBRC, DE_HASH, DE_EXLM, DE_LABK, DE_RABK, DE_EQL, DE_AMPR,
+ DE_BSLS, DE_EURO, DE_LCBR, DE_RCBR, DE_ASTR, DE_QUES, DE_LPRN, DE_RPRN, DE_PLUS, KC_ENT,
+ XXXXXXX, DE_DLR, DE_PIPE, DE_TILD, DE_GRV, XXXXXXX, XXXXXXX, DE_CIRC, DE_PERC, DE_DQUO, DE_QUOT, XXXXXXX,
+ _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______
+ ),
+
+ [_NAVNUM] = LAYOUT(
+ KC_PGUP, KC_BSPC, KC_UP, KC_DEL, KC_PGDN, DE_SS, KC_7, KC_8, KC_9, DE_ADIA,
+ KC_HOME, KC_LEFT, KC_DOWN, KC_RGHT, KC_END, KC_DOT, KC_4, KC_5, KC_6, DE_ODIA,
+ XXXXXXX, XXXXXXX, KC_INS, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_0, KC_1, KC_2, KC_3, DE_UDIA,
+ _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______
+ ),
+
+ [_FUNC] = LAYOUT(
+ XXXXXXX, XXXXXXX, XXXXXXX, DF(_QWERTZ),DF(_ADNW), XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10,
+ DM_REC1, DM_RSTP, DM_PLY1, XXXXXXX, QK_RBT, XXXXXXX, KC_F4, KC_F5, KC_F6, KC_F11,
+ XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, QK_BOOT, XXXXXXX, XXXXXXX, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F12,
+ _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______
+ ),
+
+ [_MOUSE] = LAYOUT(
+ KC_WH_L, XXXXXXX, KC_MS_U, XXXXXXX, XXXXXXX, KC_ACL0, XXXXXXX, KC_BTN3, XXXXXXX, KC_BTN5,
+ KC_WH_R, KC_MS_L, KC_MS_D, KC_MS_R, KC_WH_U, KC_ACL1, XXXXXXX, KC_BTN1, KC_BTN2, KC_BTN4,
+ MOUSE_X, KC_BTN1, KC_BTN3, KC_BTN2, KC_WH_D, XXXXXXX, XXXXXXX, KC_ACL2, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
+ _______, _______, _______, _______, _______, XXXXXXX, XXXXXXX, _______, _______, _______, _______, _______
+ ),
+
+};
+
+// clang-format on
diff --git a/keyboards/frobiac/hypernano/readme.md b/keyboards/frobiac/hypernano/readme.md
new file mode 100644
index 0000000000..849ea81987
--- /dev/null
+++ b/keyboards/frobiac/hypernano/readme.md
@@ -0,0 +1,30 @@
+# frobiac/hypernano
+
+![frobiac/hypernano](https://i.imgur.com/ZVGtpBbh.jpeg)
+
+Custom 3D-printed and handwired 44-key keyboard with trackpoint developed in 2013.
+
+* Keyboard Maintainer: [frobiac](https://github.com/frobiac)
+* Hardware Supported: Teensy-2.0, IBM Trackpoint
+* Development History: [deskthority.net](https://deskthority.net/viewtopic.php?p=98734#p98734)
+* Layout [Alpha KLE](http://www.keyboard-layout-editor.com/#/gists/e4f60451766bbe7002c0b9a9ddfb3e34)
+* [Original Firmware](https://github.com/frobiac/adnw)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make frobiac/hypernano
+
+Flashing example for this keyboard:
+
+ make frobiac/hypernano:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Physical reset button**: Briefly press the button in the middle of the bottom row
+* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
+
+
diff --git a/keyboards/frobiac/hypernano/rules.mk b/keyboards/frobiac/hypernano/rules.mk
new file mode 100644
index 0000000000..6e7633bfe0
--- /dev/null
+++ b/keyboards/frobiac/hypernano/rules.mk
@@ -0,0 +1 @@
+# This file intentionally left blank