Skip to content

Commit

Permalink
[Keymap] New keymap layout for dztech/dz65rgb/keymaps (qmk#8199)
Browse files Browse the repository at this point in the history
* New keymap layout for dztech/dz65rgb/keymaps

* New keymap layout for dztech/dz65rgb/keymaps
- Conding conventions fixes

* Fix typo in Leader Key table

* PR qmk#8199 Feedback Commit qmk#1

* Fixed data types and function names - Simplified accent macros by removing repetition - Added selection wrap macros - readme.md doc updated with changes

* PR qmk#8199 second feedback commit - Clarified function names, variables names and comments

* Fix: accent output fix _grave  <==> _circumflex

* dry fixes on led set_color with hsv and led blinking code blocks
  • Loading branch information
drootz authored and sowbug committed May 24, 2020
1 parent beee818 commit aefca2c
Show file tree
Hide file tree
Showing 4 changed files with 1,030 additions and 0 deletions.
52 changes: 52 additions & 0 deletions keyboards/dztech/dz65rgb/keymaps/drootz/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#pragma once

#define LEADER_PER_KEY_TIMING
#define LEADER_TIMEOUT 425
#define TAP_HOLD_CAPS_DELAY 80

#ifdef RGB_MATRIX_ENABLE
/* Reset default from dz65rgb/v2 config.h */
# undef DISABLE_RGB_MATRIX_SPLASH
# undef DISABLE_RGB_MATRIX_SOLID_SPLASH
# undef RGB_MATRIX_LED_FLUSH_LIMIT
# undef RGB_MATRIX_STARTUP_MODE
# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
# define RGB_MATRIX_LED_FLUSH_LIMIT 16 // default: 26
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_TYPING_HEATMAP
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
# define RGB_MATRIX_STARTUP_HUE 10
# define RGB_MATRIX_STARTUP_SAT 255
# define RGB_MATRIX_STARTUP_VAL 200
# define RGB_MATRIX_STARTUP_SPD 75
/* Active RBG Modes */
/* # define DISABLE_RGB_MATRIX_TYPING_HEATMAP // How hot is your WPM! */
/* # define DISABLE_RGB_MATRIX_SPLASH // Full gradient & value pulse away from a single key hit then fades value out */
/* # define DISABLE_RGB_MATRIX_SOLID_SPLASH // Hue & value pulse away from a single key hit then fades value out */
/* Disabling to optimize firmware size */
# define DISABLE_RGB_MATRIX_ALPHAS_MODS // Static dual hue, speed is hue for secondary hue
# define DISABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT // Static gradient left to right, speed controls how much gradient changes
# define DISABLE_RGB_MATRIX_BREATHING // Single hue brightness cycling animation
# define DISABLE_RGB_MATRIX_BAND_VAL // Single hue band fading brightness scrolling left to right
# define DISABLE_RGB_MATRIX_BAND_PINWHEEL_VAL // Single hue 3 blade spinning pinwheel fades brightness
# define DISABLE_RGB_MATRIX_BAND_SPIRAL_VAL // Single hue spinning spiral fades brightness
# define DISABLE_RGB_MATRIX_CYCLE_ALL // Full keyboard solid hue cycling through full gradient
# define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT // Full gradient scrolling left to right
# define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN // Full gradient scrolling top to bottom
# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN // Full gradient scrolling out to in
# define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL // Full dual gradients scrolling out to in
# define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON // Full gradent Chevron shapped scrolling left to right
# define DISABLE_RGB_MATRIX_CYCLE_PINWHEEL // Full gradient spinning pinwheel around center of keyboard
# define DISABLE_RGB_MATRIX_CYCLE_SPIRAL // Full gradient spinning spiral around center of keyboard
# define DISABLE_RGB_MATRIX_DUAL_BEACON // Full gradient spinning around center of keyboard
# define DISABLE_RGB_MATRIX_RAINBOW_BEACON // Full tighter gradient spinning around center of keyboard
# define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS // Full dual gradients spinning two halfs of keyboard
# define DISABLE_RGB_MATRIX_RAINDROPS // Randomly changes a single key's hue
# define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS // Randomly changes a single key's hue and saturation
# define DISABLE_RGB_MATRIX_SOLID_REACTIVE // Static single hue, pulses keys hit to shifted hue then fades to current hue
#endif /* RBG MATRIX */

/* Firmware size Optimizations */
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
#define NO_ACTION_ONESHOT
Loading

0 comments on commit aefca2c

Please sign in to comment.