mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 20:18:49 +06:00
9dae7f7d85
Use Right GUI as backspace key & 1ms polling interval on narze keymaps * Refactor & reimplement mod tap macros * Reduce tapping term * Update readme * Add narze userspace * Make use of narze userspace * Extract Superduper mode * Refactor Superduper mode * (Ergodox Infinity) Prevent stuck modifiers * Update ergodox_infinity/narze likewise * Add warning for building Infinity with docker * Fix include eeprom.h in superduper * Try enabling superduper mode with combo for ergodox infinity * Apply suggestions on #4546 * Convert to 4 spaces * Map backlight step key * Replace PLAY_NOTE_ARRAY * Fix superduper toggle * Re enable audio in planck rev4 * Use perform_space_cadet * Remove superduper mod tap triggers * Add readme for planck light firmware flashing command * Remove unused layers * Remove unused keycodes * Add backlight toggle * Remove unused songs & use DEFAULT_LAYER_SONGS * Update readme * Move includes to header file * Set RGUI & raise as backspace & unbind actual backspace * tmp * Fix qwerty doc * Use 1ms polling rate
49 lines
1.1 KiB
C
49 lines
1.1 KiB
C
#pragma once
|
|
|
|
/*
|
|
* 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
|
|
|
|
#undef TAPPING_TERM
|
|
#define TAPPING_TERM 100
|
|
|
|
#define COMBO_TERM 20
|
|
#define COMBO_COUNT 1
|
|
|
|
#define IGNORE_MOD_TAP_INTERRUPT
|
|
#define PERMISSIVE_HOLD
|
|
|
|
#define SUPER_DUPER_SOUND S__NOTE(_B1)
|
|
|
|
#define MOUSEKEY_DELAY 100
|
|
|
|
#define USB_POLLING_INTERVAL_MS 1
|
|
|
|
#ifdef AUDIO_ENABLE
|
|
#define STARTUP_SONG SONG(PLANCK_SOUND)
|
|
|
|
#define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
|
|
SONG(COLEMAK_SOUND), \
|
|
SONG(DVORAK_SOUND) \
|
|
}
|
|
#endif
|