mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
61 lines
1.2 KiB
C
61 lines
1.2 KiB
C
|
#ifndef CONFIG_USER_H
|
||
|
#define CONFIG_USER_H
|
||
|
|
||
|
#include "../../config.h"
|
||
|
|
||
|
#define LEADER_TIMEOUT 300
|
||
|
//#define BACKLIGHT_BREATHING
|
||
|
#define PREVENT_STUCK_MODIFIERS
|
||
|
|
||
|
//audio clicky
|
||
|
#define AUDIO_CLICKY
|
||
|
// to enable clicky on startup
|
||
|
//#define AUDIO_CLICKY_ON
|
||
|
#define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f
|
||
|
|
||
|
/* ws2812 RGB LED
|
||
|
#define RGB_DI_PIN B5
|
||
|
#define RGBLIGHT_ANIMATIONS
|
||
|
#define RGBLED_NUM 8 // Number of LEDs
|
||
|
#define RGBLIGHT_HUE_STEP 10
|
||
|
#define RGBLIGHT_SAT_STEP 17
|
||
|
*/
|
||
|
#undef PLANCK_MIT_LAYOUT
|
||
|
|
||
|
#undef DEBOUNCE
|
||
|
#define DEBOUNCE 0
|
||
|
|
||
|
//rgb-reactive
|
||
|
#define RGB_MATRIX_KEYPRESSES
|
||
|
#define EECONFIG_RGB_MATRIX (uint32_t *)16
|
||
|
|
||
|
//skip usb startup check
|
||
|
//#define NO_USB_STARTUP_CHECK
|
||
|
|
||
|
|
||
|
/*
|
||
|
* MIDI options
|
||
|
*/
|
||
|
|
||
|
/* Prevent use of disabled MIDI features in the keymap */
|
||
|
//#define MIDI_ENABLE_STRICT 1
|
||
|
|
||
|
/* enable basic MIDI features:
|
||
|
- MIDI notes can be sent when in Music mode is on
|
||
|
*/
|
||
|
#define MIDI_BASIC
|
||
|
|
||
|
/* enable advanced MIDI features:
|
||
|
- MIDI notes can be added to the keymap
|
||
|
- Octave shift and transpose
|
||
|
- Virtual sustain, portamento, and modulation wheel
|
||
|
- etc.
|
||
|
*/
|
||
|
//#define MIDI_ADVANCED
|
||
|
|
||
|
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
||
|
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
||
|
|
||
|
|
||
|
#endif
|