forked from mirrors/qmk_userspace
[Keymap] Remove dynamic macro customization now it's a core feature. (#7301)
This commit is contained in:
parent
0483327fa6
commit
6fd88c1556
6 changed files with 7 additions and 18 deletions
|
@ -6,6 +6,7 @@
|
|||
#define ONESHOT_TIMEOUT 3000
|
||||
#define RETRO_TAPPING
|
||||
#define BACKLIGHT_BREATHING
|
||||
#define DYNAMIC_MACRO_NO_NESTING
|
||||
|
||||
#define MOUSEKEY_INTERVAL 20
|
||||
#define MOUSEKEY_DELAY 0
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
#include "quantum.h"
|
||||
#include "dshields.h"
|
||||
|
||||
extern bool process_record_dynamic_macro(uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
if (!process_record_dynamic_macro(keycode, record)) {
|
||||
return false;
|
||||
}
|
||||
if (keycode == KC_ESC && record->event.pressed) {
|
||||
bool rc = true;
|
||||
uint8_t mods = 0;
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
// dynamic macro keys
|
||||
#define DM_PLAY DYN_MACRO_PLAY1
|
||||
#define DM_STRT DYN_REC_START1
|
||||
#define DM_STOP DYN_REC_STOP
|
||||
|
||||
// one-shot layer keys
|
||||
#define OSL_RSE OSL(RSE)
|
||||
#define OSL_LWR OSL(LWR)
|
||||
|
@ -45,4 +40,3 @@
|
|||
#endif
|
||||
|
||||
enum layers { DEF, LWR, RSE, FUN };
|
||||
enum keycodes { DYNAMIC_MACRO_RANGE = SAFE_RANGE };
|
||||
|
|
|
@ -8,6 +8,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
|||
API_SYSEX_ENABLE = no
|
||||
SPACE_CADET_ENABLE = no
|
||||
LEADER_ENABLE = no
|
||||
DYNAMIC_MACRO_ENABLE = yes
|
||||
|
||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue