summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/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/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/config.h')
-rw-r--r--keyboards/handwired/onekey/config.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/keyboards/handwired/onekey/config.h b/keyboards/handwired/onekey/config.h
index 4a3042eeae..6f7ec1289f 100644
--- a/keyboards/handwired/onekey/config.h
+++ b/keyboards/handwired/onekey/config.h
@@ -15,14 +15,11 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
-
-#include "config_common.h"
+#pragma once
/* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0x6464
+#define PRODUCT_ID 0x6465
#define DEVICE_VER 0x0001
#define MANUFACTURER none
#define PRODUCT onekey
@@ -32,10 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 1
#define MATRIX_COLS 1
-#define MATRIX_COL_PINS { B0 }
-#define MATRIX_ROW_PINS { D0 }
-#define UNUSED_PINS
-
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
@@ -64,5 +57,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
-
-#endif