summaryrefslogtreecommitdiff
path: root/keyboards/gboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gboards')
-rw-r--r--keyboards/gboards/butterstick/config.h6
-rw-r--r--keyboards/gboards/butterstick/info.json5
-rw-r--r--keyboards/gboards/butterstick/sten.h5
-rw-r--r--keyboards/gboards/engine/engine.h7
-rw-r--r--keyboards/gboards/engine/keymap_engine.h2
-rw-r--r--keyboards/gboards/ergotaco/config.h1
-rw-r--r--keyboards/gboards/ergotaco/ergotaco.c2
-rw-r--r--keyboards/gboards/ergotaco/ergotaco.h20
-rw-r--r--keyboards/gboards/ergotaco/info.json61
-rw-r--r--keyboards/gboards/ergotaco/matrix.c7
-rw-r--r--keyboards/gboards/g/config_default.h2
-rw-r--r--keyboards/gboards/g/engine.h10
-rw-r--r--keyboards/gboards/g/keymap_combo.h2
-rw-r--r--keyboards/gboards/g/keymap_engine.h3
-rw-r--r--keyboards/gboards/georgi/config.h2
-rw-r--r--keyboards/gboards/georgi/georgi.c2
-rw-r--r--keyboards/gboards/georgi/georgi.h52
-rw-r--r--keyboards/gboards/georgi/info.json60
-rw-r--r--keyboards/gboards/georgi/keymaps/colemak-dh/keymap.c1
-rw-r--r--keyboards/gboards/georgi/matrix.c8
-rw-r--r--keyboards/gboards/georgi/sten.h4
-rw-r--r--keyboards/gboards/gergo/config.h1
-rw-r--r--keyboards/gboards/gergo/gergo.c2
-rw-r--r--keyboards/gboards/gergo/gergo.h25
-rw-r--r--keyboards/gboards/gergo/info.json321
-rw-r--r--keyboards/gboards/gergo/keymaps/abstractkb/config.h2
-rw-r--r--keyboards/gboards/gergo/keymaps/colemak/keymap.c1
-rw-r--r--keyboards/gboards/gergo/keymaps/default/config.h1
-rw-r--r--keyboards/gboards/gergo/keymaps/germ/config.h1
-rw-r--r--keyboards/gboards/gergo/keymaps/gotham/config.h1
-rw-r--r--keyboards/gboards/gergo/keymaps/oled/config.h1
-rw-r--r--keyboards/gboards/gergo/matrix.c7
-rw-r--r--keyboards/gboards/gergoplex/config.h1
-rw-r--r--keyboards/gboards/gergoplex/gergoplex.h18
-rw-r--r--keyboards/gboards/gergoplex/info.json76
-rw-r--r--keyboards/gboards/gergoplex/keymaps/colemak-dhm/keymap.c2
36 files changed, 170 insertions, 552 deletions
diff --git a/keyboards/gboards/butterstick/config.h b/keyboards/gboards/butterstick/config.h
index d0415c48f5..a3516ccedb 100644
--- a/keyboards/gboards/butterstick/config.h
+++ b/keyboards/gboards/butterstick/config.h
@@ -4,9 +4,3 @@
#define VERSION "Paula Deen"
#define FORCE_NKRO
-
-#define MATRIX_ROW_PINS { F4, F5 }
-#define MATRIX_COL_PINS { B0, B1, B2, B3, B4, B5, B6, B7, C6, C7}
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION ROW2COL
diff --git a/keyboards/gboards/butterstick/info.json b/keyboards/gboards/butterstick/info.json
index 085d56f91e..465cd940a1 100644
--- a/keyboards/gboards/butterstick/info.json
+++ b/keyboards/gboards/butterstick/info.json
@@ -8,6 +8,11 @@
"pid": "0x1337",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7", "C6", "C7"],
+ "rows": ["F4", "F5"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/gboards/butterstick/sten.h b/keyboards/gboards/butterstick/sten.h
index 0d5c58df21..39740ac3d3 100644
--- a/keyboards/gboards/butterstick/sten.h
+++ b/keyboards/gboards/butterstick/sten.h
@@ -5,9 +5,10 @@
//
// Amen.
-#include QMK_KEYBOARD_H
+#pragma once
+
+#include "butterstick.h"
#include "mousekey.h"
-#include "keymap.h"
#include "keymap_steno.h"
#include "wait.h"
diff --git a/keyboards/gboards/engine/engine.h b/keyboards/gboards/engine/engine.h
index 5b9d5b0ecb..005dd730b8 100644
--- a/keyboards/gboards/engine/engine.h
+++ b/keyboards/gboards/engine/engine.h
@@ -10,15 +10,12 @@
crap is removed where possible
*/
-#include QMK_KEYBOARD_H
#pragma once
-#include "keymap.h"
+
+#include "quantum.h"
#include <string.h>
-#include <stdint.h>
#include <stdio.h>
#include "config_engine.h"
-#include <avr/pgmspace.h>
-#include "wait.h"
// Maximum values for combos
#define COMBO_END 0x00
diff --git a/keyboards/gboards/engine/keymap_engine.h b/keyboards/gboards/engine/keymap_engine.h
index 599c1ca3e4..dfed493e21 100644
--- a/keyboards/gboards/engine/keymap_engine.h
+++ b/keyboards/gboards/engine/keymap_engine.h
@@ -7,6 +7,8 @@
* With this disgusting bodge, you can just edit your .defs and compile!
*/
+#pragma once
+
// Clear all X Macros
#define PRES BLANK
#define KEYS BLANK
diff --git a/keyboards/gboards/ergotaco/config.h b/keyboards/gboards/ergotaco/config.h
index 3274a5ab92..ba0078e71b 100644
--- a/keyboards/gboards/ergotaco/config.h
+++ b/keyboards/gboards/ergotaco/config.h
@@ -35,7 +35,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TOGGLE 1
#define TAPPING_TERM 200
-#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/gboards/ergotaco/ergotaco.c b/keyboards/gboards/ergotaco/ergotaco.c
index ecab74b3a2..daeba1e0a6 100644
--- a/keyboards/gboards/ergotaco/ergotaco.c
+++ b/keyboards/gboards/ergotaco/ergotaco.c
@@ -1,4 +1,4 @@
-#include QMK_KEYBOARD_H
+#include "ergotaco.h"
bool i2c_initialized = 0;
i2c_status_t mcp23018_status = 0x20;
diff --git a/keyboards/gboards/ergotaco/ergotaco.h b/keyboards/gboards/ergotaco/ergotaco.h
index 5a0cd5e8fb..e23fc264f4 100644
--- a/keyboards/gboards/ergotaco/ergotaco.h
+++ b/keyboards/gboards/ergotaco/ergotaco.h
@@ -26,23 +26,3 @@ extern i2c_status_t mcp23018_status;
void init_ergodox(void);
uint8_t init_mcp23018(void);
-
-/* ---------- LEFT HAND ----------- ---------- RIGHT HAND ---------- */
-#define LAYOUT( \
- L00,L01,L02,L03,L04,L05, R00,R01,R02,R03,R04,R05) \
- \
- /* matrix positions */ \
- { \
- {R00}, \
- {R01}, \
- {R02}, \
- {R03}, \
- {R04}, \
- {R05}, \
- {L05}, \
- {L04}, \
- {L03}, \
- {L02}, \
- {L01}, \
- {L00}, \
-}
diff --git a/keyboards/gboards/ergotaco/info.json b/keyboards/gboards/ergotaco/info.json
index 163b76db19..1de1f3ab85 100644
--- a/keyboards/gboards/ergotaco/info.json
+++ b/keyboards/gboards/ergotaco/info.json
@@ -13,54 +13,19 @@
"layouts": {
"LAYOUT": {
"layout": [
- {
- "x": 0,
- "y": 1.25
- },
- {
- "x": 1,
- "y": 0.75
- },
- {
- "x": 2,
- "y": 0.5
- },
- {
- "x": 3,
- "y": 0.25
- },
- {
- "x": 4,
- "y": 1
- },
- {
- "x": 5,
- "y": 1.75
- },
- {
- "x": 7,
- "y": 1.75
- },
- {
- "x": 8,
- "y": 1
- },
- {
- "x": 9,
- "y": 0.25
- },
- {
- "x": 10,
- "y": 0.5
- },
- {
- "x": 11,
- "y": 0.75
- },
- {
- "x": 12,
- "y": 1.25
- }
+ {"matrix": [11, 0], "x": 0, "y": 1},
+ {"matrix": [10, 0], "x": 1, "y": 0.5},
+ {"matrix": [9, 0], "x": 2, "y": 0.25},
+ {"matrix": [8, 0], "x": 3, "y": 0},
+ {"matrix": [7, 0], "x": 4, "y": 0.75},
+ {"matrix": [6, 0], "x": 5, "y": 1.5},
+
+ {"matrix": [0, 0], "x": 7, "y": 1.5},
+ {"matrix": [1, 0], "x": 8, "y": 0.75},
+ {"matrix": [2, 0], "x": 9, "y": 0},
+ {"matrix": [3, 0], "x": 10, "y": 0.25},
+ {"matrix": [4, 0], "x": 11, "y": 0.5},
+ {"matrix": [5, 0], "x": 12, "y": 1}
]
}
}
diff --git a/keyboards/gboards/ergotaco/matrix.c b/keyboards/gboards/ergotaco/matrix.c
index 1bab5e8981..63d4c4f5f3 100644
--- a/keyboards/gboards/ergotaco/matrix.c
+++ b/keyboards/gboards/ergotaco/matrix.c
@@ -17,15 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "matrix.h"
-#include <stdint.h>
-#include <stdbool.h>
-#include <avr/io.h>
#include "wait.h"
-#include "action_layer.h"
-#include "print.h"
#include "debug.h"
#include "util.h"
-#include QMK_KEYBOARD_H
+#include "ergotaco.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
diff --git a/keyboards/gboards/g/config_default.h b/keyboards/gboards/g/config_default.h
index 821c2c4ad5..56dd634d13 100644
--- a/keyboards/gboards/g/config_default.h
+++ b/keyboards/gboards/g/config_default.h
@@ -1,3 +1,5 @@
+#pragma once
+
#include "engine.h"
// Configuration options for the engine
diff --git a/keyboards/gboards/g/engine.h b/keyboards/gboards/g/engine.h
index 547ea09fdd..a78ddc96ff 100644
--- a/keyboards/gboards/g/engine.h
+++ b/keyboards/gboards/g/engine.h
@@ -10,18 +10,12 @@
crap is removed where possible
*/
-#include QMK_KEYBOARD_H
#pragma once
-#include "keymap.h"
+
+#include "quantum.h"
#include <string.h>
-#include <stdint.h>
#include <stdio.h>
#include "config_engine.h"
-#include <avr/pgmspace.h>
-#include "wait.h"
-#ifdef MOUSEKEY_ENABLE
-# include "mousekey.h"
-#endif
// Set defaults
#ifndef IN_CHORD_MASK
diff --git a/keyboards/gboards/g/keymap_combo.h b/keyboards/gboards/g/keymap_combo.h
index 68ea44b1b4..c062a298a5 100644
--- a/keyboards/gboards/g/keymap_combo.h
+++ b/keyboards/gboards/g/keymap_combo.h
@@ -1,3 +1,5 @@
+#pragma once
+
// Keymap helpers
// define reference layers per layer.
#define REF_LAYER_FOR_LAYER(LAYER, REF_LAYER) \
diff --git a/keyboards/gboards/g/keymap_engine.h b/keyboards/gboards/g/keymap_engine.h
index 055b5941e4..e134472da0 100644
--- a/keyboards/gboards/g/keymap_engine.h
+++ b/keyboards/gboards/g/keymap_engine.h
@@ -6,6 +6,9 @@
* using a external generator (Like is done for the ASETNIOP base keymaps)
* With this disgusting bodge, you can just edit your .defs and compile!
*/
+
+#pragma once
+
#include "g/engine.h"
// Clear all X Macros
diff --git a/keyboards/gboards/georgi/config.h b/keyboards/gboards/georgi/config.h
index 858f99208f..3e090f9e57 100644
--- a/keyboards/gboards/georgi/config.h
+++ b/keyboards/gboards/georgi/config.h
@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define FORCE_NKRO
#define NO_ACTION_ONESHOT
-#define IGNORE_MOD_TAP_INTERRUPT
/* key matrix size */
#define MATRIX_ROWS 14
@@ -42,7 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TOGGLE 2
#define TAPPING_TERM 200
-#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/gboards/georgi/georgi.c b/keyboards/gboards/georgi/georgi.c
index 8866886ce7..dd95b593f1 100644
--- a/keyboards/gboards/georgi/georgi.c
+++ b/keyboards/gboards/georgi/georgi.c
@@ -1,4 +1,4 @@
-#include QMK_KEYBOARD_H
+#include "georgi.h"
bool i2c_initialized = 0;
i2c_status_t mcp23018_status = 0x20;
diff --git a/keyboards/gboards/georgi/georgi.h b/keyboards/gboards/georgi/georgi.h
index 47fb1831c8..e23fc264f4 100644
--- a/keyboards/gboards/georgi/georgi.h
+++ b/keyboards/gboards/georgi/georgi.h
@@ -26,55 +26,3 @@ extern i2c_status_t mcp23018_status;
void init_ergodox(void);
uint8_t init_mcp23018(void);
-
-/* ---------- LEFT HAND ----------- ---------- RIGHT HAND ---------- */
-#define LAYOUT( \
- L00,L01,L02,L03,L04,L05, R00,R01,R02,R03,R04,R05, \
- L10,L11,L12,L13,L14,L15, R10,R11,R12,R13,R14,R15, \
- L20,L21,L22, R20,R21,R22) \
- \
- { \
- { KC_NO, R00, R10, R21}, \
- { KC_NO, R01, R11, R20}, \
- { KC_NO, R02, R12, R22}, \
- { KC_NO, R03, R13, KC_NO}, \
- { KC_NO, R04, R14, KC_NO}, \
- { KC_NO, R05, R15, KC_NO}, \
- { KC_NO, KC_NO, KC_NO, KC_NO}, \
- \
- { KC_NO, L05, L15, L22}, \
- { KC_NO, L04, L14, L21}, \
- { KC_NO, L03, L13, L20}, \
- { KC_NO, L02, L12, KC_NO}, \
- { KC_NO, L01, L11, KC_NO}, \
- { KC_NO, L00, L10, KC_NO}, \
- { KC_NO, KC_NO, KC_NO, KC_NO}, \
- \
-}
-
-/* ---------- LEFT HAND ----------- ---------- RIGHT HAND ----------
-#define LAYOUT_GERGO( \
- L00,L01,L02,L03,L04,L05, R00,R01,R02,R03,R04,R05, \
- L10,L11,L12,L13,L14,L15,L16, R10,R11,R12,R13,R14,R15,R16, \
- L20,L21,L22,L23,L24,L25,L26, R20,R21,R22,R23,R24,R25,R26, \
- L31,L32, R33,R34, \
- L30, R30, \
- L33,L34, R31,R32) \
- \
- { \
- { KC_NO, L16, L26, L30}, \
- { L05, L15, L25, L34}, \
- { L04, L14, L24, L33}, \
- { L03, L13, L23, L32}, \
- { L02, L12, L22, L31}, \
- { L01, L11, L21, KC_NO}, \
- { L00, L10, L20, KC_NO}, \
- \
- { KC_NO, R10, R20, R30}, \
- { R00, R11, R21, R31}, \
- { R01, R12, R22, R32}, \
- { R02, R13, R23, R33}, \
- { R03, R14, R24, R34}, \
- { R04, R15, R25, KC_NO}, \
- { R05, R16, R26, KC_NO}, \
-} */
diff --git a/keyboards/gboards/georgi/info.json b/keyboards/gboards/georgi/info.json
index 3f1c69b7f5..7ede9d1f43 100644
--- a/keyboards/gboards/georgi/info.json
+++ b/keyboards/gboards/georgi/info.json
@@ -16,41 +16,41 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x": 0, "y": 0.5},
- {"x": 1, "y": 0.5},
- {"x": 2, "y": 0.3},
- {"x": 3, "y": 0},
- {"x": 4, "y": 0.4},
- {"x": 5, "y": 0.5},
+ {"matrix": [12, 1], "x": 0, "y": 0.5},
+ {"matrix": [11, 1], "x": 1, "y": 0.5},
+ {"matrix": [10, 1], "x": 2, "y": 0.3},
+ {"matrix": [9, 1], "x": 3, "y": 0},
+ {"matrix": [8, 1], "x": 4, "y": 0.4},
+ {"matrix": [7, 1], "x": 5, "y": 0.5},
- {"x": 7, "y": 0.5},
- {"x": 8, "y": 0.4},
- {"x": 9, "y": 0},
- {"x": 10, "y": 0.3},
- {"x": 11, "y": 0.5},
- {"x": 12, "y": 0.5},
+ {"matrix": [0, 1], "x": 7, "y": 0.5},
+ {"matrix": [1, 1], "x": 8, "y": 0.4},
+ {"matrix": [2, 1], "x": 9, "y": 0},
+ {"matrix": [3, 1], "x": 10, "y": 0.3},
+ {"matrix": [4, 1], "x": 11, "y": 0.5},
+ {"matrix": [5, 1], "x": 12, "y": 0.5},
- {"x": 0, "y": 1.5},
- {"x": 1, "y": 1.5},
- {"x": 2, "y": 1.3},
- {"x": 3, "y": 1},
- {"x": 4, "y": 1.4},
- {"x": 5, "y": 1.5},
+ {"matrix": [12, 2], "x": 0, "y": 1.5},
+ {"matrix": [11, 2], "x": 1, "y": 1.5},
+ {"matrix": [10, 2], "x": 2, "y": 1.3},
+ {"matrix": [9, 2], "x": 3, "y": 1},
+ {"matrix": [8, 2], "x": 4, "y": 1.4},
+ {"matrix": [7, 2], "x": 5, "y": 1.5},
- {"x": 7, "y": 1.5},
- {"x": 8, "y": 1.4},
- {"x": 9, "y": 1},
- {"x": 10, "y": 1.3},
- {"x": 11, "y": 1.5},
- {"x": 12, "y": 1.5},
+ {"matrix": [0, 2], "x": 7, "y": 1.5},
+ {"matrix": [1, 2], "x": 8, "y": 1.4},
+ {"matrix": [2, 2], "x": 9, "y": 1},
+ {"matrix": [3, 2], "x": 10, "y": 1.3},
+ {"matrix": [4, 2], "x": 11, "y": 1.5},
+ {"matrix": [5, 2], "x": 12, "y": 1.5},
- {"x": 3, "y": 2.75},
- {"x": 4, "y": 2.75},
- {"x": 5, "y": 2.75},
+ {"matrix": [9, 3], "x": 3, "y": 2.75},
+ {"matrix": [8, 3], "x": 4, "y": 2.75},
+ {"matrix": [7, 3], "x": 5, "y": 2.75},
- {"x": 7, "y": 2.75},
- {"x": 8, "y": 2.75},
- {"x": 9, "y": 2.75}
+ {"matrix": [1, 3], "x": 7, "y": 2.75},
+ {"matrix": [0, 3], "x": 8, "y": 2.75},
+ {"matrix": [2, 3], "x": 9, "y": 2.75}
]
}
}
diff --git a/keyboards/gboards/georgi/keymaps/colemak-dh/keymap.c b/keyboards/gboards/georgi/keymaps/colemak-dh/keymap.c
index bb6ed9dd3e..9b3365d02f 100644
--- a/keyboards/gboards/georgi/keymaps/colemak-dh/keymap.c
+++ b/keyboards/gboards/georgi/keymaps/colemak-dh/keymap.c
@@ -13,7 +13,6 @@
#include QMK_KEYBOARD_H
#include "sten.h"
#include "keymap_steno.h"
-#define IGNORE_MOD_TAP_INTERRUPT
// Steno Layers
#define FUNCT ( LSD | LK | LP | LH )
diff --git a/keyboards/gboards/georgi/matrix.c b/keyboards/gboards/georgi/matrix.c
index 5ac696fd31..b66b1a194c 100644
--- a/keyboards/gboards/georgi/matrix.c
+++ b/keyboards/gboards/georgi/matrix.c
@@ -17,16 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "matrix.h"
-#include <stdint.h>
-#include <stdbool.h>
-#include <avr/io.h>
#include "wait.h"
-#include "action_layer.h"
-#include "print.h"
#include "debug.h"
#include "util.h"
-#include "keymap_steno.h"
-#include QMK_KEYBOARD_H
+#include "georgi.h"
#ifndef DEBOUNCE
# define DEBOUNCE 5
diff --git a/keyboards/gboards/georgi/sten.h b/keyboards/gboards/georgi/sten.h
index 320c49514c..b5aa79893e 100644
--- a/keyboards/gboards/georgi/sten.h
+++ b/keyboards/gboards/georgi/sten.h
@@ -4,10 +4,10 @@
// the slave and the master. Until we return from main.
//
// Amen.
+#pragma once
-#include QMK_KEYBOARD_H
+#include "georgi.h"
#include "mousekey.h"
-#include "keymap.h"
#include "keymap_steno.h"
#include "wait.h"
diff --git a/keyboards/gboards/gergo/config.h b/keyboards/gboards/gergo/config.h
index 2eda942c15..37d4fe8499 100644
--- a/keyboards/gboards/gergo/config.h
+++ b/keyboards/gboards/gergo/config.h
@@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TAPPING_TOGGLE 1
#define TAPPING_TERM 200
-#define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/gboards/gergo/gergo.c b/keyboards/gboards/gergo/gergo.c
index ba359f8145..da2a3007a8 100644
--- a/keyboards/gboards/gergo/gergo.c
+++ b/keyboards/gboards/gergo/gergo.c
@@ -1,4 +1,4 @@
-#include QMK_KEYBOARD_H
+#include "gergo.h"
bool i2c_initialized = 0;
i2c_status_t mcp23018_status = 0x20;
diff --git a/keyboards/gboards/gergo/gergo.h b/keyboards/gboards/gergo/gergo.h
index 9044b374e3..ea6368e2f1 100644
--- a/keyboards/gboards/gergo/gergo.h
+++ b/keyboards/gboards/gergo/gergo.h
@@ -25,28 +25,3 @@ extern i2c_status_t mcp23018_status;
#define OLATB 0x15
uint8_t init_mcp23018(void);
-
-/* ---------- LEFT HAND ----------- ---------- RIGHT HAND ---------- */
-#define LAYOUT( \
- L00,L01,L02,L03,L04,L05, R00,R01,R02,R03,R04,R05, \
- L10,L11,L12,L13,L14,L15,L16, R10,R11,R12,R13,R14,R15,R16, \
- L20,L21,L22,L23,L24,L25,L26,L30, R30,R20,R21,R22,R23,R24,R25,R26, \
- L31,L32,L33,L34, R31,R32,R33,R34) \
- /* matrix positions */ \
- { \
- { KC_NO, L16, L26, L30}, \
- { L05, L15, L25, L34}, \
- { L04, L14, L24, L33}, \
- { L03, L13, L23, L32}, \
- { L02, L12, L22, L31}, \
- { L01, L11, L21, KC_NO}, \
- { L00, L10, L20, KC_NO}, \
- \
- { KC_NO, R10, R20, R30}, \
- { R00, R11, R21, R31}, \
- { R01, R12, R22, R32}, \
- { R02, R13, R23, R33}, \
- { R03, R14, R24, R34}, \
- { R04, R15, R25, KC_NO}, \
- { R05, R16, R26, KC_NO}, \
-}
diff --git a/keyboards/gboards/gergo/info.json b/keyboards/gboards/gergo/info.json
index f38051809d..53711cb271 100644
--- a/keyboards/gboards/gergo/info.json
+++ b/keyboards/gboards/gergo/info.json
@@ -19,270 +19,63 @@
"layouts": {
"LAYOUT": {
"layout": [
- {
- "label": "L00",
- "w": 1.5,
- "x": 0,
- "y": 0.38
- },
- {
- "label": "L01",
- "x": 1.5,
- "y": 0.38
- },
- {
- "label": "L02",
- "x": 2.5,
- "y": 0.13
- },
- {
- "label": "L03",
- "x": 3.5,
- "y": 0
- },
- {
- "label": "L04",
- "x": 4.5,
- "y": 0.13
- },
- {
- "label": "L05",
- "x": 5.5,
- "y": 0.25
- },
- {
- "label": "R00",
- "x": 13,
- "y": 0.25
- },
- {
- "label": "R01",
- "x": 14,
- "y": 0.13
- },
- {
- "label": "R02",
- "x": 15,
- "y": 0
- },
- {
- "label": "R03",
- "x": 16,
- "y": 0.13
- },
- {
- "label": "R04",
- "x": 17,
- "y": 0.38
- },
- {
- "label": "R05",
- "w": 1.5,
- "x": 18,
- "y": 0.38
- },
- {
- "label": "L10",
- "w": 1.5,
- "x": 0,
- "y": 1.3800000000000001
- },
- {
- "label": "L11",
- "x": 1.5,
- "y": 1.3800000000000001
- },
- {
- "label": "L12",
- "x": 2.5,
- "y": 1.1300000000000001
- },
- {
- "label": "L13",
- "x": 3.5,
- "y": 1.0
- },
- {
- "label": "L14",
- "x": 4.5,
- "y": 1.1300000000000001
- },
- {
- "label": "L15",
- "x": 5.5,
- "y": 1.25
- },
- {
- "h": 1.5,
- "label": "L16",
- "x": 6.5,
- "y": 0.25
- },
- {
- "h": 1.5,
- "label": "R10",
- "x": 12,
- "y": 0.25
- },
- {
- "label": "R11",
- "x": 13,
- "y": 1.25
- },
- {
- "label": "R12",
- "x": 14,
- "y": 1.1300000000000001
- },
- {
- "label": "R13",
- "x": 15,
- "y": 1.0
- },
- {
- "label": "R14",
- "x": 16,
- "y": 1.1300000000000001
- },
- {
- "label": "R15",
- "x": 17,
- "y": 1.3800000000000001
- },
- {
- "label": "R16",
- "w": 1.5,
- "x": 18,
- "y": 1.3800000000000001
- },
- {
- "label": "L20",
- "w": 1.5,
- "x": 0,
- "y": 2.38
- },
- {
- "label": "L21",
- "x": 1.5,
- "y": 2.38
- },
- {
- "label": "L22",
- "x": 2.5,
- "y": 2.13
- },
- {
- "label": "L23",
- "x": 3.5,
- "y": 2
- },
- {
- "label": "L24",
- "x": 4.5,
- "y": 2.13
- },
- {
- "label": "L25",
- "x": 5.5,
- "y": 2.25
- },
- {
- "h": 1.5,
- "label": "L26",
- "x": 6.5,
- "y": 1.75
- },
- {
- "label": "L30",
- "x": 8.25,
- "y": 2.75
- },
- {
- "label": "R30",
- "x": 10.25,
- "y": 2.75
- },
- {
- "h": 1.5,
- "label": "R20",
- "x": 12,
- "y": 1.75
- },
- {
- "label": "R21",
- "x": 13,
- "y": 2.25
- },
- {
- "label": "R22",
- "x": 14,
- "y": 2.13
- },
- {
- "label": "R23",
- "x": 15,
- "y": 2
- },
- {
- "label": "R24",
- "x": 16,
- "y": 2.13
- },
- {
- "label": "R25",
- "x": 17,
- "y": 2.38
- },
- {
- "label": "R26",
- "w": 1.5,
- "x": 18,
- "y": 2.38
- },
- {
- "label": "L31",
- "x": 4.75,
- "y": 3.25
- },
- {
- "label": "L32",
- "x": 6,
- "y": 3.63
- },
- {
- "h": 2,
- "label": "L33",
- "x": 7.25,
- "y": 3.75
- },
- {
- "h": 2,
- "label": "L34",
- "x": 8.25,
- "y": 3.75
- },
- {
- "h": 2,
- "label": "R31",
- "x": 10.25,
- "y": 3.75
- },
- {
- "h": 2,
- "label": "R32",
- "x": 11.25,
- "y": 3.75
- },
- {
- "label": "R33",
- "x": 12.5,
- "y": 3.63
- },
- {
- "label": "R34",
- "x": 13.75,
- "y": 3.25
- }
+ {"matrix": [6, 0], "x": 0, "y": 0.38, "w": 1.5},
+ {"matrix": [5, 0], "x": 1.5, "y": 0.38},
+ {"matrix": [4, 0], "x": 2.5, "y": 0.13},
+ {"matrix": [3, 0], "x": 3.5, "y": 0},
+ {"matrix": [2, 0], "x": 4.5, "y": 0.13},
+ {"matrix": [1, 0], "x": 5.5, "y": 0.25},
+
+ {"matrix": [8, 0], "x": 13, "y": 0.25},
+ {"matrix": [9, 0], "x": 14, "y": 0.13},
+ {"matrix": [10, 0], "x": 15, "y": 0},
+ {"matrix": [11, 0], "x": 16, "y": 0.13},
+ {"matrix": [12, 0], "x": 17, "y": 0.38},
+ {"matrix": [13, 0], "x": 18, "y": 0.38, "w": 1.5},
+
+ {"matrix": [6, 1], "x": 0, "y": 1.38, "w": 1.5},
+ {"matrix": [5, 1], "x": 1.5, "y": 1.38},
+ {"matrix": [4, 1], "x": 2.5, "y": 1.13},
+ {"matrix": [3, 1], "x": 3.5, "y": 1},
+ {"matrix": [2, 1], "x": 4.5, "y": 1.13},
+ {"matrix": [1, 1], "x": 5.5, "y": 1.25},
+ {"matrix": [0, 1], "x": 6.5, "y": 0.25, "h": 1.5},
+
+ {"matrix": [7, 1], "x": 12, "y": 0.25, "h": 1.5},
+ {"matrix": [8, 1], "x": 13, "y": 1.25},
+ {"matrix": [9, 1], "x": 14, "y": 1.13},
+ {"matrix": [10, 1], "x": 15, "y": 1},
+ {"matrix": [11, 1], "x": 16, "y": 1.13},
+ {"matrix": [12, 1], "x": 17, "y": 1.38},
+ {"matrix": [13, 1], "x": 18, "y": 1.38, "w": 1.5},
+
+ {"matrix": [6, 2], "x": 0, "y": 2.38, "w": 1.5},
+ {"matrix": [5, 2], "x": 1.5, "y": 2.38},
+ {"matrix": [4, 2], "x": 2.5, "y": 2.13},
+ {"matrix": [3, 2], "x": 3.5, "y": 2},
+ {"matrix": [2, 2], "x": 4.5, "y": 2.13},
+ {"matrix": [1, 2], "x": 5.5, "y": 2.25},
+ {"matrix": [0, 2], "x": 6.5, "y": 1.75, "h": 1.5},
+ {"matrix": [0, 3], "x": 8.25, "y": 2.75},
+
+ {"matrix": [7, 3], "x": 10.25, "y": 2.75},
+ {"matrix": [7, 2], "x": 12, "y": 1.75, "h": 1.5},
+ {"matrix": [8, 2], "x": 13, "y": 2.25},
+ {"matrix": [9, 2], "x": 14, "y": 2.13},
+ {"matrix": [10, 2], "x": 15, "y": 2},
+ {"matrix": [11, 2], "x": 16, "y": 2.13},
+ {"matrix": [12, 2], "x": 17, "y": 2.38},
+ {"matrix": [13, 2], "x": 18, "y": 2.38, "w": 1.5},
+
+ {"matrix": [4, 3], "x": 4.75, "y": 3.25},
+ {"matrix": [3, 3], "x": 6, "y": 3.63},
+ {"matrix": [2, 3], "x": 7.25, "y": 3.75, "h": 2},
+ {"matrix": [1, 3], "x": 8.25, "y": 3.75, "h": 2},
+
+ {"matrix": [8, 3], "x": 10.25, "y": 3.75, "h": 2},
+ {"matrix": [9, 3], "x": 11.25, "y": 3.75, "h": 2},
+ {"matrix": [10, 3], "x": 12.5, "y": 3.63},
+ {"matrix": [11, 3], "x": 13.75, "y": 3.25}
]
}
}
diff --git a/keyboards/gboards/gergo/keymaps/abstractkb/config.h b/keyboards/gboards/gergo/keymaps/abstractkb/config.h
index bc7b9f7845..d3c17757c8 100644
--- a/keyboards/gboards/gergo/keymaps/abstractkb/config.h
+++ b/keyboards/gboards/gergo/keymaps/abstractkb/config.h
@@ -1,6 +1,4 @@
#pragma once
-#define IGNORE_MOD_TAP_INTERRUPT
-
#undef DEBOUNCE
#define DEBOUNCE 10
diff --git a/keyboards/gboards/gergo/keymaps/colemak/keymap.c b/keyboards/gboards/gergo/keymaps/colemak/keymap.c
index b72e81f6d7..39bafc5e31 100644
--- a/keyboards/gboards/gergo/keymaps/colemak/keymap.c
+++ b/keyboards/gboards/gergo/keymaps/colemak/keymap.c
@@ -8,7 +8,6 @@
#include QMK_KEYBOARD_H
-#define IGNORE_MOD_TAP_INTERRUPT
#define BASE 0 // default layer
#define SYMB 1 // symbols
#define NUMB 2 // numbers/motion
diff --git a/keyboards/gboards/gergo/keymaps/default/config.h b/keyboards/gboards/gergo/keymaps/default/config.h
index 6393d46f14..3f59c932d3 100644
--- a/keyboards/gboards/gergo/keymaps/default/config.h
+++ b/keyboards/gboards/gergo/keymaps/default/config.h
@@ -1,3 +1,2 @@
#pragma once
-#define IGNORE_MOD_TAP_INTERRUPT
diff --git a/keyboards/gboards/gergo/keymaps/germ/config.h b/keyboards/gboards/gergo/keymaps/germ/config.h
index 6393d46f14..3f59c932d3 100644
--- a/keyboards/gboards/gergo/keymaps/germ/config.h
+++ b/keyboards/gboards/gergo/keymaps/germ/config.h
@@ -1,3 +1,2 @@
#pragma once
-#define IGNORE_MOD_TAP_INTERRUPT
diff --git a/keyboards/gboards/gergo/keymaps/gotham/config.h b/keyboards/gboards/gergo/keymaps/gotham/config.h
index 6393d46f14..3f59c932d3 100644
--- a/keyboards/gboards/gergo/keymaps/gotham/config.h
+++ b/keyboards/gboards/gergo/keymaps/gotham/config.h
@@ -1,3 +1,2 @@
#pragma once
-#define IGNORE_MOD_TAP_INTERRUPT
diff --git a/keyboards/gboards/gergo/keymaps/oled/config.h b/keyboards/gboards/gergo/keymaps/oled/config.h
index af960a1eed..327e03d56d 100644
--- a/keyboards/gboards/gergo/keymaps/oled/config.h
+++ b/keyboards/gboards/gergo/keymaps/oled/config.h
@@ -1,4 +1,3 @@
#pragma once
-#define IGNORE_MOD_TAP_INTERRUPT
#define OLED_FONT_H "keyboards/gboards/gergo/keymaps/oled/glcdfont.c"
diff --git a/keyboards/gboards/gergo/matrix.c b/keyboards/gboards/gergo/matrix.c
index c352be24e1..8a6b38bf73 100644
--- a/keyboards/gboards/gergo/matrix.c
+++ b/keyboards/gboards/gergo/matrix.c
@@ -17,16 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "matrix.h"
-#include <stdint.h>
-#include <stdbool.h>
-#include <avr/io.h>
#include "wait.h"
-#include "action_layer.h"
-#include "print.h"
#include "debug.h"
#include "util.h"
#include "debounce.h"
-#include QMK_KEYBOARD_H
+#include "gergo.h"
#ifdef BALLER
#include <avr/interrupt.h>
diff --git a/keyboards/gboards/gergoplex/config.h b/keyboards/gboards/gergoplex/config.h
index d733cb3b7a..e6ef1def9e 100644
--- a/keyboards/gboards/gergoplex/config.h
+++ b/keyboards/gboards/gergoplex/config.h
@@ -34,6 +34,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_COL_PINS { F6, F5, F4, F1 }
#define MATRIX_ROW_PINS { B1, B2, B3, D2, D3 }
-#define IGNORE_MOD_TAP_INTERRUPT
#define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)))
diff --git a/keyboards/gboards/gergoplex/gergoplex.h b/keyboards/gboards/gergoplex/gergoplex.h
index eda21d2a94..549228104a 100644
--- a/keyboards/gboards/gergoplex/gergoplex.h
+++ b/keyboards/gboards/gergoplex/gergoplex.h
@@ -35,21 +35,3 @@ extern i2c_status_t mcp23018_status;
#define OLATA 0x14 // output latch register
uint8_t init_mcp23018(void);
-
-#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, \
- L30, L31, L32, R30, R31, R32 \
-) { \
- { L04, L14, L24, XXX }, \
- { L03, L13, L23, L32 }, \
- { L02, L12, L22, L31 }, \
- { L01, L11, L21, L30 }, \
- { L00, L10, L20, XXX }, \
- { R00, R10, R20, XXX }, \
- { R01, R11, R21, R30 }, \
- { R02, R12, R22, R31 }, \
- { R03, R13, R23, R32 }, \
- { R04, R14, R24, XXX } \
-}
diff --git a/keyboards/gboards/gergoplex/info.json b/keyboards/gboards/gergoplex/info.json
index 914832aacf..061f8ff869 100644
--- a/keyboards/gboards/gergoplex/info.json
+++ b/keyboards/gboards/gergoplex/info.json
@@ -14,45 +14,49 @@
"layouts": {
"LAYOUT_split_3x5_3": {
"layout": [
- {"label":"L00", "x":0, "y":0.25},
- {"label":"L01", "x":1, "y":0.125},
- {"label":"L02", "x":2, "y":0},
- {"label":"L03", "x":3, "y":0.125},
- {"label":"L04", "x":4, "y":0.375},
- {"label":"R00", "x":8, "y":0.375},
- {"label":"R01", "x":9, "y":0.125},
- {"label":"R02", "x":10, "y":0},
- {"label":"R03", "x":11, "y":0.125},
- {"label":"R04", "x":12, "y":0.25},
+ {"matrix": [4, 0], "x": 0, "y": 0.25},
+ {"matrix": [3, 0], "x": 1, "y": 0.125},
+ {"matrix": [2, 0], "x": 2, "y": 0},
+ {"matrix": [1, 0], "x": 3, "y": 0.125},
+ {"matrix": [0, 0], "x": 4, "y": 0.375},
- {"label":"L10", "x":0, "y":1.25},
- {"label":"L11", "x":1, "y":1.125},
- {"label":"L12", "x":2, "y":1},
- {"label":"L13", "x":3, "y":1.125},
- {"label":"L14", "x":4, "y":1.375},
- {"label":"R10", "x":8, "y":1.375},
- {"label":"R11", "x":9, "y":1.125},
- {"label":"R12", "x":10, "y":1},
- {"label":"R13", "x":11, "y":1.125},
- {"label":"R14", "x":12, "y":1.25},
+ {"matrix": [5, 0], "x": 8, "y": 0.375},
+ {"matrix": [6, 0], "x": 9, "y": 0.125},
+ {"matrix": [7, 0], "x": 10, "y": 0},
+ {"matrix": [8, 0], "x": 11, "y": 0.125},
+ {"matrix": [9, 0], "x": 12, "y": 0.25},
- {"label":"L20", "x":0, "y":2.25},
- {"label":"L21", "x":1, "y":2.125},
- {"label":"L22", "x":2, "y":2},
- {"label":"L23", "x":3, "y":2.125},
- {"label":"L24", "x":4, "y":2.375},
- {"label":"R20", "x":8, "y":2.375},
- {"label":"R21", "x":9, "y":2.125},
- {"label":"R22", "x":10, "y":2},
- {"label":"R23", "x":11, "y":2.125},
- {"label":"R24", "x":12, "y":2.25},
+ {"matrix": [4, 1], "x": 0, "y": 1.25},
+ {"matrix": [3, 1], "x": 1, "y": 1.125},
+ {"matrix": [2, 1], "x": 2, "y": 1},
+ {"matrix": [1, 1], "x": 3, "y": 1.125},
+ {"matrix": [0, 1], "x": 4, "y": 1.375},
- {"label":"L30", "x":2, "y":3.5},
- {"label":"L31", "x":3.25, "y":3.625, "w":1.5},
- {"label":"L32", "x":5, "y":3.125, "h":2},
- {"label":"R30", "x":7, "y":3.125, "h":2},
- {"label":"R31", "x":8.25, "y":3.625, "w":1.5},
- {"label":"R32", "x":10, "y":3.5}
+ {"matrix": [5, 1], "x": 8, "y": 1.375},
+ {"matrix": [6, 1], "x": 9, "y": 1.125},
+ {"matrix": [7, 1], "x": 10, "y": 1},
+ {"matrix": [8, 1], "x": 11, "y": 1.125},
+ {"matrix": [9, 1], "x": 12, "y": 1.25},
+
+ {"matrix": [4, 2], "x": 0, "y": 2.25},
+ {"matrix": [3, 2], "x": 1, "y": 2.125},
+ {"matrix": [2, 2], "x": 2, "y": 2},
+ {"matrix": [1, 2], "x": 3, "y": 2.125},
+ {"matrix": [0, 2], "x": 4, "y": 2.375},
+
+ {"matrix": [5, 2], "x": 8, "y": 2.375},
+ {"matrix": [6, 2], "x": 9, "y": 2.125},
+ {"matrix": [7, 2], "x": 10, "y": 2},
+ {"matrix": [8, 2], "x": 11, "y": 2.125},
+ {"matrix": [9, 2], "x": 12, "y": 2.25},
+
+ {"matrix": [3, 3], "x": 2, "y": 3.5},
+ {"matrix": [2, 3], "x": 3.25, "y": 3.625, "w": 1.5},
+ {"matrix": [1, 3], "x": 5, "y": 3.125, "h": 2},
+
+ {"matrix": [6, 3], "x": 7, "y": 3.125, "h": 2},
+ {"matrix": [7, 3], "x": 8.25, "y": 3.625, "w": 1.5},
+ {"matrix": [8, 3], "x": 10, "y": 3.5}
]
}
}
diff --git a/keyboards/gboards/gergoplex/keymaps/colemak-dhm/keymap.c b/keyboards/gboards/gergoplex/keymaps/colemak-dhm/keymap.c
index 19b5f122ca..4303ef4165 100644
--- a/keyboards/gboards/gergoplex/keymaps/colemak-dhm/keymap.c
+++ b/keyboards/gboards/gergoplex/keymaps/colemak-dhm/keymap.c
@@ -3,7 +3,7 @@
* https://github.com/qmk/qmk_firmware/blob/master/docs/keycodes.md
*/
-#include "gergoplex.h"
+#include QMK_KEYBOARD_H
#include "g/keymap_combo.h"
enum {