Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
72dc5d5862
41 changed files with 24 additions and 31 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright 2020 QMK
|
/* Copyright 2021 HorrorTroll <https://github.com/HorrorTroll>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -16,14 +16,11 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file was auto-generated by:
|
* This file was auto-generated by:
|
||||||
* `qmk chibios-confmigrate -i keyboards/wolfmarkclub/wm1/chconf.h -r platforms/chibios/common/configs/chconf.h`
|
* `qmk chibios-confmigrate -i keyboards/horrortroll/handwired_k552/chconf.h -r platforms/chibios/common/configs/chconf.h`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define CH_CFG_ST_TIMEDELTA 0
|
#define CH_CFG_ST_TIMEDELTA 0
|
||||||
|
|
||||||
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
|
|
||||||
|
|
||||||
#include_next <chconf.h>
|
#include_next <chconf.h>
|
||||||
|
|
|
@ -19,23 +19,26 @@
|
||||||
#include "config_common.h"
|
#include "config_common.h"
|
||||||
|
|
||||||
/* USB Device descriptor parameter */
|
/* USB Device descriptor parameter */
|
||||||
#define VENDOR_ID 0x7516 //Redragon
|
#define VENDOR_ID 0x7516
|
||||||
#define PRODUCT_ID 0x5104
|
#define PRODUCT_ID 0x5104
|
||||||
#define DEVICE_VER 0x0001
|
#define DEVICE_VER 0x0001
|
||||||
#define MANUFACTURER Redragon
|
#define MANUFACTURER HorrorTroll
|
||||||
#define PRODUCT K552 Kumara
|
#define PRODUCT K552 Kumara
|
||||||
|
|
||||||
/* Key matrix size */
|
/* Key matrix size */
|
||||||
#define MATRIX_ROWS 6
|
#define MATRIX_ROWS 6
|
||||||
#define MATRIX_COLS 17
|
#define MATRIX_COLS 17
|
||||||
|
|
||||||
/* Key matrix pin 0 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 */
|
/* key matrix pins */
|
||||||
#define MATRIX_ROW_PINS { C12, C10, A10, A8, C8, C9 }
|
#define MATRIX_ROW_PINS { C12, C10, A10, A8, C8, C9 }
|
||||||
#define MATRIX_COL_PINS { B15, C6, C7, A3, A1, C3, C1, B14, B13, A9, B3, B4, A0, C11, A2, C0, C2 }
|
#define MATRIX_COL_PINS { B15, C6, C7, A3, A1, C3, C1, B14, B13, A9, B3, B4, A0, C11, A2, C0, C2 }
|
||||||
|
|
||||||
/* Direction of diode (COL2ROW or ROW2COL) */
|
/* COL2ROW or ROW2COL */
|
||||||
#define DIODE_DIRECTION ROW2COL
|
#define DIODE_DIRECTION ROW2COL
|
||||||
|
|
||||||
|
/* Set 0 if debouncing isn't needed */
|
||||||
|
#define DEBOUNCE 5
|
||||||
|
|
||||||
/* Bootmagic reset */
|
/* Bootmagic reset */
|
||||||
#define BOOTMAGIC_LITE_ROW 4
|
#define BOOTMAGIC_LITE_ROW 4
|
||||||
#define BOOTMAGIC_LITE_COLUMN 6
|
#define BOOTMAGIC_LITE_COLUMN 6
|
||||||
|
@ -47,9 +50,6 @@
|
||||||
#define USB_POLLING_INTERVAL_MS 1
|
#define USB_POLLING_INTERVAL_MS 1
|
||||||
#define QMK_KEYS_PER_SCAN 12
|
#define QMK_KEYS_PER_SCAN 12
|
||||||
|
|
||||||
/* Set 0 if debouncing isn't needed */
|
|
||||||
#define DEBOUNCE 5
|
|
||||||
|
|
||||||
/* EEPROM size */
|
/* EEPROM size */
|
||||||
#define EEPROM_PAGE_SIZE
|
#define EEPROM_PAGE_SIZE
|
||||||
#define FEE_PAGE_SIZE 0x800
|
#define FEE_PAGE_SIZE 0x800
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright 2020 QMK
|
/* Copyright 2021 HorrorTroll <https://github.com/HorrorTroll>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file was auto-generated by:
|
* This file was auto-generated by:
|
||||||
* `qmk chibios-confmigrate -i keyboards/wolfmarkclub/wm1/halconf.h -r platforms/chibios/common/configs/halconf.h`
|
* `qmk chibios-confmigrate -i keyboards/horrortroll/handwired_k552/halconf.h -r platforms/chibios/common/configs/halconf.h`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
|
@ -14,7 +14,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "k552.h"
|
#include "handwired_k552.h"
|
||||||
|
|
||||||
// OLED animation
|
// OLED animation
|
||||||
#include "lib/logo.c"
|
#include "lib/logo.c"
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"keyboard_name": "Redragon K552 Kumara",
|
"keyboard_name": "Handwired K552 Kumara",
|
||||||
"url": "",
|
"url": "",
|
||||||
"maintainer": "HorrorTroll",
|
"maintainer": "HorrorTroll",
|
||||||
"layouts": {
|
"layouts": {
|
|
@ -14,10 +14,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rgb_matrix.h"
|
|
||||||
#include "progmem.h"
|
|
||||||
#include "config.h"
|
|
||||||
#include "eeprom.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -84,7 +80,7 @@ enum layer_keycodes {
|
||||||
RGB_C_E, //Cycle user effect
|
RGB_C_E, //Cycle user effect
|
||||||
};
|
};
|
||||||
|
|
||||||
void keyboard_post_init_kb(void) {
|
void keyboard_post_init_user(void) {
|
||||||
user_config.raw = eeconfig_read_user();
|
user_config.raw = eeconfig_read_user();
|
||||||
switch (user_config.rgb_mode) {
|
switch (user_config.rgb_mode) {
|
||||||
case RGB_MODE_ALL:
|
case RGB_MODE_ALL:
|
|
@ -17,3 +17,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
|
||||||
|
|
||||||
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
|
#define VIA_QMK_RGBLIGHT_ENABLE
|
||||||
|
#endif
|
|
@ -14,10 +14,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rgb_matrix.h"
|
|
||||||
#include "progmem.h"
|
|
||||||
#include "config.h"
|
|
||||||
#include "eeprom.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
@ -84,7 +80,7 @@ enum layer_keycodes {
|
||||||
RGB_C_E, //Cycle user effect
|
RGB_C_E, //Cycle user effect
|
||||||
};
|
};
|
||||||
|
|
||||||
void keyboard_post_init_kb(void) {
|
void keyboard_post_init_user(void) {
|
||||||
user_config.raw = eeconfig_read_user();
|
user_config.raw = eeconfig_read_user();
|
||||||
switch (user_config.rgb_mode) {
|
switch (user_config.rgb_mode) {
|
||||||
case RGB_MODE_ALL:
|
case RGB_MODE_ALL:
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright 2020 QMK
|
/* Copyright 2021 HorrorTroll <https://github.com/HorrorTroll>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file was auto-generated by:
|
* This file was auto-generated by:
|
||||||
* `qmk chibios-confmigrate -i keyboards/wolfmarkclub/wm1/mcuconf.h -r platforms/chibios/STM32_F103_STM32DUINO/configs/mcuconf.h`
|
* `qmk chibios-confmigrate -i keyboards/horrortroll/handwired_k552/mcuconf.h -r platforms/chibios/STM32_F103_STM32DUINO/configs/mcuconf.h`
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
|
@ -1,15 +1,15 @@
|
||||||
# Redragon K552 Kumara
|
# Handwired K552 Kumara
|
||||||
|
|
||||||
![K552](https://i.imgur.com/XpNmJpBh.png)
|
![K552](https://i.imgur.com/XpNmJpBh.png)
|
||||||
|
|
||||||
A handwired K552 Kumara. Built using STM32F103RCT6 Mini
|
A handwired K552 Kumara. Built using STM32F103RCT6 Mini
|
||||||
|
|
||||||
* Keyboard Maintainer: [HorrorTroll](https://github.com/HorrorTroll)
|
* Keyboard Maintainer: [HorrorTroll](https://github.com/HorrorTroll)
|
||||||
* Hardware Supported: Redragon K552 Kumara and STM32F103RCT6 Mini
|
* Hardware Supported: STM32F103RCT6
|
||||||
|
|
||||||
Make example for this keyboard (after setting up your build environment):
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
make handwired/horrortroll/k552:default
|
make horrortroll/handwired_k552:default
|
||||||
|
|
||||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
||||||
|
|
Loading…
Reference in a new issue