summaryrefslogtreecommitdiff
path: root/keyboards/handwired/qc60/config.h
diff options
context:
space:
mode:
authorMichael Pio <mfmayol@up.edu.ph>2018-07-25 23:18:36 +0800
committerDrashna Jaelre <drashna@live.com>2018-07-25 08:18:36 -0700
commitc14e297ad586fa5686d51fdf2618fa87803a67c4 (patch)
treeb79e6ab6856feb4481780a0fe54962476f69f286 /keyboards/handwired/qc60/config.h
parent9ce35e823b945aca427f11e1a4ae26d6ea672ff4 (diff)
Keyboard: Add QC60 (#3472)
* Added initial files for QC60 prototype * renamed all 'keymap' to 'layout' * renamed layout macros to suggested naming convention of LAYOUT_macro_description * replaced boilerplate * removed rules.mk from keymap folders * replaced 'qc60/rev1' with 'qc60/proto' * replaced more boilerplate * renamed DEFAULT_FOLDER to point at the correct folder * updated readme
Diffstat (limited to 'keyboards/handwired/qc60/config.h')
-rw-r--r--keyboards/handwired/qc60/config.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/handwired/qc60/config.h b/keyboards/handwired/qc60/config.h
new file mode 100644
index 0000000000..3b6f84390b
--- /dev/null
+++ b/keyboards/handwired/qc60/config.h
@@ -0,0 +1,24 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x0C60
+#define DEVICE_VER 0x00C6
+#define MANUFACTURER PeiorisBoards
+#define PRODUCT QC60
+#define DESCRIPTION Split 60% staggered keyboard
+
+/* key matrix size */
+// Rows are doubled-up
+#define MATRIX_ROWS 10
+#define MATRIX_COLS 8
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCING_DELAY 5
+
+/* key combination for command */
+#define IS_COMMAND() ( \
+ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
+)