summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-01-05 00:52:31 +0000
committerGitHub <noreply@github.com>2021-01-05 00:52:31 +0000
commitf03b10b6c1c9a5b0e07f7f78c6060610246b4a7f (patch)
tree7d9df975a5046b8d22b5f20694715287361f96a4 /keyboards/handwired/onekey
parent810eafad121bda333c53490e2d8a29f3a83d9c19 (diff)
Migrate python tests away from onekey (#11367)
* Migrate python tests away from onekey * Add stub files to stop lint complaints * Make all the pytest keymaps compile
Diffstat (limited to 'keyboards/handwired/onekey')
-rw-r--r--keyboards/handwired/onekey/keymaps/default_json/keymap.json9
-rw-r--r--keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c23
-rw-r--r--keyboards/handwired/onekey/pytest/.noci0
-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/onekey/pytest/templates/keymap.c2
-rw-r--r--keyboards/handwired/onekey/pytest/templates/keymap.json3
8 files changed, 0 insertions, 65 deletions
diff --git a/keyboards/handwired/onekey/keymaps/default_json/keymap.json b/keyboards/handwired/onekey/keymaps/default_json/keymap.json
deleted file mode 100644
index ce4c4b474d..0000000000
--- a/keyboards/handwired/onekey/keymaps/default_json/keymap.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "keyboard": "handwired/onekey/pytest",
- "keymap": "default_json",
- "layout": "LAYOUT_ortho_1x1",
- "layers": [["KC_A"]],
- "author": "qmk",
- "notes": "This file is a keymap.json file for handwired/onekey/pytest",
- "version": 1
-}
diff --git a/keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c b/keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c
deleted file mode 100644
index 4e06bb11ec..0000000000
--- a/keyboards/handwired/onekey/keymaps/pytest_nocpp/keymap.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#include QMK_KEYBOARD_H
-#include "audio.h"
-
-/* THIS FILE WAS GENERATED AND IS EXPERIMENTAL!
- *
- * This file was generated by qmk-compile-json. You may or may not want to
- * edit it directly.
- */
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(KC_ENTER)
-};
-
-void encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- if (clockwise) {
- tap_code(KC_UP);
- } else {
- tap_code(KC_DOWN);
- }
- }
-
-};
diff --git a/keyboards/handwired/onekey/pytest/.noci b/keyboards/handwired/onekey/pytest/.noci
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/handwired/onekey/pytest/.noci
+++ /dev/null
diff --git a/keyboards/handwired/onekey/pytest/config.h b/keyboards/handwired/onekey/pytest/config.h
deleted file mode 100644
index f6bedcfe64..0000000000
--- a/keyboards/handwired/onekey/pytest/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2019
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "config_common.h"
-
-#define MATRIX_COL_PINS { A3 }
-#define MATRIX_ROW_PINS { A2 }
-#define UNUSED_PINS
diff --git a/keyboards/handwired/onekey/pytest/readme.md b/keyboards/handwired/onekey/pytest/readme.md
deleted file mode 100644
index dbbd991f1c..0000000000
--- a/keyboards/handwired/onekey/pytest/readme.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# PyTest onekey
-
-This 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 b17a3d0316..0000000000
--- a/keyboards/handwired/onekey/pytest/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-# MCU name
-MCU = STM32F303
diff --git a/keyboards/handwired/onekey/pytest/templates/keymap.c b/keyboards/handwired/onekey/pytest/templates/keymap.c
deleted file mode 100644
index 6cb25d5226..0000000000
--- a/keyboards/handwired/onekey/pytest/templates/keymap.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#include QMK_KEYBOARD_H
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__};
diff --git a/keyboards/handwired/onekey/pytest/templates/keymap.json b/keyboards/handwired/onekey/pytest/templates/keymap.json
deleted file mode 100644
index 35344388f6..0000000000
--- a/keyboards/handwired/onekey/pytest/templates/keymap.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "documentation": "This file is a keymap.json file for handwired/onekey/pytest"
-}