mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
40 lines
834 B
C
40 lines
834 B
C
#ifndef CONFIG_USER_H
|
|
#define CONFIG_USER_H
|
|
|
|
#include "../../config.h"
|
|
|
|
#define _______ KC_TRNS
|
|
#define XXXXXXX KC_NO
|
|
#define PREVENT_STUCK_MODIFIERS
|
|
|
|
#define USB_MAX_POWER_CONSUMPTION 100
|
|
#define ONESHOT_TAP_TOGGLE 2
|
|
#define ONESHOT_TIMEOUT 3000
|
|
|
|
#define MOUSEKEY_INTERVAL 20
|
|
#define MOUSEKEY_DELAY 0
|
|
#define MOUSEKEY_TIME_TO_MAX 40
|
|
#define MOUSEKEY_MAX_SPEED 7
|
|
#define MOUSEKEY_WHEEL_DELAY 0
|
|
|
|
// 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)
|
|
#define OSL_FUN OSL(FUN)
|
|
|
|
// one-shot modifier keys
|
|
#define OSM_CTL OSM(MOD_LCTL)
|
|
#define OSM_ALT OSM(MOD_LALT)
|
|
#define OSM_SFT OSM(MOD_LSFT)
|
|
|
|
// mod-tap keys
|
|
#define MT_SPC SFT_T(KC_SPC)
|
|
|
|
#endif
|
|
|