forked from mirrors/qmk_userspace
		
	Alchemist Keyboards OGRN Layout Addition (#22080)
* Add layout/matrix diagram [docs] * Friendly-format `info.json` [style] * Add `LAYOUT_ortho_5x4` [enhancement] * Touch-up keymaps - update grid-alignment (layer-to-layer consistency) - fix box drawings [style] * Extend Community Layout support Add `ortho_5x4` to supported Community Layouts. [enhancement]
This commit is contained in:
		
					parent
					
						
							
								2742935c54
							
						
					
				
			
			
				commit
				
					
						05dfe9f9c5
					
				
			
		
					 4 changed files with 68 additions and 17 deletions
				
			
		| 
						 | 
					@ -30,29 +30,62 @@
 | 
				
			||||||
        "pid": "0x4F4E",
 | 
					        "pid": "0x4F4E",
 | 
				
			||||||
        "vid": "0x414B"
 | 
					        "vid": "0x414B"
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  "community_layouts": [
 | 
					    "community_layouts": [
 | 
				
			||||||
    "numpad_5x4"
 | 
					        "ortho_5x4",
 | 
				
			||||||
  ],
 | 
					        "numpad_5x4"
 | 
				
			||||||
 | 
					    ],
 | 
				
			||||||
    "layouts": {
 | 
					    "layouts": {
 | 
				
			||||||
 | 
					        "LAYOUT_ortho_5x4": {
 | 
				
			||||||
 | 
					            "layout": [
 | 
				
			||||||
 | 
					                {"matrix": [0, 0], "x": 0, "y": 0},
 | 
				
			||||||
 | 
					                {"matrix": [0, 1], "x": 1, "y": 0},
 | 
				
			||||||
 | 
					                {"matrix": [0, 2], "x": 2, "y": 0},
 | 
				
			||||||
 | 
					                {"matrix": [0, 3], "x": 3, "y": 0},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [1, 0], "x": 0, "y": 1},
 | 
				
			||||||
 | 
					                {"matrix": [1, 1], "x": 1, "y": 1},
 | 
				
			||||||
 | 
					                {"matrix": [1, 2], "x": 2, "y": 1},
 | 
				
			||||||
 | 
					                {"matrix": [1, 3], "x": 3, "y": 1},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [2, 0], "x": 0, "y": 2},
 | 
				
			||||||
 | 
					                {"matrix": [2, 1], "x": 1, "y": 2},
 | 
				
			||||||
 | 
					                {"matrix": [2, 2], "x": 2, "y": 2},
 | 
				
			||||||
 | 
					                {"matrix": [2, 3], "x": 3, "y": 2},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [3, 0], "x": 0, "y": 3},
 | 
				
			||||||
 | 
					                {"matrix": [3, 1], "x": 1, "y": 3},
 | 
				
			||||||
 | 
					                {"matrix": [3, 2], "x": 2, "y": 3},
 | 
				
			||||||
 | 
					                {"matrix": [3, 3], "x": 3, "y": 3},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [4, 0], "x": 0, "y": 4},
 | 
				
			||||||
 | 
					                {"matrix": [4, 1], "x": 1, "y": 4},
 | 
				
			||||||
 | 
					                {"matrix": [4, 2], "x": 2, "y": 4},
 | 
				
			||||||
 | 
					                {"matrix": [4, 3], "x": 3, "y": 4}
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        "LAYOUT_numpad_5x4": {
 | 
					        "LAYOUT_numpad_5x4": {
 | 
				
			||||||
            "layout": [
 | 
					            "layout": [
 | 
				
			||||||
                {"matrix": [0, 0], "x": 0, "y": 0},
 | 
					                {"matrix": [0, 0], "x": 0, "y": 0},
 | 
				
			||||||
                {"matrix": [0, 1], "x": 1, "y": 0},
 | 
					                {"matrix": [0, 1], "x": 1, "y": 0},
 | 
				
			||||||
                {"matrix": [0, 2], "x": 2, "y": 0},
 | 
					                {"matrix": [0, 2], "x": 2, "y": 0},
 | 
				
			||||||
                {"matrix": [0, 3], "x": 3, "y": 0},
 | 
					                {"matrix": [0, 3], "x": 3, "y": 0},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                {"matrix": [1, 0], "x": 0, "y": 1},
 | 
					                {"matrix": [1, 0], "x": 0, "y": 1},
 | 
				
			||||||
                {"matrix": [1, 1], "x": 1, "y": 1},
 | 
					                {"matrix": [1, 1], "x": 1, "y": 1},
 | 
				
			||||||
                {"matrix": [1, 2], "x": 2, "y": 1},
 | 
					                {"matrix": [1, 2], "x": 2, "y": 1},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                {"matrix": [2, 0], "x": 0, "y": 2},
 | 
					                {"matrix": [2, 0], "x": 0, "y": 2},
 | 
				
			||||||
                {"matrix": [2, 1], "x": 1, "y": 2},
 | 
					                {"matrix": [2, 1], "x": 1, "y": 2},
 | 
				
			||||||
                {"matrix": [2, 2], "x": 2, "y": 2},
 | 
					                {"matrix": [2, 2], "x": 2, "y": 2},
 | 
				
			||||||
                {"h": 2, "matrix": [1, 3], "x": 3, "y": 1},
 | 
					                {"matrix": [1, 3], "x": 3, "y": 1, "h": 2},
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                {"matrix": [3, 0], "x": 0, "y": 3},
 | 
					                {"matrix": [3, 0], "x": 0, "y": 3},
 | 
				
			||||||
                {"matrix": [3, 1], "x": 1, "y": 3},
 | 
					                {"matrix": [3, 1], "x": 1, "y": 3},
 | 
				
			||||||
                {"matrix": [3, 2], "x": 2, "y": 3},
 | 
					                {"matrix": [3, 2], "x": 2, "y": 3},
 | 
				
			||||||
                {"matrix": [4, 0], "w": 2, "x": 0, "y": 4},
 | 
					
 | 
				
			||||||
 | 
					                {"matrix": [4, 0], "x": 0, "y": 4, "w": 2},
 | 
				
			||||||
                {"matrix": [4, 2], "x": 2, "y": 4},
 | 
					                {"matrix": [4, 2], "x": 2, "y": 4},
 | 
				
			||||||
                {"h": 2, "matrix": [3, 3], "x": 3, "y": 3}
 | 
					                {"matrix": [3, 3], "x": 3, "y": 3, "h": 2}
 | 
				
			||||||
            ]
 | 
					            ]
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,7 @@
 | 
				
			||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
					const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
				
			||||||
    /*
 | 
					    /*
 | 
				
			||||||
     * ┌───┬───┬───┬───┐
 | 
					     * ┌───┬───┬───┬───┐
 | 
				
			||||||
     * │TG1│ / │ * │ - │
 | 
					     * │NUM│ / │ * │ - │
 | 
				
			||||||
     * ├───┼───┼───┼───┤
 | 
					     * ├───┼───┼───┼───┤
 | 
				
			||||||
     * │ 7 │ 8 │ 9 │   │
 | 
					     * │ 7 │ 8 │ 9 │   │
 | 
				
			||||||
     * ├───┼───┼───┤ + │
 | 
					     * ├───┼───┼───┤ + │
 | 
				
			||||||
| 
						 | 
					@ -22,21 +22,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
				
			||||||
        KC_P7,   KC_P8,   KC_P9,
 | 
					        KC_P7,   KC_P8,   KC_P9,
 | 
				
			||||||
        KC_P4,   KC_P5,   KC_P6,   KC_PPLS,
 | 
					        KC_P4,   KC_P5,   KC_P6,   KC_PPLS,
 | 
				
			||||||
        KC_P1,   KC_P2,   KC_P3,
 | 
					        KC_P1,   KC_P2,   KC_P3,
 | 
				
			||||||
        KC_P0,   KC_PDOT,          KC_PENT
 | 
					        KC_P0,            KC_PDOT, KC_PENT
 | 
				
			||||||
    ),
 | 
					    ),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /*
 | 
					    /*
 | 
				
			||||||
     * ┌───┬───┬───┬───┐
 | 
					     * ┌───┬───┬───┬───┐
 | 
				
			||||||
     * │TG1│ / │ * │ - │
 | 
					     * │NUM│ / │ * │ - │
 | 
				
			||||||
     * ┌───┬───┬───┐───┤
 | 
					     * ├───┼───┼───┼───┤
 | 
				
			||||||
     * │Hom│ ↑ │PgU│   │
 | 
					     * │Hom│ ↑ │PgU│   │
 | 
				
			||||||
     * ├───┼───┼───┤ + │
 | 
					     * ├───┼───┼───┤ + │
 | 
				
			||||||
     * │ ← │   │ → │   │
 | 
					     * │ ← │   │ → │   │
 | 
				
			||||||
     * ├───┼───┼───┤───┤
 | 
					     * ├───┼───┼───┼───┤
 | 
				
			||||||
     * │End│ ↓ │PgD│   │
 | 
					     * │End│ ↓ │PgD│   │
 | 
				
			||||||
     * ├───┴───┼───┤Ent│
 | 
					     * ├───┴───┼───┤Ent│
 | 
				
			||||||
     * │Insert │Del│   │
 | 
					     * │Insert │Del│   │
 | 
				
			||||||
     * └───────┴───┘───┘
 | 
					     * └───────┴───┴───┘
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    [1] = LAYOUT_numpad_5x4(
 | 
					    [1] = LAYOUT_numpad_5x4(
 | 
				
			||||||
        _______, _______, _______, _______,
 | 
					        _______, _______, _______, _______,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,21 +22,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
				
			||||||
        KC_P7,   KC_P8,   KC_P9,
 | 
					        KC_P7,   KC_P8,   KC_P9,
 | 
				
			||||||
        KC_P4,   KC_P5,   KC_P6,   KC_PPLS,
 | 
					        KC_P4,   KC_P5,   KC_P6,   KC_PPLS,
 | 
				
			||||||
        KC_P1,   KC_P2,   KC_P3,
 | 
					        KC_P1,   KC_P2,   KC_P3,
 | 
				
			||||||
        KC_P0,   KC_PDOT,          KC_PENT
 | 
					        KC_P0,            KC_PDOT, KC_PENT
 | 
				
			||||||
    ),
 | 
					    ),
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /*
 | 
					    /*
 | 
				
			||||||
     * ┌───┬───┬───┬───┐
 | 
					     * ┌───┬───┬───┬───┐
 | 
				
			||||||
     * │   │ / │ * │ - │
 | 
					     * │NUM│ / │ * │ - │
 | 
				
			||||||
     * ┌───┬───┬───┐───┤
 | 
					     * ├───┼───┼───┼───┤
 | 
				
			||||||
     * │Hom│ ↑ │PgU│   │
 | 
					     * │Hom│ ↑ │PgU│   │
 | 
				
			||||||
     * ├───┼───┼───┤ + │
 | 
					     * ├───┼───┼───┤ + │
 | 
				
			||||||
     * │ ← │   │ → │   │
 | 
					     * │ ← │   │ → │   │
 | 
				
			||||||
     * ├───┼───┼───┤───┤
 | 
					     * ├───┼───┼───┼───┤
 | 
				
			||||||
     * │End│ ↓ │PgD│   │
 | 
					     * │End│ ↓ │PgD│   │
 | 
				
			||||||
     * ├───┴───┼───┤Ent│
 | 
					     * ├───┴───┼───┤Ent│
 | 
				
			||||||
     * │Insert │Del│   │
 | 
					     * │Insert │Del│   │
 | 
				
			||||||
     * └───────┴───┘───┘
 | 
					     * └───────┴───┴───┘
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    [1] = LAYOUT_numpad_5x4(
 | 
					    [1] = LAYOUT_numpad_5x4(
 | 
				
			||||||
        _______, _______, _______, _______,
 | 
					        _______, _______, _______, _______,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										18
									
								
								keyboards/akb/ogrn/matrix_diagram.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								keyboards/akb/ogrn/matrix_diagram.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,18 @@
 | 
				
			||||||
 | 
					# Matrix Diagram for Alchemist Keyboards OGRN
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					        ┌───┬───┬───┬───┐
 | 
				
			||||||
 | 
					        │00 │01 │02 │03 │
 | 
				
			||||||
 | 
					┌───┐   ├───┼───┼───┼───┤   ┌───┐
 | 
				
			||||||
 | 
					│   │   │10 │11 │12 │13 │   │   │
 | 
				
			||||||
 | 
					│10 │   ├───┼───┼───┼───┤   │13 │ 2u Numpad Plus
 | 
				
			||||||
 | 
					│   │   │20 │21 │22 │23 │   │   │
 | 
				
			||||||
 | 
					├───┤   ├───┼───┼───┼───┤   ├───┤
 | 
				
			||||||
 | 
					│   │   │30 │31 │32 │33 │   │   │
 | 
				
			||||||
 | 
					│30 │   ├───┼───┼───┼───┤   │33 │ 2u Numpad Enter
 | 
				
			||||||
 | 
					│   │   │40 │41 │42 │43 │   │   │
 | 
				
			||||||
 | 
					└───┘   └───┴───┴───┴───┘   └───┘
 | 
				
			||||||
 | 
					        ┌───────┬───────┐
 | 
				
			||||||
 | 
					        │41     │42     │
 | 
				
			||||||
 | 
					        └───────┴───────┘
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue