summaryrefslogtreecommitdiffstats
path: root/keyboards/gboards
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2022-02-12 11:54:48 +0800
committerGitHub <noreply@github.com>2022-02-11 19:54:48 -0800
commit17c0ca6fa4f7b6f65b4442c2f5bc32fee914b376 (patch)
treeaecec74184b82d75dd19e4566cf04a3423c6e3c6 /keyboards/gboards
parent52d6f07a829baf38e16b61f1804bf5dd555ab45d (diff)
[Keyboard] move g heavy industry boards into /gboards (#16040)
Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/gboards')
-rw-r--r--keyboards/gboards/butterstick/butterstick.c26
-rw-r--r--keyboards/gboards/butterstick/butterstick.h11
-rw-r--r--keyboards/gboards/butterstick/config.h24
-rw-r--r--keyboards/gboards/butterstick/info.json32
-rw-r--r--keyboards/gboards/butterstick/keymaps/default/keymap.c183
-rw-r--r--keyboards/gboards/butterstick/keymaps/dennytom/README.md11
-rw-r--r--keyboards/gboards/butterstick/keymaps/dennytom/keymap.c1418
-rw-r--r--keyboards/gboards/butterstick/keymaps/dennytom/keymap_def.json309
-rw-r--r--keyboards/gboards/butterstick/keymaps/dennytom/rules.mk8
-rw-r--r--keyboards/gboards/butterstick/readme.md14
-rw-r--r--keyboards/gboards/butterstick/rules.mk19
-rw-r--r--keyboards/gboards/butterstick/sten.c418
-rw-r--r--keyboards/gboards/butterstick/sten.h84
-rw-r--r--keyboards/gboards/ergotaco/config.h60
-rw-r--r--keyboards/gboards/ergotaco/ergotaco.c72
-rw-r--r--keyboards/gboards/ergotaco/ergotaco.h48
-rw-r--r--keyboards/gboards/ergotaco/info.json59
-rw-r--r--keyboards/gboards/ergotaco/keymaps/default/keymap.c34
-rw-r--r--keyboards/gboards/ergotaco/keymaps/default/readme.md6
-rw-r--r--keyboards/gboards/ergotaco/keymaps/default/rules.mk4
-rw-r--r--keyboards/gboards/ergotaco/matrix.c326
-rw-r--r--keyboards/gboards/ergotaco/post_rules.mk8
-rw-r--r--keyboards/gboards/ergotaco/readme.md24
-rw-r--r--keyboards/gboards/ergotaco/rules.mk16
-rw-r--r--keyboards/gboards/georgi/config.h72
-rw-r--r--keyboards/gboards/georgi/georgi.c68
-rw-r--r--keyboards/gboards/georgi/georgi.h80
-rw-r--r--keyboards/gboards/georgi/info.json131
-rw-r--r--keyboards/gboards/georgi/keymaps/colemak-dh/keymap.c306
-rw-r--r--keyboards/gboards/georgi/keymaps/colemak-dh/readme.md11
-rw-r--r--keyboards/gboards/georgi/keymaps/colemak-dh/rules.mk45
-rw-r--r--keyboards/gboards/georgi/keymaps/default-flipped/keymap.c237
-rw-r--r--keyboards/gboards/georgi/keymaps/default-flipped/readme.md11
-rw-r--r--keyboards/gboards/georgi/keymaps/default-flipped/rules.mk41
-rw-r--r--keyboards/gboards/georgi/keymaps/default/keymap.c247
-rw-r--r--keyboards/gboards/georgi/keymaps/default/readme.md11
-rw-r--r--keyboards/gboards/georgi/keymaps/default/rules.mk42
-rw-r--r--keyboards/gboards/georgi/keymaps/dennytom/README.md11
-rw-r--r--keyboards/gboards/georgi/keymaps/dennytom/keymap.c1208
-rw-r--r--keyboards/gboards/georgi/keymaps/dennytom/keymap_def.json153
-rw-r--r--keyboards/gboards/georgi/keymaps/dennytom/rules.mk8
-rw-r--r--keyboards/gboards/georgi/keymaps/minimal/keymap.c222
-rw-r--r--keyboards/gboards/georgi/keymaps/minimal/readme.md11
-rw-r--r--keyboards/gboards/georgi/keymaps/minimal/rules.mk41
-rw-r--r--keyboards/gboards/georgi/keymaps/norman/keymap.c266
-rw-r--r--keyboards/gboards/georgi/keymaps/norman/readme.md11
-rw-r--r--keyboards/gboards/georgi/keymaps/norman/rules.mk35
-rw-r--r--keyboards/gboards/georgi/matrix.c361
-rw-r--r--keyboards/gboards/georgi/readme.md32
-rw-r--r--keyboards/gboards/georgi/rules.mk19
-rw-r--r--keyboards/gboards/georgi/sten.c418
-rw-r--r--keyboards/gboards/georgi/sten.h84
-rw-r--r--keyboards/gboards/gergo/config.h75
-rw-r--r--keyboards/gboards/gergo/gergo.c84
-rw-r--r--keyboards/gboards/gergo/gergo.h52
-rw-r--r--keyboards/gboards/gergo/info.json275
-rw-r--r--keyboards/gboards/gergo/keymaps/abstractkb/config.h6
-rw-r--r--keyboards/gboards/gergo/keymaps/abstractkb/keymap.c128
-rw-r--r--keyboards/gboards/gergo/keymaps/abstractkb/readme.md10
-rw-r--r--keyboards/gboards/gergo/keymaps/abstractkb/rules.mk38
-rw-r--r--keyboards/gboards/gergo/keymaps/colemak/keymap.c174
-rw-r--r--keyboards/gboards/gergo/keymaps/colemak/readme.md16
-rw-r--r--keyboards/gboards/gergo/keymaps/colemak/rules.mk36
-rw-r--r--keyboards/gboards/gergo/keymaps/default/config.h3
-rw-r--r--keyboards/gboards/gergo/keymaps/default/keymap.c128
-rw-r--r--keyboards/gboards/gergo/keymaps/default/readme.md10
-rw-r--r--keyboards/gboards/gergo/keymaps/default/rules.mk38
-rw-r--r--keyboards/gboards/gergo/keymaps/drashna/keymap.c99
-rw-r--r--keyboards/gboards/gergo/keymaps/drashna/rules.mk2
-rw-r--r--keyboards/gboards/gergo/keymaps/germ/config.h3
-rw-r--r--keyboards/gboards/gergo/keymaps/germ/keymap.c128
-rw-r--r--keyboards/gboards/gergo/keymaps/germ/readme.md10
-rw-r--r--keyboards/gboards/gergo/keymaps/germ/rules.mk38
-rw-r--r--keyboards/gboards/gergo/keymaps/gotham/config.h3
-rw-r--r--keyboards/gboards/gergo/keymaps/gotham/keymap.c155
-rw-r--r--keyboards/gboards/gergo/keymaps/gotham/readme.md8
-rw-r--r--keyboards/gboards/gergo/keymaps/gotham/rules.mk38
-rw-r--r--keyboards/gboards/gergo/keymaps/manna-harbour_miryoku/config.h22
-rw-r--r--keyboards/gboards/gergo/keymaps/manna-harbour_miryoku/keymap.c5
-rw-r--r--keyboards/gboards/gergo/keymaps/oled/config.h4
-rw-r--r--keyboards/gboards/gergo/keymaps/oled/glcdfont.c231
-rw-r--r--keyboards/gboards/gergo/keymaps/oled/keymap.c146
-rw-r--r--keyboards/gboards/gergo/keymaps/oled/readme.md10
-rw-r--r--keyboards/gboards/gergo/keymaps/oled/rules.mk40
-rw-r--r--keyboards/gboards/gergo/matrix.c440
-rw-r--r--keyboards/gboards/gergo/readme.md26
-rw-r--r--keyboards/gboards/gergo/rules.mk18
-rw-r--r--keyboards/gboards/readme.md6
88 files changed, 9898 insertions, 3 deletions
diff --git a/keyboards/gboards/butterstick/butterstick.c b/keyboards/gboards/butterstick/butterstick.c
new file mode 100644
index 0000000000..3bcbcbe8b4
--- /dev/null
+++ b/keyboards/gboards/butterstick/butterstick.c
@@ -0,0 +1,26 @@
+/* Copyright 2019 Jane Bernhardt
+ *
+ * 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 "butterstick.h"
+
+void matrix_scan_kb(void) {
+#ifdef DEBUG_MATRIX
+ for (uint8_t c = 0; c < MATRIX_COLS; c++)
+ for (uint8_t r = 0; r < MATRIX_ROWS; r++)
+ if (matrix_is_on(r, c)) xprintf("r:%d c:%d \n", r, c);
+#endif
+
+ matrix_scan_user();
+}
diff --git a/keyboards/gboards/butterstick/butterstick.h b/keyboards/gboards/butterstick/butterstick.h
new file mode 100644
index 0000000000..f97488c3f5
--- /dev/null
+++ b/keyboards/gboards/butterstick/butterstick.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_butter( \
+ k09, k08, k07, k06, k05, k04, k03, k02, k01, k00, \
+ k19, k18, k17, k16, k15, k14, k13, k12, k11, k10 \
+) { \
+ { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09}, \
+ { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19}, \
+}
diff --git a/keyboards/gboards/butterstick/config.h b/keyboards/gboards/butterstick/config.h
new file mode 100644
index 0000000000..69632cd4f7
--- /dev/null
+++ b/keyboards/gboards/butterstick/config.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x1337
+#define DEVICE_VER 0x0001
+#define MANUFACTURER g Heavy Industries
+#define PRODUCT Butter Stick
+#define VERSION "Paula Deen"
+
+#define DEBOUNCE 5
+#define FORCE_NKRO
+
+/* key matrix size */
+#define MATRIX_ROWS 2
+#define MATRIX_COLS 10
+#define MATRIX_ROW_PINS { F4, F5 }
+#define MATRIX_COL_PINS { B0, B1, B2, B3, B4, B5, B6, B7, C6, C7}
+#define UNUSED_PINS
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION ROW2COL
diff --git a/keyboards/gboards/butterstick/info.json b/keyboards/gboards/butterstick/info.json
new file mode 100644
index 0000000000..6bfd58e594
--- /dev/null
+++ b/keyboards/gboards/butterstick/info.json
@@ -0,0 +1,32 @@
+{
+ "keyboard_name": "Butter Stick",
+ "url": "",
+ "maintainer": "germ",
+ "layouts": {
+ "LAYOUT_butter": {
+ "layout": [
+ {"x":0, "y":0},
+ {"x":1, "y":0},
+ {"x":2, "y":0},
+ {"x":3, "y":0},
+ {"x":4, "y":0},
+ {"x":5, "y":0},
+ {"x":6, "y":0},
+ {"x":7, "y":0},
+ {"x":8, "y":0},
+ {"x":9, "y":0},
+
+ {"x":0, "y":1},
+ {"x":1, "y":1},
+ {"x":2, "y":1},
+ {"x":3, "y":1},
+ {"x":4, "y":1},
+ {"x":5, "y":1},
+ {"x":6, "y":1},
+ {"x":7, "y":1},
+ {"x":8, "y":1},
+ {"x":9, "y":1}
+ ]
+ }
+ }
+}
diff --git a/keyboards/gboards/butterstick/keymaps/default/keymap.c b/keyboards/gboards/butterstick/keymaps/default/keymap.c
new file mode 100644
index 0000000000..749e9ba071
--- /dev/null
+++ b/keyboards/gboards/butterstick/keymaps/default/keymap.c
@@ -0,0 +1,183 @@
+#include QMK_KEYBOARD_H
+
+#include "sten.h"
+/*
+ * Key names are inherited from steno machines
+ * .-----------------------------------------------------.
+ * | LSU | LFT | LP | LH | ST1 | RF | RP | RL | RT | RD |
+ * |-----------------------------------------------------|
+ * | LSD | LK | LW | LR | ST2 | RR | RB | RG | RS | RZ |
+ * '-----------------------------------------------------'
+ */
+
+// Function prefixes
+#define MEDIA (LSD | LK | LW | LR)
+#define FUNCT (LSD | LK | LP | LH)
+#define MOVE (LSU | LFT | LP | LH)
+#define SYMB (RD | RZ)
+#define NUMA (LW | LR)
+#define NUMB (RR | RB)
+
+// QMK Layer Numbers
+ #define BASE 0
+ #define GAME 1
+
+// Do not change QMK Layer 0! This is your main keyboard.
+// Make your QMK modifications to the later layers, to add
+// keys/customize on the first layer modify processQwerty():
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [BASE] = LAYOUT_butter(
+ STN_S1, STN_TL, STN_PL, STN_HL, STN_ST1, STN_FR, STN_PR, STN_LR, STN_TR, STN_DR,
+ STN_S2, STN_KL, STN_WL, STN_RL, STN_ST2, STN_RR, STN_BR, STN_GR, STN_SR, STN_ZR
+ ),
+ // I don't game don't roast me thanks
+ [GAME] = LAYOUT_butter(
+ KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_ENT,
+ KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, TO(BASE)
+ )
+};
+
+// Note: You can only use basic keycodes here!
+// P() is just a wrapper to make your life easier, any C code can be executed.
+// Only the longest matched chord is run!
+//
+// http://docs.gboards.ca
+uint32_t processQwerty(bool lookup) {
+ // SECRET AGENT CHORDS
+ P( LSU | LK | RS | RD, SEND_STRING(VERSION); SEND_STRING(__DATE__));
+ P( LR | ST2| RR | RB, SEND(KC_BSPC));
+ P( LSD | RZ, SEND(KC_SPC));
+
+ // Dual chords
+ P( LP | LH, CLICK_MOUSE(KC_MS_BTN2));
+ P( ST1 | RF, CLICK_MOUSE(KC_MS_BTN1));
+ P( LSU | LFT, SEND(KC_ESC));
+ P( LSD | LK, SEND(KC_LSFT));
+ P( RZ | RS, SEND(KC_LSFT));
+ P( ST2 | RR, SEND(KC_SPC));
+ P( RP | RL, SEND(KC_LGUI));
+ P( RT | RD, SEND(KC_LCTL));
+ P( RL | RT, SEND(KC_LALT));
+ P( LSU | LSD | LFT | LK, SEND(KC_LCTL));
+ P( RS | RT | RD | RZ, SEND(KC_ENT));
+
+ // Function Layer
+ P( FUNCT | RF, SEND(KC_F1));
+ P( FUNCT | RP, SEND(KC_F2));
+ P( FUNCT | RL, SEND(KC_F3));
+ P( FUNCT | RT, SEND(KC_F4));
+ P( FUNCT | RF | RR, SEND(KC_F5));
+ P( FUNCT | RP | RB, SEND(KC_F6));
+ P( FUNCT | RL | RG, SEND(KC_F7));
+ P( FUNCT | RT | RS, SEND(KC_F8));
+ P( FUNCT | RR, SEND(KC_F9));
+ P( FUNCT | RB, SEND(KC_F10));
+ P( FUNCT | RG, SEND(KC_F11));
+ P( FUNCT | RS, SEND(KC_F12));
+
+ // Movement Layer
+ P( MOVE | RF, SEND(KC_LEFT));
+ P( MOVE | RP, SEND(KC_DOWN));
+ P( MOVE | RL, SEND(KC_UP));
+ P( MOVE | RT, SEND(KC_RIGHT));
+ P( MOVE | ST1, SEND(KC_PGUP));
+ P( MOVE | ST2, SEND(KC_PGDN));
+
+ // Media Layer
+ P( MEDIA | RF, SEND(KC_MPRV));
+ P( MEDIA | RP, SEND(KC_MPLY));
+ P( MEDIA | RL, SEND(KC_MPLY));
+ P( MEDIA | RT, SEND(KC_MNXT));
+ P( MEDIA | RG, SEND(KC_VOLU));
+ P( MEDIA | RB, SEND(KC_VOLD));
+ P( MEDIA | RS, SEND(KC_MUTE));
+
+ // Number Row, Right
+ P( NUMB | LSU, SEND(KC_1));
+ P( NUMB | LFT, SEND(KC_2));
+ P( NUMB | LP, SEND(KC_3));
+ P( NUMB | LH, SEND(KC_4));
+ P( NUMB | ST1, SEND(KC_5));
+ P( NUMB | RF, SEND(KC_6));
+ P( NUMB | RP, SEND(KC_7));
+ P( NUMB | RL, SEND(KC_8));
+ P( NUMB | RT, SEND(KC_9));
+ P( NUMB | RD, SEND(KC_0));
+
+ // Number Row, Left
+ P( NUMA | LSU, SEND(KC_1));
+ P( NUMA | LFT, SEND(KC_2));
+ P( NUMA | LP, SEND(KC_3));
+ P( NUMA | LH, SEND(KC_4));
+ P( NUMA | ST1, SEND(KC_5));
+ P( NUMA | RF, SEND(KC_6));
+ P( NUMA | RP, SEND(KC_7));
+ P( NUMA | RL, SEND(KC_8));
+ P( NUMA | RT, SEND(KC_9));
+ P( NUMA | RD, SEND(KC_0));
+
+
+ // Symbols and Numbers
+ P( SYMB | LP | LW, SEND(KC_LSFT); SEND(KC_9)); // (
+ P( SYMB | LH | LR, SEND(KC_LSFT); SEND(KC_0)); // )
+ P( SYMB | ST1 | ST2, SEND(KC_GRV)); // `
+ P( SYMB | RR | RF, SEND(KC_LSFT); SEND(KC_3)); // #
+ P( SYMB | LFT | LK, SEND(KC_LSFT); SEND(KC_4)); // $
+ P( SYMB | LSU, SEND(KC_LSFT); SEND(KC_1)); // !
+ P( SYMB | LSD, SEND(KC_LSFT); SEND(KC_5)); // %
+ P( SYMB | LFT, SEND(KC_LSFT); SEND(KC_2)); // @
+ P( SYMB | LK, SEND(KC_LSFT); SEND(KC_6)); // ^
+ P( SYMB | LP, SEND(KC_LSFT); SEND(KC_LBRC)); // {
+ P( SYMB | LW, SEND(KC_LBRC));
+ P( SYMB | LH, SEND(KC_LSFT); SEND(KC_RBRC)); // }
+ P( SYMB | LR, SEND(KC_RBRC));
+ P( SYMB | ST1, SEND(KC_LSFT); SEND(KC_BSLS)); // |
+ P( SYMB | ST2, SEND(KC_LSFT); SEND(KC_GRV)); // ~
+ P( SYMB | RP | RB, SEND(KC_QUOT));
+ P( SYMB | RP | RG, SEND(KC_LSFT); SEND(KC_QUOT)); // "
+ P( SYMB | RF, SEND(KC_KP_PLUS));
+ P( SYMB | RR, SEND(KC_LSFT); SEND(KC_7)); // &
+ P( SYMB | RP, SEND(KC_MINS));
+ P( SYMB | RB, SEND(KC_EQL));
+ P( SYMB | RL, SEND(KC_SLSH));
+ P( SYMB | RG, SEND(KC_COMM));
+ P( SYMB | RT, SEND(KC_PAST));
+ P( SYMB | RS, SEND(KC_DOT));
+
+ // Letters
+ P( LSU | LSD, SEND(KC_A));
+ P( LFT | LK, SEND(KC_S));
+ P( LP | LW, SEND(KC_D));
+ P( LH | LR, SEND(KC_F));
+ P( ST1 | ST2, SEND(KC_G));
+ P( RF | RR, SEND(KC_H));
+ P( RT | RS, SEND(KC_L));
+ P( RD | RZ, SEND(KC_SCLN));
+ P( RG | RL, SEND(KC_K));
+ P( RP | RB, SEND(KC_J));
+ P( LSU, SEND(KC_Q));
+ P( LSD, SEND(KC_Z));
+ P( LFT, SEND(KC_W));
+ P( LK, SEND(KC_X));
+ P( LP, SEND(KC_E));
+ P( LW, SEND(KC_C));
+ P( LH, SEND(KC_R));
+ P( LR, SEND(KC_V));
+ P( ST1, SEND(KC_T));
+ P( ST2, SEND(KC_B));
+ P( RF, SEND(KC_Y));
+ P( RR, SEND(KC_N));
+ P( RP, SEND(KC_U));
+ P( RB, SEND(KC_M));
+ P( RL, SEND(KC_I));
+ P( RG, SEND(KC_COMM));
+ P( RT, SEND(KC_O));
+ P( RS, SEND(KC_DOT));
+ P( RD, SEND(KC_P));
+ P( RZ, SEND(KC_SLSH));
+
+ return 0;
+}
+
+// Don't fuck with this, thanks.
+size_t keymapsCount = sizeof(keymaps)/sizeof(keymaps[0]);
diff --git a/keyboards/gboards/butterstick/keymaps/dennytom/README.md b/keyboards/gboards/butterstick/keymaps/dennytom/README.md
new file mode 100644
index 0000000000..a75bcc7506
--- /dev/null
+++ b/keyboards/gboards/butterstick/keymaps/dennytom/README.md
@@ -0,0 +1,11 @@
+# # Dennytom's Butterstick Layout
+
+This keymap is using a custom chording engine. Head out to my (DennyTom) user space to find the source files and details.
+
+To make a real keymap from the JSON file, run
+
+```sh
+python3 parser.py keymap_def.json keymap.c
+```
+
+Somehow it fits the whole keyboard on 20 keys. For longer typing sessions, use the ASET NIOP mode. \ No newline at end of file
diff --git a/keyboards/gboards/butterstick/keymaps/dennytom/keymap.c b/keyboards/gboards/butterstick/keymaps/dennytom/keymap.c
new file mode 100644
index 0000000000..bfe0aa2153
--- /dev/null
+++ b/keyboards/gboards/butterstick/keymaps/dennytom/keymap.c
@@ -0,0 +1,1418 @@
+#include QMK_KEYBOARD_H
+
+#define CHORD_TIMEOUT 100
+#define DANCE_TIMEOUT 200
+#define LEADER_TIMEOUT 750
+#define TAP_TIMEOUT 50
+#define L