X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboard%2Fplanck%2Fconfig.h;h=d3719e0cb173c20cbd8ac3989d8ae2af2f89a0fe;hb=da7f259a1ff085946b87602905fca74577a29903;hp=bf783728fbff0fa1950f64b53cba5665d448fe41;hpb=cda23c754e4d16438e2b42d86b4ce9a1eadc03d7;p=qmk_firmware.git diff --git a/keyboard/planck/config.h b/keyboard/planck/config.h index bf783728f..d3719e0cb 100644 --- a/keyboard/planck/config.h +++ b/keyboard/planck/config.h @@ -18,11 +18,11 @@ along with this program. If not, see . #ifndef CONFIG_H #define CONFIG_H -#include "config_definitions.h" +#include "config_common.h" /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x6061 +#define PRODUCT_ID 0x6060 #define DEVICE_VER 0x0001 #define MANUFACTURER Ortholinear Keyboards #define PRODUCT The Planck Keyboard @@ -36,6 +36,9 @@ along with this program. If not, see . #define COLS (int []){ F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } #define ROWS (int []){ D0, D5, B5, B6 } +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST @@ -55,16 +58,25 @@ along with this program. If not, see . keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ ) +/* ws2812 RGB LED */ +#define ws2812_PORTREG PORTD +#define ws2812_DDRREG DDRD +#define ws2812_pin PD1 +#define RGBLED_NUM 28 // Number of LEDs +#define RGBLIGHT_HUE_STEP 10 +#define RGBLIGHT_SAT_STEP 17 +#define RGBLIGHT_VAL_STEP 17 + /* * Feature disable options * These options are also useful to firmware size reduction. */ /* disable debug print */ -// #define NO_DEBUG +#define NO_DEBUG /* disable print */ -// #define NO_PRINT +#define NO_PRINT /* disable action features */ //#define NO_ACTION_LAYER