diff options
author | Daniel Shields <daniel.shields@bcs.org> | 2018-09-20 00:33:00 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-19 16:33:00 -0700 |
commit | 6cab5140368c006030f35a9c7eaa946b0fdd78ef (patch) | |
tree | 89e8b27f797bfedeac40b44310bc906dbd9be345 /keyboards/model01/keymaps/dshields/config.h | |
parent | 5b4bcfa7f2530ad12ef801101933aba6ac46acb2 (diff) | |
download | firmware-6cab5140368c006030f35a9c7eaa946b0fdd78ef.tar.gz firmware-6cab5140368c006030f35a9c7eaa946b0fdd78ef.tar.bz2 firmware-6cab5140368c006030f35a9c7eaa946b0fdd78ef.zip |
Keymap: Initial commit of dshields keymap for the model01 keyboard. (#3942)
Diffstat (limited to 'keyboards/model01/keymaps/dshields/config.h')
-rw-r--r-- | keyboards/model01/keymaps/dshields/config.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/model01/keymaps/dshields/config.h b/keyboards/model01/keymaps/dshields/config.h new file mode 100644 index 000000000..86a4dd531 --- /dev/null +++ b/keyboards/model01/keymaps/dshields/config.h @@ -0,0 +1,31 @@ +#pragma once + +#define _______ KC_TRNS +#define XXXXXXX KC_NO + +#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_FUN OSL(FUN) + +// one-shot modifier keys +#define OSMLCTL OSM(MOD_LCTL) +#define OSMRCTL OSM(MOD_RCTL) +#define OSMLALT OSM(MOD_LALT) +#define OSMRALT OSM(MOD_RALT) +#define OSMLSFT OSM(MOD_LSFT) +#define OSMRSFT OSM(MOD_RSFT) + |