summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/teensy_2/config.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-06-26 18:52:09 +0100
committerDrashna Jaelre <drashna@live.com>2019-06-26 10:52:09 -0700
commit2a56b61a28dde9e8ab0a9afcd22f913f988b2a0e (patch)
tree8f11977cbcc28ce6d4e6fa99ce87ddc879cdfa72 /keyboards/handwired/onekey/teensy_2/config.h
parent01fb06af6c7d63a1338dc48d9a62e956ffcc6c3a (diff)
[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/teensy_2/config.h')
-rw-r--r--keyboards/handwired/onekey/teensy_2/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/teensy_2/config.h b/keyboards/handwired/onekey/teensy_2/config.h
new file mode 100644
index 0000000000..fbcd630d79
--- /dev/null
+++ b/keyboards/handwired/onekey/teensy_2/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 { F4 }
+#define MATRIX_ROW_PINS { F5 }
+#define UNUSED_PINS