summaryrefslogtreecommitdiff
path: root/keyboards/handwired/pytest/config.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-01-05 00:52:31 +0000
committerGitHub <noreply@github.com>2021-01-05 00:52:31 +0000
commitf03b10b6c1c9a5b0e07f7f78c6060610246b4a7f (patch)
tree7d9df975a5046b8d22b5f20694715287361f96a4 /keyboards/handwired/pytest/config.h
parent810eafad121bda333c53490e2d8a29f3a83d9c19 (diff)
Migrate python tests away from onekey (#11367)
* Migrate python tests away from onekey * Add stub files to stop lint complaints * Make all the pytest keymaps compile
Diffstat (limited to 'keyboards/handwired/pytest/config.h')
-rw-r--r--keyboards/handwired/pytest/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/handwired/pytest/config.h b/keyboards/handwired/pytest/config.h
new file mode 100644
index 0000000000..64cf353126
--- /dev/null
+++ b/keyboards/handwired/pytest/config.h
@@ -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