Skip to content

Commit

Permalink
add old kb zq64
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaqian12 committed May 25, 2022
1 parent 68c6c84 commit 1c08062
Show file tree
Hide file tree
Showing 21 changed files with 707 additions and 32 deletions.
6 changes: 3 additions & 3 deletions keyboards/zhaqian/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
| zq11800 | 0x00AA | 0xAA0A | Solder | Atmel atmega32u4 | ENCODER, RGB |
| wave87 | 0x00AA | 0xAA0B | Hotswap | Atmel atmega32u4 | LOGORGB |
| zq980mini | 0x00AA | 0xAA0C | Hotswap | Atmel atmega32u4 | RGB, UGRGB |
| zq67rev2 | 0x00AA | 0xAA0D | Hotswap | ST stm32f103/f103 | RGB |
| zq64 | 0x00AA | 0xAA0E | Hotswap | Atmel atmega32u4 | RGB, ENCODER |
| zq68 | 0x00AA | 0xAA0F | Hotswap | Atmel atmega32u4 | RGB, ENCODER |
| zq67rev2 | 0x00AA | 0xAA0D | Hotswap | Atmel atmega32u4 | RGB |
| zq64 | 0x00AA | 0xAA0E | Hotswap | ST stm32f103/f103 | RGB, ENCODER |
| zq68 | 0x00AA | 0xAA0F | Hotswap | ST stm32f103/f103 | RGB, ENCODER |
| toxic67 | 0x00AA | 0xAA10 | Hotswap | Atmel atmega32u4 | RGB |
| zq46 | 0x00AA | 0xAA11 | Hotswap | ST stm32f401 | RGB, UGRGB, LOGORGB, ENCODER |
| osu | 0x00AA | 0xAA12 | Hotswap | ST stm32f401 | UGRGB |
Expand Down
6 changes: 3 additions & 3 deletions keyboards/zhaqian/readme_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
| zq11800 | 0x00AA | 0xAA0A | Solder | Atmel atmega32u4 | ENCODER, RGB |
| wave87 | 0x00AA | 0xAA0B | Hotswap | Atmel atmega32u4 | LOGORGB |
| zq980mini | 0x00AA | 0xAA0C | Hotswap | Atmel atmega32u4 | RGB, UGRGB |
| zq67rev2 | 0x00AA | 0xAA0D | Hotswap | ST stm32f103/f103 | RGB |
| zq64 | 0x00AA | 0xAA0E | Hotswap | Atmel atmega32u4 | RGB, ENCODER |
| zq68 | 0x00AA | 0xAA0F | Hotswap | Atmel atmega32u4 | RGB, ENCODER |
| zq67rev2 | 0x00AA | 0xAA0D | Hotswap | Atmel atmega32u4 | RGB |
| zq64 | 0x00AA | 0xAA0E | Hotswap | ST stm32f103/f103 | RGB, ENCODER |
| zq68 | 0x00AA | 0xAA0F | Hotswap | ST stm32f103/f103 | RGB, ENCODER |
| toxic67 | 0x00AA | 0xAA10 | Hotswap | Atmel atmega32u4 | RGB |
| zq46 | 0x00AA | 0xAA11 | Hotswap | ST stm32f401 | RGB, UGRGB, LOGORGB, ENCODER |
| osu | 0x00AA | 0xAA12 | Hotswap | ST stm32f401 | UGRGB |
Expand Down
23 changes: 23 additions & 0 deletions keyboards/zhaqian/zq64/board.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* Copyright 2020 Nick Brassel (tzarc)
*
* 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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

#include_next "board.h"

#undef STM32_HSECLK
#define STM32_HSECLK 8000000

24 changes: 24 additions & 0 deletions keyboards/zhaqian/zq64/chconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* Copyright 2020 QMK
*
* 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
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define CH_CFG_ST_FREQUENCY 10000

#define CH_CFG_ST_TIMEDELTA 0

#include_next <chconf.h>

