diff options
Diffstat (limited to 'keyboards/handwired/onekey')
| -rw-r--r-- | keyboards/handwired/onekey/pytest/config.h | 23 | ||||
| -rw-r--r-- | keyboards/handwired/onekey/pytest/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/handwired/onekey/pytest/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/handwired/onekey/pytest/templates/keymap.c | 1 |
4 files changed, 29 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/pytest/config.h b/keyboards/handwired/onekey/pytest/config.h new file mode 100644 index 000000000..f6bedcfe6 --- /dev/null +++ b/keyboards/handwired/onekey/pytest/config.h | |||
| @@ -0,0 +1,23 @@ | |||
| 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 new file mode 100644 index 000000000..dbbd991f1 --- /dev/null +++ b/keyboards/handwired/onekey/pytest/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # PyTest onekey | ||
| 2 | |||
| 3 | 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 new file mode 100644 index 000000000..b17a3d031 --- /dev/null +++ b/keyboards/handwired/onekey/pytest/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = STM32F303 | ||
diff --git a/keyboards/handwired/onekey/pytest/templates/keymap.c b/keyboards/handwired/onekey/pytest/templates/keymap.c new file mode 100644 index 000000000..d355210c4 --- /dev/null +++ b/keyboards/handwired/onekey/pytest/templates/keymap.c | |||
| @@ -0,0 +1 @@ | |||
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {__KEYMAP_GOES_HERE__}; | |||
