Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
cf2f13fc77
30 changed files with 159 additions and 135 deletions
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||
# PyTest onekey
|
||||
|
||||
This is used by the python test framework. It's probably not useful otherwise.
|
|
@ -1,3 +0,0 @@
|
|||
# MCU name
|
||||
MCU = STM32F303
|
||||
BOARD = QMK_PROTON_C
|
0
keyboards/handwired/pytest/basic/.noci
Normal file
0
keyboards/handwired/pytest/basic/.noci
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT_ortho_1x1(KC_A)
|
||||
};
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"keyboard": "handwired/onekey/pytest",
|
||||
"keyboard": "handwired/pytest/basic",
|
||||
"keymap": "default_json",
|
||||
"layout": "LAYOUT_ortho_1x1",
|
||||
"layers": [["KC_A"]],
|
||||
"author": "qmk",
|
||||
"notes": "This file is a keymap.json file for handwired/onekey/pytest",
|
||||
"notes": "This file is a keymap.json file for handwired/pytest/basic",
|
||||
"version": 1
|
||||
}
|
0
keyboards/handwired/pytest/basic/readme.md
Normal file
0
keyboards/handwired/pytest/basic/readme.md
Normal file
1
keyboards/handwired/pytest/basic/rules.mk
Normal file
1
keyboards/handwired/pytest/basic/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
MCU = atmega32u4
|
18
keyboards/handwired/pytest/config.h
Normal file
18
keyboards/handwired/pytest/config.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6465
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER none
|
||||
#define PRODUCT pytest
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
#define MATRIX_COL_PINS { F4 }
|
||||
#define MATRIX_ROW_PINS { F5 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
0
keyboards/handwired/pytest/has_community/.noci
Normal file
0
keyboards/handwired/pytest/has_community/.noci
Normal file
0
keyboards/handwired/pytest/has_community/readme.md
Normal file
0
keyboards/handwired/pytest/has_community/readme.md
Normal file
3
keyboards/handwired/pytest/has_community/rules.mk
Normal file
3
keyboards/handwired/pytest/has_community/rules.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
MCU = atmega32u4
|
||||
|
||||
LAYOUTS = ortho_1x1
|
0
keyboards/handwired/pytest/has_template/.noci
Normal file
0
keyboards/handwired/pytest/has_template/.noci
Normal file
0
keyboards/handwired/pytest/has_template/keymaps/.noci
Normal file
0
keyboards/handwired/pytest/has_template/keymaps/.noci
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT_ortho_1x1(KC_A)
|
||||
};
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"keyboard": "handwired/pytest/has_template",
|
||||
"keymap": "default_json",
|
||||
"layout": "LAYOUT_ortho_1x1",
|
||||
"layers": [["KC_A"]],
|
||||
"author": "qmk",
|
||||
"notes": "This file is a keymap.json file for handwired/pytest/has_template",
|
||||
"version": 1
|
||||
}
|
0
keyboards/handwired/pytest/has_template/readme.md
Normal file
0
keyboards/handwired/pytest/has_template/readme.md
Normal file
1
keyboards/handwired/pytest/has_template/rules.mk
Normal file
1
keyboards/handwired/pytest/has_template/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
MCU = atmega32u4
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"documentation": "This file is a keymap.json file for handwired/onekey/pytest"
|
||||
"documentation": "This file is a keymap.json file for handwired/pytest/has_template"
|
||||
}
|
11
keyboards/handwired/pytest/pytest.h
Normal file
11
keyboards/handwired/pytest/pytest.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_ortho_1x1( \
|
||||
k00 \
|
||||
) { \
|
||||
{ k00 } \
|
||||
}
|
||||
|
||||
#define LAYOUT LAYOUT_ortho_1x1
|
Loading…
Add table
Add a link
Reference in a new issue