75 changes: 75 additions & 0 deletions keyboards/zhaqian/zq64/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
/* Copyright 2022 ZhaQian
*
* 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
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include "config_common.h"

#define VENDOR_ID 0x00AA
#define PRODUCT_ID 0xAA0E
#define DEVICE_VER 0x0001
#define MANUFACTURER ZhaQian
#define PRODUCT zq64
#define DESCRIPTION Keyboard

#define MATRIX_ROWS 5
#define MATRIX_COLS 14

#define MATRIX_ROW_PINS { B15, A8, A9, B3, B10 }
#define MATRIX_COL_PINS { B12, B13, B14, A15, B4, B5, A2, A3, A4, A5, A6, A7, B0, B1}
#define UNUSED_PINS

#define DIODE_DIRECTION COL2ROW

#define DEBOUNCE 5

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE

// #define QMK_KEYS_PER_SCAN 12
// #define FORCE_NKRO

#ifdef RGB_MATRIX_ENABLE
#define RGB_DI_PIN A10
#define RGBLED_NUM 64
#define DRIVER_LED_TOTAL RGBLED_NUM
#define WS2812_PWM_DRIVER PWMD1
#define WS2812_PWM_CHANNEL 3
#define WS2812_PWM_PAL_MODE 2
#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
#define WS2812_DMA_CHANNEL 5
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
#define RGB_MATRIX_ANIMATION
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
#ifdef RGB_MATRIX_CUSTOM_KB
#define RGB_MATRIX_CUSTOM_ANIMATION
#endif
#define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50
#endif

#ifdef ENCODER_ENABLE
#define ENCODERS_PAD_A { A0 }
#define ENCODERS_PAD_B { A1 }
#define ENCODER_RESOLUTION 4
#ifdef ENCODER_TRIGGER_ENABLE
#define ENCODER_PAD_A_KEY_POS {4, 4}
#define ENCODER_PAD_B_KEY_POS {3, 4}
#endif
#endif


21 changes: 21 additions & 0 deletions keyboards/zhaqian/zq64/halconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* Copyright 2020 QMK
*
* 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
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#define HAL_USE_PWM TRUE

#include_next <halconf.h>
48 changes: 48 additions & 0 deletions keyboards/zhaqian/zq64/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Copyright 2022 ZhaQian
*
* 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
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "zq64.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
KC_LCTL, KC_LGUI, KC_LALT, KC_VOLD, KC_VOLU, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),

LAYOUT(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS,
KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),

LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),

LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
};
39 changes: 39 additions & 0 deletions keyboards/zhaqian/zq64/keymaps/default/rgb_matrix_kb.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#include "zqlib/rgb_matrix_effect/cycle_breathing.h"
#include "zqlib/rgb_matrix_effect/cycle_bandval.h"
#include "zqlib/rgb_matrix_effect/cycle_band_pinwheel_sat.h"
#include "zqlib/rgb_matrix_effect/cycle_band_pinwheel_val.h"
#include "zqlib/rgb_matrix_effect/cycle_band_spiral_sat.h"
#include "zqlib/rgb_matrix_effect/cycle_band_spiral_val.h"
#include "zqlib/rgb_matrix_effect/cycle_right_left.h"
#include "zqlib/rgb_matrix_effect/cycle_down_up.h"
#include "zqlib/rgb_matrix_effect/cycle_in_out.h"
#include "zqlib/rgb_matrix_effect/cycle_in_out_dual.h"
#include "zqlib/rgb_matrix_effect/fractal.h"
#include "zqlib/rgb_matrix_effect/fractal_rgb.h"
#include "zqlib/rgb_matrix_effect/kitt_rgb.h"
#include "zqlib/rgb_matrix_effect/cycle_sin_wave.h"
#include "zqlib/rgb_matrix_effect/rainbow_sin_wave.h"
#include "zqlib/rgb_matrix_effect/rainbow_sin_wave_reverse.h"
#include "zqlib/rgb_matrix_effect/alter.h"
#include "zqlib/rgb_matrix_effect/breathing_circle.h"
#include "zqlib/rgb_matrix_effect/bloom.h"
#include "zqlib/rgb_matrix_effect/commet.h"
#include "zqlib/rgb_matrix_effect/rotate_rainbow.h"
#include "zqlib/rgb_matrix_effect/motion_point.h"
#include "zqlib/rgb_matrix_effect/rotate_beam.h"
#include "zqlib/rgb_matrix_effect/stack.h"
#include "zqlib/rgb_matrix_effect/swap.h"
#include "zqlib/rgb_matrix_effect/zigzag.h"

#include "zqlib/rgb_matrix_effect/candy_tap.h"

#include "zqlib/rgb_matrix_effect/cycle_reactive_multiwide.h"
#include "zqlib/rgb_matrix_effect/cycle_reactive_multicross.h"
#include "zqlib/rgb_matrix_effect/cycle_reactive_multinexus.h"
#include "zqlib/rgb_matrix_effect/cycle_multisplash.h"


#include "zqlib/rgb_matrix_effect/reactive_multiwide_rgb.h"
#include "zqlib/rgb_matrix_effect/reactive_multicross_rgb.h"
#include "zqlib/rgb_matrix_effect/reactive_multinexus_rgb.h"

7 changes: 7 additions & 0 deletions keyboards/zhaqian/zq64/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ENCODER_ENABLE = yes
ENCODER_TRIGGER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
RGB_MATRIX_CUSTOM_KB = yes
WS2812_DRIVER = pwm
RADIAL_CONTROLLER_ENABLE = yes
48 changes: 48 additions & 0 deletions keyboards/zhaqian/zq64/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* Copyright 2022 ZhaQian
*
* 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
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "zq64.h"

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC,
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END,
KC_LCTL, KC_LGUI, KC_LALT, KC_VOLD, KC_VOLU, KC_SPC, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT),

LAYOUT(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS,
KC_TRNS, RGB_TOG, RGB_MOD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),

LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),

LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS)
};
39 changes: 39 additions & 0 deletions keyboards/zhaqian/zq64/keymaps/via/rgb_matrix_kb.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#include "zqlib/rgb_matrix_effect/cycle_breathing.h"
#include "zqlib/rgb_matrix_effect/cycle_bandval.h"
#include "zqlib/rgb_matrix_effect/cycle_band_pinwheel_sat.h"
#include "zqlib/rgb_matrix_effect/cycle_band_pinwheel_val.h"
#include "zqlib/rgb_matrix_effect/cycle_band_spiral_sat.h"
#include "zqlib/rgb_matrix_effect/cycle_band_spiral_val.h"
#include "zqlib/rgb_matrix_effect/cycle_right_left.h"
#include "zqlib/rgb_matrix_effect/cycle_down_up.h"
#include "zqlib/rgb_matrix_effect/cycle_in_out.h"
#include "zqlib/rgb_matrix_effect/cycle_in_out_dual.h"
#include "zqlib/rgb_matrix_effect/fractal.h"
#include "zqlib/rgb_matrix_effect/fractal_rgb.h"
#include "zqlib/rgb_matrix_effect/kitt_rgb.h"
#include "zqlib/rgb_matrix_effect/cycle_sin_wave.h"
#include "zqlib/rgb_matrix_effect/rainbow_sin_wave.h"
#include "zqlib/rgb_matrix_effect/rainbow_sin_wave_reverse.h"
#include "zqlib/rgb_matrix_effect/alter.h"
#include "zqlib/rgb_matrix_effect/breathing_circle.h"
#include "zqlib/rgb_matrix_effect/bloom.h"
#include "zqlib/rgb_matrix_effect/commet.h"
#include "zqlib/rgb_matrix_effect/rotate_rainbow.h"
#include "zqlib/rgb_matrix_effect/motion_point.h"
#include "zqlib/rgb_matrix_effect/rotate_beam.h"
#include "zqlib/rgb_matrix_effect/stack.h"
#include "zqlib/rgb_matrix_effect/swap.h"
#include "zqlib/rgb_matrix_effect/zigzag.h"

#include "zqlib/rgb_matrix_effect/candy_tap.h"

#include "zqlib/rgb_matrix_effect/cycle_reactive_multiwide.h"
#include "zqlib/rgb_matrix_effect/cycle_reactive_multicross.h"
#include "zqlib/rgb_matrix_effect/cycle_reactive_multinexus.h"
#include "zqlib/rgb_matrix_effect/cycle_multisplash.h"


#include "zqlib/rgb_matrix_effect/reactive_multiwide_rgb.h"
#include "zqlib/rgb_matrix_effect/reactive_multicross_rgb.h"
#include "zqlib/rgb_matrix_effect/reactive_multinexus_rgb.h"

11 changes: 11 additions & 0 deletions keyboards/zhaqian/zq64/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
VIA_ENABLE = yes
ENCODER_ENABLE = yes
ENCODER_TRIGGER_ENABLE = yes
RGB_MATRIX_ENABLE = yes
RGB_MATRIX_DRIVER = WS2812
RGB_MATRIX_CUSTOM_KB = yes
WS2812_DRIVER = pwm
RADIAL_CONTROLLER_ENABLE = yes
VIA_CUSTOM_KEYCODE_ENABLE = yes
LTO_ENABLE = yes

23 changes: 23 additions & 0 deletions keyboards/zhaqian/zq64/mcuconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/* Copyright 2020 QMK
*
* 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
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once

#include_next <mcuconf.h>

#undef STM32_PWM_USE_TIM1
#define STM32_PWM_USE_TIM1 TRUE

Loading

0 comments on commit 1c08062

Please sign in to comment.