diff options
author | Michael Pio <[email protected]> | 2018-07-25 23:18:36 +0800 |
---|---|---|
committer | Drashna Jaelre <[email protected]> | 2018-07-25 08:18:36 -0700 |
commit | c14e297ad586fa5686d51fdf2618fa87803a67c4 (patch) | |
tree | b79e6ab6856feb4481780a0fe54962476f69f286 /keyboards/handwired/qc60/proto/config.h | |
parent | 9ce35e823b945aca427f11e1a4ae26d6ea672ff4 (diff) | |
download | qmk_firmware-c14e297ad586fa5686d51fdf2618fa87803a67c4.tar.gz qmk_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.h | 14 |
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 0000000000..81466b0196 --- /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 |