aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/pytest
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/pytest')
-rw-r--r--keyboards/handwired/pytest/.noci0
-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.json9
-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.c23
-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.c2
-rw-r--r--keyboards/handwired/pytest/has_template/templates/keymap.json3
-rw-r--r--keyboards/handwired/pytest/pytest.h11
20 files changed, 90 insertions, 0 deletions
diff --git a/keyboards/handwired/pytest/.noci b/keyboards/handwired/pytest/.noci
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ 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/pytest/basic/keymaps/default_json/keymap.json b/keyboards/handwired/pytest/basic/keymaps/default_json/keymap.json
new file mode 100644
index 000000000..e162e4139
--- /dev/null
+++ b/keyboards/handwired/pytest/basic/keymaps/default_json/keymap.json
@@ -0,0 +1,9 @@
1{
2 "keyboard": "handwired/pytest/basic",
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/basic",
8 "version": 1
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/pytest/has_template/keymaps/nocpp/keymap.c b/keyboards/handwired/pytest/has_template/keymaps/nocpp/keymap.c
new file mode 100644
index 000000000..4e06bb11e
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/keymaps/nocpp/keymap.c
@@ -0,0 +1,23 @@
1#include QMK_KEYBOARD_H
2#include "audio.h"
3
4/* THIS FILE WAS GENERATED AND IS EXPERIMENTAL!
5 *
6 * This file was generated by qmk-compile-json. You may or may not want to
7 * edit it directly.
8 */
9
10const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
11 [0] = LAYOUT(KC_ENTER)
12};
13
14void encoder_update_user(uint8_t index, bool clockwise) {
15 if (index == 0) {
16 if (clockwise) {
17 tap_code(KC_UP);
18 } else {
19 tap_code(KC_DOWN);
20 }
21 }
22
23};
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/pytest/has_template/templates/keymap.c b/keyboards/handwired/pytest/has_template/templates/keymap.c
new file mode 100644
index 000000000..6cb25d522
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/templates/keymap.c
@@ -0,0 +1,2 @@
1#include QMK_KEYBOARD_H
2const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__};
diff --git a/keyboards/handwired/pytest/has_template/templates/keymap.json b/keyboards/handwired/pytest/has_template/templates/keymap.json
new file mode 100644
index 000000000..04928564e
--- /dev/null
+++ b/keyboards/handwired/pytest/has_template/templates/keymap.json
@@ -0,0 +1,3 @@
1{
2 "documentation": "This file is a keymap.json file for handwired/pytest/has_template"
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