~ruther/qmk_firmware

28120c1a63bbc64649765d9214b14e63709933aa — Alan Pocklington 3 years ago 128b4eb
[Keymap] ajp10304: add mouse scroll keys (#14953)

M keyboards/acheron/shark/keymaps/ajp10304/readme.md => keyboards/acheron/shark/keymaps/ajp10304/readme.md +2 -3
@@ 7,8 7,7 @@ the second is the output when shift is applied.
**Note:** The below tables assume a UK layout.

#### Flashing

`make acheron/shark:ajp10304:flash`
Refer to the README.md of the keyboard you want to flash.

##### Main Qwerty Layer



@@ 102,7 101,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      |      |      |      |      |      |      |

M keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c => keyboards/handwired/atreus50/keymaps/ajp10304/keymap.c +5 -5
@@ 112,7 112,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* Mouse
 * ,------------------------------------------             |-----------------------------------------.
 * | ESC  |      |      |      |      |      |             |      |      | BTN3 |      |      |      |
 * | ESC  |      |      |      |      |      |             | WH_L | WH_UP| BTN3 | WH_D | WH_R |      |
 * |------+------+------+------+------+-------             |------+------+------+------+------+------|
 * | ACC0 | ACC1 | ACC2 |      |      |      |             |      | BTN1 |  UP  | BTN2 |      |      |
 * |------+------+------+------+------+------|             |------+------+------+------+------+------|


@@ 122,10 122,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 * `-------------------------------------------------------------------------------------------------'
 */
[_MOUSE] = LAYOUT(
    KC_ESC ,      _______,      _______,      _______, _______, _______,                   _______, _______,    KC_MS_BTN3, _______,    _______, _______ ,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,                   _______, KC_MS_BTN1, KC_MS_UP,   KC_MS_BTN2,  _______, _______ ,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,                   _______, KC_MS_LEFT, KC_MS_DOWN, KC_MS_RIGHT, _______, _______ ,
    _______,      _______,      _______,      _______, _______, _______, _______, _______, _______, _______,    _______,    _______,     _______, _______
    KC_ESC ,      _______,      _______,      _______, _______, _______,                   KC_MS_WH_LEFT, KC_MS_WH_UP, KC_MS_BTN3, KC_MS_WH_DOWN, KC_MS_WH_RIGHT, _______ ,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,                   _______,       KC_MS_BTN1,  KC_MS_UP,   KC_MS_BTN2,    _______,        _______ ,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,                   _______,       KC_MS_LEFT,  KC_MS_DOWN, KC_MS_RIGHT,   _______,        _______ ,
    _______,      _______,      _______,      _______, _______, _______, _______, _______, _______,       _______,     _______,    _______,       _______,        _______
),



M keyboards/handwired/atreus50/keymaps/ajp10304/readme.md => keyboards/handwired/atreus50/keymaps/ajp10304/readme.md +2 -3
@@ 7,8 7,7 @@ the second is the output when shift is applied.
**Note:** The below tables assume a UK layout.

#### Flashing

`make handwired/atreus50:ajp10304:flash`
Refer to the README.md of the keyboard you want to flash.

##### Main Qwerty Layer



@@ 102,7 101,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      | Ctrl | Alt  |      |      |      |      |      |      |

M keyboards/kprepublic/jj40/keymaps/ajp10304/readme.md => keyboards/kprepublic/jj40/keymaps/ajp10304/readme.md +2 -4
@@ 7,9 7,7 @@ the second is the output when shift is applied.
**Note:** The below tables assume a UK layout.

#### Flashing
Use sleep to get a chance to get into boot mode.

`make jj40:ajp10304:flash`
Refer to the README.md of the keyboard you want to flash.

##### Main Qwerty Layer



@@ 103,7 101,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      |      |      |      |      |      |      |

M keyboards/planck/keymaps/ajp10304/readme.md => keyboards/planck/keymaps/ajp10304/readme.md +2 -4
@@ 7,9 7,7 @@ the second is the output when shift is applied.
**Note:** The below tables assume a UK layout.

#### Flashing
Rev <=5: `make planck:ajp10304:flash`

Rev 6: `make planck/rev6:ajp10304:flash`
Refer to the README.md of the keyboard you want to flash.

##### Main Qwerty Layer



@@ 103,7 101,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      |      |      |      |      |      |      |

M keyboards/quark/keymaps/ajp10304/readme.md => keyboards/quark/keymaps/ajp10304/readme.md +2 -3
@@ 7,8 7,7 @@ the second is the output when shift is applied.
**Note:** The below tables assume a UK layout.

#### Flashing

`make quark:ajp10304:flash`
Refer to the README.md of the keyboard you want to flash.

##### Main Qwerty Layer



@@ 102,7 101,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      |      |      |      |      |      |      |

M layouts/community/ortho_4x12/ajp10304/keymap.c => layouts/community/ortho_4x12/ajp10304/keymap.c +5 -5
@@ 111,7 111,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

/* Mouse
 * ,-----------------------------------------------------------------------------------.
 * | ESC  |      |      |      |      |      |      |      | BTN3 |      |      |      |
 * | ESC  |      |      |      |      |      | WH_L | WH_UP| BTN3 | WH_D | WH_R |      |
 * |------+------+------+------+------+-------------+------+------+------+------+------|
 * | ACC0 | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
 * |------+------+------+------+------+------|------+------+------+------+------+------|


@@ 121,10 121,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 * `-----------------------------------------------------------------------------------'
 */
[_MOUSE] = LAYOUT_ortho_4x12(
    KC_ESC ,      _______,      _______,      _______, _______, _______,   _______, _______,     KC_MS_BTN3, _______,     _______, _______,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,   _______, KC_MS_BTN1,  KC_MS_UP,   KC_MS_BTN2,   _______, _______,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,   _______, KC_MS_LEFT,  KC_MS_DOWN, KC_MS_RIGHT,  _______, _______,
    _______,      _______,      _______,      _______, _______, _______,   _______, _______,     _______,    _______,      _______, _______
    KC_ESC ,      _______,      _______,      _______, _______, _______,   KC_MS_WH_LEFT, KC_MS_WH_UP, KC_MS_BTN3, KC_MS_WH_DOWN, KC_MS_WH_RIGHT, _______,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,   _______,       KC_MS_BTN1,  KC_MS_UP,   KC_MS_BTN2,    _______,        _______,
    KC_MS_ACCEL0, KC_MS_ACCEL1, KC_MS_ACCEL2, _______, _______, _______,   _______,       KC_MS_LEFT,  KC_MS_DOWN, KC_MS_RIGHT,   _______,        _______,
    _______,      _______,      _______,      _______, _______, _______,   _______,       _______,     _______,    _______,       _______,        _______
),

/* Num Pad

M layouts/community/ortho_4x12/ajp10304/readme.md => layouts/community/ortho_4x12/ajp10304/readme.md +1 -1
@@ 101,7 101,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      |      |      |      |      |      |      |

M users/ajp10304/readme.md => users/ajp10304/readme.md +2 -2
@@ 1,4 1,4 @@
Copyright 2020 Alan Pocklington <ajp10304@gmail.com> @ajp10304
Copyright 2021 Alan Pocklington <ajp10304@gmail.com> @ajp10304

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by


@@ 116,7 116,7 @@ Activated when `fn` and `raise` held together.

|       |      |      |      |      |      |      |      |      |      |      |      |
| :---: | :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
| ESC   |      |      |      |      |      |      |      | BTN3 |      |      |      |
| ESC   |      |      |      |      |      | W_L  | W_UP | BTN3 | W_DWN| W_R  |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | BTN1 |  UP  | BTN2 |      |      |
| ACC0  | ACC1 | ACC2 |      |      |      |      | LEFT | DOWN | RIGHT|      |      |
|       |      |      |      |      |      |      |      |      |      |      |      |