keebzdotnet FMe Layout Additionns (#20696)
* add matrix_diagram.md * add LAYOUT_1x2u with reference keymap * add LAYOUT_2x1u with reference keymap
This commit is contained in:
		
							parent
							
								
									4efd6a805c
								
							
						
					
					
						commit
						a662d366fe
					
				
					 4 changed files with 115 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,41 @@
 | 
			
		|||
                {"matrix": [2, 1], "x": 3, "y": 2, "w": 2},
 | 
			
		||||
                {"matrix": [0, 1], "x": 4, "y": 3}
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        "LAYOUT_1x2u": {
 | 
			
		||||
            "layout": [
 | 
			
		||||
                {"matrix": [0, 0], "x": 0, "y": 0},
 | 
			
		||||
                {"matrix": [1, 3], "x": 1, "y": 0},
 | 
			
		||||
                {"matrix": [1, 4], "x": 2, "y": 0},
 | 
			
		||||
                {"matrix": [1, 2], "x": 3, "y": 0},
 | 
			
		||||
                {"matrix": [1, 0], "x": 4, "y": 0},
 | 
			
		||||
 | 
			
		||||
                {"matrix": [1, 1], "x": 0.25, "y": 1},
 | 
			
		||||
                {"matrix": [0, 4], "x": 1.25, "y": 1},
 | 
			
		||||
                {"matrix": [0, 2], "x": 2.25, "y": 1},
 | 
			
		||||
                {"matrix": [0, 3], "x": 3.25, "y": 1, "w": 1.75},
 | 
			
		||||
 | 
			
		||||
                {"matrix": [2, 2], "x": 0.25, "y": 2, "w": 2.75},
 | 
			
		||||
                {"matrix": [2, 1], "x": 3, "y": 2, "w": 2}
 | 
			
		||||
            ]
 | 
			
		||||
        },
 | 
			
		||||
        "LAYOUT_2x1u": {
 | 
			
		||||
            "layout": [
 | 
			
		||||
                {"matrix": [0, 0], "x": 0, "y": 0},
 | 
			
		||||
                {"matrix": [1, 3], "x": 1, "y": 0},
 | 
			
		||||
                {"matrix": [1, 4], "x": 2, "y": 0},
 | 
			
		||||
                {"matrix": [1, 2], "x": 3, "y": 0},
 | 
			
		||||
                {"matrix": [1, 0], "x": 4, "y": 0},
 | 
			
		||||
 | 
			
		||||
                {"matrix": [1, 1], "x": 0.25, "y": 1},
 | 
			
		||||
                {"matrix": [0, 4], "x": 1.25, "y": 1},
 | 
			
		||||
                {"matrix": [0, 2], "x": 2.25, "y": 1},
 | 
			
		||||
                {"matrix": [0, 3], "x": 3.25, "y": 1, "w": 1.75},
 | 
			
		||||
 | 
			
		||||
                {"matrix": [2, 2], "x": 0.25, "y": 2, "w": 2.75},
 | 
			
		||||
                {"matrix": [3, 2], "x": 3, "y": 2},
 | 
			
		||||
                {"matrix": [0, 1], "x": 4, "y": 2}
 | 
			
		||||
            ]
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										33
									
								
								keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								keyboards/keebzdotnet/fme/keymaps/default_1x2u/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2021 keebnewb
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
the Free Software Foundation, either version 2 of the License, or
 | 
			
		||||
(at your option) any later version.
 | 
			
		||||
 | 
			
		||||
This program is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
You should have received a copy of the GNU General Public License
 | 
			
		||||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
    [0] = LAYOUT_1x2u(
 | 
			
		||||
        KC_F,    KC_U,    KC_C,    KC_K,    KC_BSPC,
 | 
			
		||||
        KC_Y,    KC_O,    KC_U,    MO(1),
 | 
			
		||||
        KC_SPC,                    KC_SPC
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [1] = LAYOUT_1x2u(
 | 
			
		||||
        QK_BOOT, _______, _______, _______, KC_DEL,
 | 
			
		||||
        _______, _______, _______, _______,
 | 
			
		||||
        _______,                   _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										33
									
								
								keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								keyboards/keebzdotnet/fme/keymaps/default_2x1u/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,33 @@
 | 
			
		|||
/*
 | 
			
		||||
Copyright 2021 keebnewb
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
the Free Software Foundation, either version 2 of the License, or
 | 
			
		||||
(at your option) any later version.
 | 
			
		||||
 | 
			
		||||
This program is distributed in the hope that it will be useful,
 | 
			
		||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
GNU General Public License for more details.
 | 
			
		||||
 | 
			
		||||
You should have received a copy of the GNU General Public License
 | 
			
		||||
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
*/
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
    [0] = LAYOUT_2x1u(
 | 
			
		||||
        KC_F,    KC_U,    KC_C,    KC_K,    KC_BSPC,
 | 
			
		||||
        KC_Y,    KC_O,    KC_U,    MO(1),
 | 
			
		||||
        KC_SPC,           KC_SPC,  KC_SPC
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
    [1] = LAYOUT_2x1u(
 | 
			
		||||
        QK_BOOT, _______, _______, _______, KC_DEL,
 | 
			
		||||
        _______, _______, _______, _______,
 | 
			
		||||
        _______,          _______, _______
 | 
			
		||||
    ),
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										14
									
								
								keyboards/keebzdotnet/fme/matrix_diagram.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								keyboards/keebzdotnet/fme/matrix_diagram.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
# Matrix Diagram for keebzdotnet FMe
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
    ┌───┬───┬───┬───┬───┐
 | 
			
		||||
    │00 │13 │14 │12 │10 │
 | 
			
		||||
    └┬──┴┬──┴┬──┴┬──┴───┤
 | 
			
		||||
     │11 │04 │02 │03    │
 | 
			
		||||
     ├───┴───┴──┬┴──┬───┤
 | 
			
		||||
     │22        │32 │01 │ ┐
 | 
			
		||||
     └──────────┴───┴───┘ ├─ 2x1u or
 | 
			
		||||
                ┌───────┐ │  1x2u
 | 
			
		||||
                │21     │ ┘
 | 
			
		||||
                └───────┘
 | 
			
		||||
```
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue