qmk-firmware/keyboards/planck/keymaps/sean/mymappings.h
Sean Hunter cf001300b3 [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
2017-09-13 17:47:48 -04:00

40 lines
992 B
C

//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