mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
d41961c9ed
* Fix my Tap Dance issues after I broke them * Cleanup and organization of userspace documentation As well as some additional cleanup of functions due to review of documentation. * Enable Tapdance on Glow and remove more animations * Revert to Eager PR debouncing * Add better check for startup animation * Move where RGB Matrix defines are listed * Limit RGB Matrix max val * Update keyboard for Iris Rev 3 conflicts * Enable encoder support on planck ez * Remove is_master check from corne\'s OLED code * Overhaul OLED screens for my Corne * One last removal * Show RGB valu On both sides * Updates for OLED display info * Fix compile issues for rgb config * Disabled Space Cadet for all drashna keymaps * Fix OLED Screen configs * Minor OLED Tweaks * Revert some Iris changes * Fix song include * Handle MAKE macro for the Corne boards better * Add super hacky-hack for eeconfig initialization * Add audio support for Fractal since Elite Cs support it * Add defines for keycode steps * Add White layout * Update Corne RGB info * Add fun effects to layer indication for RGB Matrix enabled boards * Use proper define for product name detection * Update formatting * Use custom timeout mechanism for OLED timeout * Fix up OLED screen HSV code for new HSV structure * Better handle turning off RGB Matrix when sleeping * Disable MultiSplash Animation * Change Iris back to using serial * Why was RGB disabled?!?!?! * Limit val in rgb_matrix_layer_helper function * Remove EECONFIG setting for RGB matrix
31 lines
516 B
C
31 lines
516 B
C
#pragma once
|
|
#include "drashna.h"
|
|
|
|
// define diablo macro timer variables
|
|
extern uint8_t diablo_times[];
|
|
typedef struct {
|
|
uint16_t timer;
|
|
uint8_t key_interval;
|
|
uint8_t keycode;
|
|
} diablo_timer_t;
|
|
|
|
typedef struct {
|
|
uint8_t index;
|
|
uint8_t keycode;
|
|
} diable_keys_t;
|
|
|
|
extern diablo_timer_t diablo_timer[];
|
|
|
|
void run_diablo_macro_check(void);
|
|
|
|
#ifdef TAP_DANCE_ENABLE
|
|
// clang-format off
|
|
enum {
|
|
TD_D3_1 = 0,
|
|
TD_D3_2,
|
|
TD_D3_3,
|
|
TD_D3_4
|
|
};
|
|
// clang-format on
|
|
#endif // TAP_DANCE_ENABLE
|