[Keymap] ajp10304: add mouse scroll keys (#14953)
This commit is contained in:
		
							parent
							
								
									128b4eb005
								
							
						
					
					
						commit
						28120c1a63
					
				| @ -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|      |      | | ||||
| |       |      |      |      |      |      |      |      |      |      |      |      | | ||||
|  | ||||
| @ -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,7 +122,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||
|  * `-------------------------------------------------------------------------------------------------' | ||||
|  */ | ||||
| [_MOUSE] = LAYOUT( | ||||
|     KC_ESC ,      _______,      _______,      _______, _______, _______,                   _______, _______,    KC_MS_BTN3, _______,    _______, _______ , | ||||
|     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,   _______,        _______ , | ||||
|     _______,      _______,      _______,      _______, _______, _______, _______, _______, _______,       _______,     _______,    _______,       _______,        _______ | ||||
|  | ||||
| @ -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  |      |      |      |      |      |      | | ||||
|  | ||||
| @ -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|      |      | | ||||
| |       |      |      |      |      |      |      |      |      |      |      |      | | ||||
|  | ||||
| @ -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|      |      | | ||||
| |       |      |      |      |      |      |      |      |      |      |      |      | | ||||
|  | ||||
| @ -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|      |      | | ||||
| |       |      |      |      |      |      |      |      |      |      |      |      | | ||||
|  | ||||
| @ -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,7 +121,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||
|  * `-----------------------------------------------------------------------------------' | ||||
|  */ | ||||
| [_MOUSE] = LAYOUT_ortho_4x12( | ||||
|     KC_ESC ,      _______,      _______,      _______, _______, _______,   _______, _______,     KC_MS_BTN3, _______,     _______, _______, | ||||
|     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,   _______,        _______, | ||||
|     _______,      _______,      _______,      _______, _______, _______,   _______,       _______,     _______,    _______,       _______,        _______ | ||||
|  | ||||
| @ -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|      |      | | ||||
| |       |      |      |      |      |      |      |      |      |      |      |      | | ||||
|  | ||||
| @ -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|      |      | | ||||
| |       |      |      |      |      |      |      |      |      |      |      |      | | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user