diff options
author | Joel Challis <git@zvecr.com> | 2019-06-26 18:52:09 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-06-26 10:52:09 -0700 |
commit | 2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e (patch) | |
tree | 8f11977cbcc28ce6d4e6fa99ce87ddc879cdfa72 /keyboards/handwired/onekey/proton_c | |
parent | 01fb06af6c7d63a1338dc48d9a62e956ffcc6c3a (diff) | |
download | qmk_firmware-2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e.tar.gz qmk_firmware-2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e.zip |
[Keyboard] Refactor of onekey to support multiple development boards (#6017)
* Initial refactor of onekey to support multiple development boards
* Fixes to get teensy lc && 3.2 working
* Add pin tables
* Add caveats to Teensy boards
* Correct bootloader for Elite-C
Diffstat (limited to 'keyboards/handwired/onekey/proton_c')
-rw-r--r-- | keyboards/handwired/onekey/proton_c/config.h | 23 | ||||
-rw-r--r-- | keyboards/handwired/onekey/proton_c/readme.md | 3 | ||||
-rw-r--r-- | keyboards/handwired/onekey/proton_c/rules.mk | 2 |
3 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/proton_c/config.h b/keyboards/handwired/onekey/proton_c/config.h new file mode 100644 index 0000000000..f6bedcfe64 --- /dev/null +++ b/keyboards/handwired/onekey/proton_c/config.h @@ -0,0 +1,23 @@ +/* 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/proton_c/readme.md b/keyboards/handwired/onekey/proton_c/readme.md new file mode 100644 index 0000000000..0feedbbd46 --- /dev/null +++ b/keyboards/handwired/onekey/proton_c/readme.md @@ -0,0 +1,3 @@ +# Proton C onekey + +To trigger keypress, short together pins *A3* and *A2*. diff --git a/keyboards/handwired/onekey/proton_c/rules.mk b/keyboards/handwired/onekey/proton_c/rules.mk new file mode 100644 index 0000000000..b17a3d0316 --- /dev/null +++ b/keyboards/handwired/onekey/proton_c/rules.mk @@ -0,0 +1,2 @@ +# MCU name +MCU = STM32F303 |