From c14e297ad586fa5686d51fdf2618fa87803a67c4 Mon Sep 17 00:00:00 2001 From: Michael Pio Date: Wed, 25 Jul 2018 23:18:36 +0800 Subject: 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 --- keyboards/handwired/qc60/proto/config.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 keyboards/handwired/qc60/proto/config.h (limited to 'keyboards/handwired/qc60/proto/config.h') 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 -- cgit v1.2.3