2017-05-05 19:41:13 +06:00
|
|
|
#ifndef CONFIG_USER_H
|
|
|
|
#define CONFIG_USER_H
|
|
|
|
|
|
|
|
#include "../../config.h"
|
|
|
|
|
|
|
|
#define _______ KC_TRNS
|
|
|
|
#define XXXXXXX KC_NO
|
2017-12-08 20:33:24 +06:00
|
|
|
#define PREVENT_STUCK_MODIFIERS
|
2017-05-05 19:41:13 +06:00
|
|
|
|
2017-05-25 16:08:17 +06:00
|
|
|
#define USB_MAX_POWER_CONSUMPTION 100
|
|
|
|
#define ONESHOT_TAP_TOGGLE 2
|
2017-09-27 15:23:04 +06:00
|
|
|
#define ONESHOT_TIMEOUT 3000
|
2017-05-25 16:08:17 +06:00
|
|
|
|
|
|
|
#define MOUSEKEY_INTERVAL 20
|
|
|
|
#define MOUSEKEY_DELAY 0
|
|
|
|
#define MOUSEKEY_TIME_TO_MAX 40
|
|
|
|
#define MOUSEKEY_MAX_SPEED 7
|
|
|
|
#define MOUSEKEY_WHEEL_DELAY 0
|
2017-05-05 20:49:35 +06:00
|
|
|
|
2017-06-02 16:10:22 +06:00
|
|
|
// dynamic macro keys
|
2017-05-05 20:49:35 +06:00
|
|
|
#define DM_PLAY DYN_MACRO_PLAY1
|
|
|
|
#define DM_STRT DYN_REC_START1
|
|
|
|
#define DM_STOP DYN_REC_STOP
|
|
|
|
|
2017-06-02 16:10:22 +06:00
|
|
|
// one-shot layer keys
|
2017-05-05 20:49:35 +06:00
|
|
|
#define OSL_RSE OSL(RSE)
|
|
|
|
#define OSL_LWR OSL(LWR)
|
|
|
|
#define OSL_FUN OSL(FUN)
|
|
|
|
|
2017-06-02 16:10:22 +06:00
|
|
|
// one-shot modifier keys
|
2017-05-05 20:49:35 +06:00
|
|
|
#define OSM_CTL OSM(MOD_LCTL)
|
|
|
|
#define OSM_ALT OSM(MOD_LALT)
|
|
|
|
#define OSM_SFT OSM(MOD_LSFT)
|
|
|
|
|
2017-12-08 20:33:24 +06:00
|
|
|
// mod-tap keys
|
|
|
|
#define MT_SPC SFT_T(KC_SPC)
|
2017-06-02 16:10:22 +06:00
|
|
|
|
2017-05-05 19:41:13 +06:00
|
|
|
#endif
|
|
|
|
|