aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/onekey/pytest/config.h23
-rw-r--r--keyboards/handwired/onekey/pytest/readme.md3
-rw-r--r--keyboards/handwired/onekey/pytest/rules.mk2
-rw-r--r--keyboards/handwired/pytest/.noci (renamed from keyboards/handwired/onekey/pytest/.noci)0
-rw-r--r--keyboards/handwired/pytest/basic/.noci0
-rw-r--r--keyboards/handwired/pytest/basic/keymaps/default/keymap.c5
-rw-r--r--keyboards/handwired/pytest/basic/keymaps/default_json/keymap.json (renamed from keyboards/handwired/onekey/keymaps/default_json/keymap.json)4
-rw-r--r--keyboards/handwired/pytest/basic/readme.md0
-rw-r--r--keyboards/handwired/pytest/basic/rules.mk1
-rw-r--r--keyboards/handwired/pytest/config.h18
-rw-r--r--keyboards/handwired/pytest/has_community/.noci0
-rw-r--r--keyboards/handwired/pytest/has_community/readme.md0
-rw-r--r--keyboards/handwired/pytest/has_community/rules.mk3
-rw-r--r--keyboards/handwired/pytest/has_template/.noci0
-rw-r--r--keyboards/handwired/pytest/has_template/keymaps/.noci0
-rw-r--r--keyboards/handwired/pytest/has_template/keymaps/default/keymap.c5
-rw-r--r--keyboards/handwired/pytest/has_template/keymaps/default_json/keymap.json9
-rw-r--r--keyboards/handwired/pytest/has_template/keymaps/nocpp/keymap.c (renamed from keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c)0
-rw-r--r--keyboards/handwired/pytest/has_template/readme.md0
-rw-r--r--keyboards/handwired/pytest/has_template/rules.mk1
-rw-r--r--keyboards/handwired/pytest/has_template/templates/keymap.c (renamed from keyboards/handwired/onekey/pytest/templates/keymap.c)0
-rw-r--r--keyboards/handwired/pytest/has_template/templates/keymap.json (renamed from keyboards/handwired/onekey/pytest/templates/keymap.json)2
-rw-r--r--keyboards/handwired/pytest/pytest.h11
23 files changed, 56 insertions, 31 deletions
diff --git a/keyboards/handwired/onekey/pytest/config.h b/keyboards/handwired/onekey/pytest/config.h
deleted file mode 100644
index f6bedcfe6..000000000
--- a/keyboards/handwired/onekey/pytest/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
1/* Copyright 2019
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21#define MATRIX_COL_PINS { A3 }
22#define MATRIX_ROW_PINS { A2 }
23#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/pytest/readme.md b/keyboards/handwired/onekey/pytest/readme.md
deleted file mode 100644
index dbbd991f1..000000000
--- a/keyboards/handwired/onekey/pytest/readme.md
+++ /dev/null
@@ -1,3 +0,0 @@
1# PyTest onekey
2
3This is used by the python test framework. It's probably not useful otherwise.
diff --git a/keyboards/handwired/onekey/pytest/rules.mk b/keyboards/handwired/onekey/pytest/rules.mk
deleted file mode 100644
index b17a3d031..000000000
--- a/keyboards/handwired/onekey/pytest/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
1# MCU name
2MCU = STM32F303
diff --git a/keyboards/handwired/onekey/pytest/.noci b/keyboards/handwired/pytest/.noci
index e69de29bb..e69de29bb 100644
--- a/keyboards/handwired/onekey/pytest/.noci
+++ b/keyboards/handwired/pytest/.noci
diff --git a/keyboards/handwired/pytest/basic/.noci b/keyboards/handwired/pytest/basic/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/basic/.noci
diff --git a/keyboards/handwired/pytest/basic/keymaps/default/keymap.c b/keyboards/handwired/pytest/basic/keymaps/default/keymap.c
new file mode 100644
index 000000000..a5782f7a1
--- /dev/null
+++ b/keyboards/handwired/pytest/basic/keymaps/default/keymap.c
@@ -0,0 +1,5 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4 LAYOUT_ortho_1x1(KC_A)
5};
diff --git a/keyboards/handwired/onekey/keymaps/default_json/keymap.json b/keyboards/handwired/pytest/basic/keymaps/default_json/keymap.json
index ce4c4b474..e162e4139 100644
--- a/keyboards/handwired/onekey/keymaps/default_json/keymap.json
+++ b/keyboards/handwired/pytest/basic/keymaps/default_json/keymap.json
@@ -1,9 +1,9 @@
1{ 1{
2 "keyboard": "handwired/onekey/pytest", 2 "keyboard": "handwired/pytest/basic",
3 "keymap": "default_json", 3 "keymap": "default_json",
4 "layout": "LAYOUT_ortho_1x1", 4 "layout": "LAYOUT_ortho_1x1",
5 "layers": [["KC_A"]], 5 "layers": [["KC_A"]],
6 "author": "qmk", 6 "author": "qmk",
7 "notes": "This file is a keymap.json file for handwired/onekey/pytest", 7 "notes": "This file is a keymap.json file for handwired/pytest/basic",
8 "version": 1 8 "version": 1
9} 9}
diff --git a/keyboards/handwired/pytest/basic/readme.md b/keyboards/handwired/pytest/basic/readme.md
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/basic/readme.md
diff --git a/keyboards/handwired/pytest/basic/rules.mk b/keyboards/handwired/pytest/basic/rules.mk
new file mode 100644
index 000000000..6b42774db
--- /dev/null
+++ b/keyboards/handwired/pytest/basic/rules.mk
@@ -0,0 +1 @@
MCU = atmega32u4
diff --git a/keyboards/handwired/pytest/config.h b/keyboards/handwired/pytest/config.h
new file mode 100644
index 000000000..64cf35312
--- /dev/null
+++ b/keyboards/handwired/pytest/config.h
@@ -0,0 +1,18 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xFEED
7#define PRODUCT_ID 0x6465
8#define DEVICE_VER 0x0001
9#define MANUFACTURER none
10#define PRODUCT pytest
11
12/* key matrix size */
13#define MATRIX_ROWS 1
14#define MATRIX_COLS 1
15
16#define MATRIX_COL_PINS { F4 }
17#define MATRIX_ROW_PINS { F5 }
18#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/handwired/pytest/has_community/.noci b/keyboards/handwired/pytest/has_community/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/has_community/.noci
diff --git a/keyboards/handwired/pytest/has_community/readme.md b/keyboards/handwired/pytest/has_community/readme.md
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/has_community/readme.md
diff --git a/keyboards/handwired/pytest/has_community/rules.mk b/keyboards/handwired/pytest/has_community/rules.mk
new file mode 100644
index 000000000..4161649cb
--- /dev/null
+++ b/keyboards/handwired/pytest/has_community/rules.mk
@@ -0,0 +1,3 @@
1MCU = atmega32u4
2
3LAYOUTS = ortho_1x1
diff --git a/keyboards/handwired/pytest/has_template/.noci b/keyboards/handwired/pytest/has_template/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/.noci
diff --git a/keyboards/handwired/pytest/has_template/keymaps/.noci b/keyboards/handwired/pytest/has_template/keymaps/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/keymaps/.noci
diff --git a/keyboards/handwired/pytest/has_template/keymaps/default/keymap.c b/keyboards/handwired/pytest/has_template/keymaps/default/keymap.c
new file mode 100644
index 000000000..a5782f7a1
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/keymaps/default/keymap.c
@@ -0,0 +1,5 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4 LAYOUT_ortho_1x1(KC_A)
5};
diff --git a/keyboards/handwired/pytest/has_template/keymaps/default_json/keymap.json b/keyboards/handwired/pytest/has_template/keymaps/default_json/keymap.json
new file mode 100644
index 000000000..cbdce6db3
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/keymaps/default_json/keymap.json
@@ -0,0 +1,9 @@
1{
2 "keyboard": "handwired/pytest/has_template",
3 "keymap": "default_json",
4 "layout": "LAYOUT_ortho_1x1",
5 "layers": [["KC_A"]],
6 "author": "qmk",
7 "notes": "This file is a keymap.json file for handwired/pytest/has_template",
8 "version": 1
9}
diff --git a/keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c b/keyboards/handwired/pytest/has_template/keymaps/nocpp/keymap.c
index 4e06bb11e..4e06bb11e 100644
--- a/keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c
+++ b/keyboards/handwired/pytest/has_template/keymaps/nocpp/keymap.c
diff --git a/keyboards/handwired/pytest/has_template/readme.md b/keyboards/handwired/pytest/has_template/readme.md
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/readme.md
diff --git a/keyboards/handwired/pytest/has_template/rules.mk b/keyboards/handwired/pytest/has_template/rules.mk
new file mode 100644
index 000000000..6b42774db
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/rules.mk
@@ -0,0 +1 @@
MCU = atmega32u4
diff --git a/keyboards/handwired/onekey/pytest/templates/keymap.c b/keyboards/handwired/pytest/has_template/templates/keymap.c
index 6cb25d522..6cb25d522 100644
--- a/keyboards/handwired/onekey/pytest/templates/keymap.c
+++ b/keyboards/handwired/pytest/has_template/templates/keymap.c
diff --git a/keyboards/handwired/onekey/pytest/templates/keymap.json b/keyboards/handwired/pytest/has_template/templates/keymap.json
index 35344388f..04928564e 100644
--- a/keyboards/handwired/onekey/pytest/templates/keymap.json
+++ b/keyboards/handwired/pytest/has_template/templates/keymap.json
@@ -1,3 +1,3 @@
1{ 1{
2 "documentation": "This file is a keymap.json file for handwired/onekey/pytest" 2 "documentation": "This file is a keymap.json file for handwired/pytest/has_template"
3} 3}
diff --git a/keyboards/handwired/pytest/pytest.h b/keyboards/handwired/pytest/pytest.h
new file mode 100644
index 000000000..b8fe7dde5
--- /dev/null
+++ b/keyboards/handwired/pytest/pytest.h
@@ -0,0 +1,11 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT_ortho_1x1( \
6 k00 \
7) { \
8 { k00 } \
9}
10
11#define LAYOUT LAYOUT_ortho_1x1