aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/lovelive9/config.h
diff options
context:
space:
mode:
authorGravatar ginjake <hsginjake123@gmail.com>2019-03-15 07:54:16 +0900
committerGravatar Drashna Jaelre <drashna@live.com>2019-03-14 15:54:16 -0700
commitc025d813baf7ca1dcd427b293b36603339ac31f7 (patch)
tree71743842395932a0eb3fa89f339c2dfd81d18656 /keyboards/handwired/lovelive9/config.h
parent577e99f1954347380dcde6f7160d95c6a38677d5 (diff)
downloadqmk_firmware-c025d813baf7ca1dcd427b293b36603339ac31f7.tar.gz
[Keyboard] new keyboard lovelive9 (#5266)
* new keyboard lovelive9 * Update keyboards/lovelive9/config.h thank you Co-Authored-By: ginjake <hsginjake123@gmail.com> * Apply suggestions from code review Co-Authored-By: ginjake <hsginjake123@gmail.com> * fix review * fix readme * move handwired * Update keyboards/handwired/lovelive9/keymaps/default/keymap.c thanks Co-Authored-By: ginjake <hsginjake123@gmail.com> * Apply suggestions from code review commit suggestion Co-Authored-By: ginjake <hsginjake123@gmail.com> * fix spell miss * fix review * fix col and row * fix layout define
Diffstat (limited to 'keyboards/handwired/lovelive9/config.h')
-rw-r--r--keyboards/handwired/lovelive9/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/handwired/lovelive9/config.h b/keyboards/handwired/lovelive9/config.h
new file mode 100644
index 000000000..c11a25df6
--- /dev/null
+++ b/keyboards/handwired/lovelive9/config.h
@@ -0,0 +1,39 @@
+
+
+#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 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