Add mouse navigation keys on a new layer.
This commit is contained in:
parent
0cd070d814
commit
6b8fdb90bc
2 changed files with 1134 additions and 1086 deletions
File diff suppressed because it is too large
Load diff
|
@ -7,6 +7,7 @@
|
|||
#define FNX 1 // function keys
|
||||
#define NUM 2 // numeric keypad keys
|
||||
#define NAV 3 // navigation keys
|
||||
#define MSE 4 // mouse keys
|
||||
|
||||
#define KP_00 0
|
||||
|
||||
|
@ -22,7 +23,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* |--------+------+------+------+------+------|Delete| | NumLo|------+------+------+------+------+--------|
|
||||
* | E_CIRC |A_GRAV| Y | X | . | K | | | | ' | Q | G | H | F | C_CEDIL|
|
||||
* `--------+------+------+------+------+-------------,-------------. ,-------------`-------------+------+------+------+------+--------'
|
||||
* | | |LSuper| LCtrl| LAlt| | | | | |Insert| | AltGr| RCtrl|RSuper|PrntSc| Pause|
|
||||
* | | |LSuper| LCtrl| LAlt| | | L_Mse| | |Insert| | AltGr| RCtrl|RSuper|PrntSc| Pause|
|
||||
* `----------------------------------' ,------|------|------| |------+------+------. `----------------------------------'
|
||||
* | | | L_Num| | | | |
|
||||
* | Space| Tab |------| |------|RShift|Enter |
|
||||
|
@ -36,7 +37,7 @@ BP_PERCENT, BP_B, BP_E_ACUTE, BP_P, BP_O, BP_E_GRAVE, KC_BSPC,
|
|||
BP_W, BP_A, BP_U, BP_I, BP_E, BP_COMMA,
|
||||
BP_ECRC, BP_A_GRAVE, BP_Y, BP_X, BP_DOT, BP_K, KC_DEL,
|
||||
KC_NO, KC_NO, KC_LGUI, KC_LCTL, KC_LALT,
|
||||
KC_NO, KC_NO,
|
||||
KC_NO, MO(MSE),
|
||||
MO(NUM),
|
||||
KC_SPC, KC_TAB, MO(NAV),
|
||||
// Right hand
|
||||
|
@ -158,6 +159,43 @@ KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS,
|
|||
KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO,
|
||||
KC_NO,
|
||||
KC_NO, KC_TRNS, KC_NO),
|
||||
/* Keymap 4: mouse layer
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | |LClick| Up |RClick| WhUp | |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | |------| |------| | Left | Down | Right|WhDown| |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* `--------+------+------+------+------+-------------,-------------. ,-------------`-------------+------+------+------+------+--------'
|
||||
* | | | | | | | | | | | | | | | | | |
|
||||
* `----------------------------------' ,------|------|------| |------+------+------. `----------------------------------'
|
||||
* | | | | | | | |
|
||||
* | | |------| |------| | |
|
||||
* | | | | | | | |
|
||||
* `--------------------' `--------------------'
|
||||
*/
|
||||
[MSE] = KEYMAP(
|
||||
// Left hand
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_NO, KC_TRNS,
|
||||
KC_NO,
|
||||
KC_NO, KC_NO, KC_NO,
|
||||
// Right hand
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO, KC_MS_BTN1, KC_MS_UP, KC_MS_BTN2, KC_MS_WH_UP, KC_NO,
|
||||
KC_NO, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, KC_MS_WH_DOWN, KC_NO,
|
||||
KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_NO, KC_NO,
|
||||
KC_NO, KC_NO,
|
||||
KC_NO,
|
||||
KC_NO, KC_TRNS, KC_NO)
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue