mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 12:48:52 +06:00
36 lines
906 B
C
36 lines
906 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
|