[Keyboard] Move Handwired K552 into my folder name (#15973)

master
HorrorTroll 2022-01-22 12:31:27 +07:00 committed by GitHub
parent b131ebb8dd
commit 814821727e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 24 additions and 31 deletions

View File

@ -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
* it under the terms of the GNU General Public License as published by
@ -16,14 +16,11 @@
/*
* 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
#define CH_CFG_ST_TIMEDELTA 0
#define CH_CFG_USE_CONDVARS_TIMEOUT FALSE
#include_next <chconf.h>

View File

@ -19,23 +19,26 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x7516 //Redragon
#define VENDOR_ID 0x7516
#define PRODUCT_ID 0x5104
#define DEVICE_VER 0x0001
#define MANUFACTURER Redragon
#define MANUFACTURER HorrorTroll
#define PRODUCT K552 Kumara
/* Key matrix size */
#define MATRIX_ROWS 6
#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_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
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
/* Bootmagic reset */
#define BOOTMAGIC_LITE_ROW 4
#define BOOTMAGIC_LITE_COLUMN 6
@ -47,9 +50,6 @@
#define USB_POLLING_INTERVAL_MS 1
#define QMK_KEYS_PER_SCAN 12
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
/* EEPROM size */
#define EEPROM_PAGE_SIZE
#define FEE_PAGE_SIZE 0x800

View File

@ -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
* it under the terms of the GNU General Public License as published by
@ -16,7 +16,7 @@
/*
* 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

View File

@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "k552.h"
#include "handwired_k552.h"
// OLED animation
#include "lib/logo.c"

View File

@ -1,5 +1,5 @@
{
"keyboard_name": "Redragon K552 Kumara",
"keyboard_name": "Handwired K552 Kumara",
"url": "",
"maintainer": "HorrorTroll",
"layouts": {

View File

@ -14,10 +14,6 @@
* 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 <math.h>
@ -84,7 +80,7 @@ enum layer_keycodes {
RGB_C_E, //Cycle user effect
};
void keyboard_post_init_kb(void) {
void keyboard_post_init_user(void) {
user_config.raw = eeconfig_read_user();
switch (user_config.rgb_mode) {
case RGB_MODE_ALL:

View File

@ -17,3 +17,7 @@
#pragma once
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
#ifdef RGB_MATRIX_ENABLE
#define VIA_QMK_RGBLIGHT_ENABLE
#endif

View File

@ -14,10 +14,6 @@
* 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 <math.h>
@ -84,7 +80,7 @@ enum layer_keycodes {
RGB_C_E, //Cycle user effect
};
void keyboard_post_init_kb(void) {
void keyboard_post_init_user(void) {
user_config.raw = eeconfig_read_user();
switch (user_config.rgb_mode) {
case RGB_MODE_ALL:

View File

@ -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
* it under the terms of the GNU General Public License as published by
@ -16,7 +16,7 @@
/*
* 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

View File

@ -1,15 +1,15 @@
# Redragon K552 Kumara
# Handwired K552 Kumara
![K552](https://i.imgur.com/XpNmJpBh.png)
A handwired K552 Kumara. Built using STM32F103RCT6 Mini
* 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 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).