aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-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.mk3
-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
-rw-r--r--keyboards/kingly_keys/ave/ortho/keymaps/default/keymap.c47
-rw-r--r--keyboards/kingly_keys/ave/staggered/keymaps/default/keymap.c47
-rw-r--r--keyboards/nightly_boards/octopad/config.h4
26 files changed, 102 insertions, 84 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 4e157baed..000000000
--- a/keyboards/handwired/onekey/pytest/rules.mk
+++ /dev/null
@@ -1,3 +0,0 @@
1# MCU name
2MCU = STM32F303
3BOARD = QMK_PROTON_C
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
diff --git a/keyboards/kingly_keys/ave/ortho/keymaps/default/keymap.c b/keyboards/kingly_keys/ave/ortho/keymaps/default/keymap.c
index 4e195d43b..2074c7386 100644
--- a/keyboards/kingly_keys/ave/ortho/keymaps/default/keymap.c
+++ b/keyboards/kingly_keys/ave/ortho/keymaps/default/keymap.c
@@ -1,19 +1,19 @@
1 /* 1 /*
2 Copyright 2020 Garret Gartner 2 Copyright 2020 Garret Gartner
3 3
4 This program is free software: you can redistribute it and/or modify 4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or 6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version. 7 (at your option) any later version.
8 8
9 This program is distributed in the hope that it will be useful, 9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details. 12 GNU General Public License for more details.
13 13
14 You should have received a copy of the GNU General Public License 14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. 15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18#include QMK_KEYBOARD_H 18#include QMK_KEYBOARD_H
19 19
@@ -159,7 +159,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
159 159
160 160
161// KEYMAP TEMPLATE: 161// KEYMAP TEMPLATE:
162// 162//
163// /* <_LAYER>: 163// /* <_LAYER>:
164// * 164// *
165// * ┌────┐ ┌────┐ ┌────┬────┬────┐ 165// * ┌────┐ ┌────┐ ┌────┬────┬────┐
@@ -185,16 +185,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
185 185
186 186
187// Per-Key Tapping Term Definitions: 187// Per-Key Tapping Term Definitions:
188uint16_t get_tapping_term(uint16_t keycode) { 188uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
189 switch (keycode) { 189 switch (keycode) {
190 case TD(TD_DBQT): 190 case TD(TD_DBQT):
191 return 235; 191 return 235;
192 default: 192 default:
193 return TAPPING_TERM; 193 return TAPPING_TERM;
194 } 194 }
195} 195}
196 196
197
198// Encoder Customization: (*Order-of-Keycode Specific) 197// Encoder Customization: (*Order-of-Keycode Specific)
199void encoder_update_user(uint8_t index, bool clockwise) { 198void encoder_update_user(uint8_t index, bool clockwise) {
200 if (index == 0) { 199 if (index == 0) {
diff --git a/keyboards/kingly_keys/ave/staggered/keymaps/default/keymap.c b/keyboards/kingly_keys/ave/staggered/keymaps/default/keymap.c
index 16f469b53..8607c8e4e 100644
--- a/keyboards/kingly_keys/ave/staggered/keymaps/default/keymap.c
+++ b/keyboards/kingly_keys/ave/staggered/keymaps/default/keymap.c
@@ -1,19 +1,19 @@
1 /* 1 /*
2 Copyright 2020 Garret Gartner 2 Copyright 2020 Garret Gartner
3 3
4 This program is free software: you can redistribute it and/or modify 4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or 6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version. 7 (at your option) any later version.
8 8
9 This program is distributed in the hope that it will be useful, 9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details. 12 GNU General Public License for more details.
13 13
14 You should have received a copy of the GNU General Public License 14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>. 15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18#include QMK_KEYBOARD_H 18#include QMK_KEYBOARD_H
19 19
@@ -184,19 +184,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
184// ) 184// )
185 185
186 186
187
188// Per-Key Tapping Term Definitions: 187// Per-Key Tapping Term Definitions:
189uint16_t get_tapping_term(uint16_t keycode) { 188uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) {
190 switch (keycode) { 189 switch (keycode) {
191 case TD(TD_DBQT): 190 case TD(TD_DBQT):
192 return 235; 191 return 235;
193 default: 192 default:
194 return TAPPING_TERM; 193 return TAPPING_TERM;
195 } 194 }
196} 195}
197 196
198
199
200// Encoder Customization: (*Order-of-Keycode Specific) 197// Encoder Customization: (*Order-of-Keycode Specific)
201void encoder_update_user(uint8_t index, bool clockwise) { 198void encoder_update_user(uint8_t index, bool clockwise) {
202 if (index == 0) { 199 if (index == 0) {
diff --git a/keyboards/nightly_boards/octopad/config.h b/keyboards/nightly_boards/octopad/config.h
index fc8956d1d..1477ce93e 100644
--- a/keyboards/nightly_boards/octopad/config.h
+++ b/keyboards/nightly_boards/octopad/config.h
@@ -69,7 +69,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
69#define B5_AUDIO 69#define B5_AUDIO
70 70
71#define AUDIO_CLICKY 71#define AUDIO_CLICKY
72 72#define NO_MUSIC_MODE
73 73
74/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 74/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
75#define DEBOUNCE 5 75#define DEBOUNCE 5
@@ -81,5 +81,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
81#define LOCKING_SUPPORT_ENABLE 81#define LOCKING_SUPPORT_ENABLE
82/* Locking resynchronize hack */ 82/* Locking resynchronize hack */
83#define LOCKING_RESYNC_ENABLE 83#define LOCKING_RESYNC_ENABLE
84
85