mirror of
https://github.com/qmk/qmk_firmware
synced 2025-01-03 13:40:36 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
60
keyboards/preonic/keymaps/era1112/config.h
Normal file
60
keyboards/preonic/keymaps/era1112/config.h
Normal file
@ -0,0 +1,60 @@
|
||||
// Copyright 2022 Era James(@Era1112)
|
||||
// SPDX - License - Identifier: GPL - 2.0 - or -later
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
//----------- Default statements -----------//
|
||||
//------------------------------------------//
|
||||
#define MUSIC_MASK (keycode < 0xFF)
|
||||
|
||||
/*
|
||||
* MIDI options
|
||||
*/
|
||||
|
||||
/* 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
|
||||
|
||||
|
||||
//----------- Added statements -------------//
|
||||
//------------------------------------------//
|
||||
#define TAPPING_TERM 200 // For tapdances
|
||||
|
||||
// Commented to see if it helps stalls on clicky mode #define DYNAMIC_MACRO_NO_NESTING // Improve dynamic macro stability
|
||||
#ifdef AUDIO_ENABLE
|
||||
#define AUDIO_INIT_DELAY // to make startup audio work
|
||||
#define STARTUP_SONG SONG(PREONIC_SOUND)
|
||||
#define AUDIO_CLICKY // enable clicky mode
|
||||
|
||||
// Clicky mode parameters
|
||||
#define AUDIO_CLICKY_FREQ_MIN 65.0f // Default 65
|
||||
#define AUDIO_CLICKY_FREQ_DEFAULT 800.0f // Default 440
|
||||
#define AUDIO_CLICKY_FREQ_MAX 1500.0f // Defaul 1500
|
||||
#define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f // Default 0.05
|
||||
#define AUDIO_CLICKY_DELAY_DURATION 0.1f // Default 1
|
||||
#endif //AUDIO_ENABLE
|
||||
|
||||
#define RGBLIGHT_SLEEP // RGB lights turn off when host sleeps
|
||||
|
||||
// Firmware minimization
|
||||
|
||||
// Commented to see if it helps stalls on clicky mode
|
||||
// #define NO_ACTION_ONESHOT
|
||||
// #undef LOCKING_SUPPORT_ENABLE
|
||||
// #undef LOCKING_RESYNC_ENABLE
|
||||
// #define NO_MUSIC_MODE
|
||||
// #define LAYER_STATE_8BIT // Limits keymap to 8 layers
|
||||
// #undef RGBLIGHT_ANIMATIONS // Removes rgb animations
|
365
keyboards/preonic/keymaps/era1112/keymap.c
Normal file
365
keyboards/preonic/keymaps/era1112/keymap.c
Normal file
File diff suppressed because it is too large
Load Diff
8
keyboards/preonic/keymaps/era1112/readme.md
Normal file
8
keyboards/preonic/keymaps/era1112/readme.md
Normal file
@ -0,0 +1,8 @@
|
||||
A preonic keymap that includes:
|
||||
- doubletap tapdance for caps lock
|
||||
- rotary encoder
|
||||
- macro record/playback
|
||||
- light on/off
|
||||
- sound on/off
|
||||
- blink-on-keypress w/ on/off keystroke
|
||||
- beep-on-keypress w/ on/off keystroke (this has stability issues when typing fast, still trying to remediate)
|
26
keyboards/preonic/keymaps/era1112/rules.mk
Normal file
26
keyboards/preonic/keymaps/era1112/rules.mk
Normal file
@ -0,0 +1,26 @@
|
||||
## Copyright 2022 Era James (@Era1112)
|
||||
## SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# DEFAULT STATEMENTS
|
||||
# ==================
|
||||
|
||||
SRC += muse.c
|
||||
|
||||
|
||||
# ADDED STATEMENTS
|
||||
# ================
|
||||
|
||||
AUDIO_ENABLE = yes # Audio output on
|
||||
TAP_DANCE_ENABLE = yes # For double-tap tapdances
|
||||
DYNAMIC_MACRO_ENABLE = yes # For dynamuic macros
|
||||
RGBLIGHT_ENABLE = yes # For RGB lighting functions
|
||||
ENCODER_ENABLE = yes # For Rotary encoders
|
||||
|
||||
|
||||
# Firmware minimization
|
||||
# Commented to see if it helps stalls on clicky mode
|
||||
CONSOLE_ENABLE = no
|
||||
#LTO_ENABLE = yes
|
||||
SPACE_CADET_ENABLE = no
|
||||
GRAVE_ESC_ENABLE = no
|
||||
MAGIC_ENABLE = no
|
Reference in New Issue
Block a user