diff options
author | Sean Hunter <sean@uncarved.com> | 2017-09-13 22:47:48 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-09-13 17:47:48 -0400 |
commit | cf001300b31ead107179f0b56014326bb87537be (patch) | |
tree | 702bf491d897b5fe74024b1491aca8be4f97af13 /keyboards/planck/keymaps/sean/mymappings.h | |
parent | 63028dde82bcb47ea3fe960d94821cb88d277e0c (diff) | |
download | firmware-cf001300b31ead107179f0b56014326bb87537be.tar.gz firmware-cf001300b31ead107179f0b56014326bb87537be.tar.bz2 firmware-cf001300b31ead107179f0b56014326bb87537be.zip |
[planck] Adds Sean Hunter keymap(#1706)
* Sean Hunter initial keymap
* Update old map to sync it up with new one
* Add TODO
fix a few minor things
* small doc fixes
* Minor fixups
Diffstat (limited to 'keyboards/planck/keymaps/sean/mymappings.h')
-rw-r--r-- | keyboards/planck/keymaps/sean/mymappings.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/sean/mymappings.h b/keyboards/planck/keymaps/sean/mymappings.h new file mode 100644 index 000000000..cbb016e38 --- /dev/null +++ b/keyboards/planck/keymaps/sean/mymappings.h @@ -0,0 +1,39 @@ +//Defines etc for Sean Hunter's keymap. + +#include "keymap_extras/keymap_dvorak.h" + +#define PERMISSIVE_HOLD + +//Special hammerspoon keys +#define HMENU LCTL(LSFT(KC_BSLS)) +#define HRESET LCTL(LSFT(KC_EQL)) +#define HRVL LCTL(LSFT(KC_SLSH)) + +//Make virtual desktops a little easier on i3 (otherwise on this keyboard they're awkward +#define GUI_1 LGUI(KC_1) +#define GUI_2 LGUI(KC_2) +#define GUI_3 LGUI(KC_3) +#define GUI_4 LGUI(KC_4) +#define GUI_5 LGUI(KC_5) +#define GUI_6 LGUI(KC_6) +#define GUI_7 LGUI(KC_7) +#define GUI_8 LGUI(KC_8) +#define GUI_9 LGUI(KC_9) +#define GUI_10 LGUI(KC_0) + +//Abbreviations for mouse keys +#define KC_MUP KC_MS_UP +#define KC_MDN KC_MS_DOWN +#define KC_MLFT KC_MS_LEFT +#define KC_MRGT KC_MS_RIGHT +#define KC_MB1 KC_MS_BTN1 +#define KC_MB2 KC_MS_BTN2 +#define KC_MB3 KC_MS_BTN3 +#define KC_MB4 KC_MS_BTN4 +#define KC_MB5 KC_MS_BTN5 +#define KC_MWUP KC_MS_WH_UP +#define KC_MWDN KC_MS_WH_DOWN + +// Fillers to make layering more clear +#define _______ KC_TRNS +#define XXXXXXX KC_NO |