summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/sean/mymappings.h
blob: 676cf018ebb8056c0e7131d2d8e185dbc1ffd50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//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