aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/qc60/proto/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/proto/config.h
parent9ce35e823b945aca427f11e1a4ae26d6ea672ff4 (diff)
downloadfirmware-c14e297ad586fa5686d51fdf2618fa87803a67c4.tar.gz
firmware-c14e297ad586fa5686d51fdf2618fa87803a67c4.tar.bz2
firmware-c14e297ad586fa5686d51fdf2618fa87803a67c4.zip
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/proto/config.h')
-rw-r--r--keyboards/handwired/qc60/proto/config.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/handwired/qc60/proto/config.h b/keyboards/handwired/qc60/proto/config.h
new file mode 100644
index 000000000..81466b019
--- /dev/null
+++ b/keyboards/handwired/qc60/proto/config.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "config_common.h"
+
+// wiring of each half
+#define MATRIX_ROW_PINS { F4, F5, C6, D7, E6 }
+#define MATRIX_COL_PINS { F7, F6, B1, B3, B2, B6, B5, B4 }
+#define DIODE_DIRECTION ROW2COL
+
+/* ws2812 RGB LED */
+#define RGB_DI_PIN D3
+#define RGBLED_NUM 1 // Number of LEDs
+// #define ws2812_PORTREG PORTD
+// #define ws2812_DDRREG DDRD