mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-27 11:06:37 +06:00
eb5d267e63
* Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards * Define diode direction for failing boards * Matching parentheses * Put onekey diode directions in top level config
42 lines
942 B
C
42 lines
942 B
C
|
|
|
|
#pragma once
|
|
#include "config_common.h"
|
|
|
|
/* USB Device descriptor parameter */
|
|
#define VENDOR_ID 0xFEED
|
|
#define PRODUCT_ID 0x0007
|
|
#define DEVICE_VER 0x0001
|
|
#define MANUFACTURER numazu Keyboards
|
|
#define PRODUCT lovelive9
|
|
#define DESCRIPTION lovelive sunshine Keyboards 9Key
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 1
|
|
#define MATRIX_COLS 9
|
|
|
|
/* default pin-out */
|
|
#define MATRIX_ROW_PINS { NO_PIN }
|
|
#define MATRIX_COL_PINS { B4, B6, B2, D7, B1, F7, F6, F5, F4 }
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
#define UNUSED_PINS
|
|
|
|
/* ws2812 RGB LED */
|
|
#define RGB_DI_PIN D3
|
|
|
|
#define RGBLED_NUM 9 // Number of LEDs
|
|
|
|
#define RGBLIGHT_ANIMATIONS
|
|
#define BACKLIGHT_LEVELS 5
|
|
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4
|
|
#define BREATHING_PERIOD 2
|
|
#define RGBLIGHT_LIMIT_VAL 255
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
#define RGBLIGHT_VAL_STEP 17
|
|
#define USB_MAX_POWER_CONSUMPTION 400
|
|
|
|
#define TAPPING_TERM 200
|