diff options
author | Daniel Shields <dshields@bats.com> | 2017-05-05 15:49:35 +0100 |
---|---|---|
committer | Daniel Shields <dshields@bats.com> | 2017-05-11 09:16:55 +0100 |
commit | eb3f80b92415c3d33d3819deb45739997cfa8a9a (patch) | |
tree | db4dcf0412a33f88b0c9bd3dcd54a312efbbf3ae /keyboards/planck/keymaps/dshields/config.h | |
parent | 9a8904a9c071730ef6712f8be93c38ac4b43fbdb (diff) | |
download | qmk_firmware-eb3f80b92415c3d33d3819deb45739997cfa8a9a.tar.gz qmk_firmware-eb3f80b92415c3d33d3819deb45739997cfa8a9a.zip |
Add new features to dshields keymap.
- one shot layers, dynamic macros and tap dance keys
- add a basic readme.md and layout image.
Diffstat (limited to 'keyboards/planck/keymaps/dshields/config.h')
-rw-r--r-- | keyboards/planck/keymaps/dshields/config.h | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/keyboards/planck/keymaps/dshields/config.h b/keyboards/planck/keymaps/dshields/config.h index 35358af0b0..4d5be0a268 100644 --- a/keyboards/planck/keymaps/dshields/config.h +++ b/keyboards/planck/keymaps/dshields/config.h @@ -1,23 +1,31 @@ #ifndef CONFIG_USER_H #define CONFIG_USER_H -#ifndef NO_DEBUG -#define NO_DEBUG -#endif -#ifndef NO_PRINT -#define NO_PRINT -#endif - #include "../../config.h" -#define TAPPING_TOGGLE 2 -#define TAPPING_TERM 300 - -#define ONESHOT_TAP_TOGGLE 2 -#define ONESHOT_TIMEOUT 300 - #define _______ KC_TRNS #define XXXXXXX KC_NO +#define ONESHOT_TAP_TOGGLE 2 +#define ONESHOT_TIMEOUT 500 + +#define MOUSEKEY_INTERVAL 20 +#define MOUSEKEY_DELAY 0 +#define MOUSEKEY_TIME_TO_MAX 60 +#define MOUSEKEY_MAX_SPEED 7 +#define MOUSEKEY_WHEEL_DELAY 0 + +#define DM_PLAY DYN_MACRO_PLAY1 +#define DM_STRT DYN_REC_START1 +#define DM_STOP DYN_REC_STOP + +#define OSL_RSE OSL(RSE) +#define OSL_LWR OSL(LWR) +#define OSL_FUN OSL(FUN) + +#define OSM_CTL OSM(MOD_LCTL) +#define OSM_ALT OSM(MOD_LALT) +#define OSM_SFT OSM(MOD_LSFT) + #endif |