forked from mfulz_github/qmk_firmware
		
	[Keyboard] Snagpad Configurator bugfix and readme refactor (#6381)
* Update snagpad.h White-space changes only. Making this file easier to read. * Update info.json Refactor: - add labels - debug linting (one key object per line) - reorder keys for LAYOUT_numpad_5x4 (fixes QMK Configurator assigning keys to incorrect positions) * Update readme.md Refactor to conform to QMK template. Updated link to The Board Podcast (old link was Error 404).
This commit is contained in:
		
							parent
							
								
									b3cdc7ef70
								
							
						
					
					
						commit
						d686c0ea43
					
				@ -8,10 +8,49 @@
 | 
				
			|||||||
    "layouts": {
 | 
					    "layouts": {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        "LAYOUT_ortho_5x4": {
 | 
					        "LAYOUT_ortho_5x4": {
 | 
				
			||||||
            "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}]
 | 
					            "layout": [
 | 
				
			||||||
 | 
					                {"label":"Num Lock", "x":0, "y":0},
 | 
				
			||||||
 | 
					                {"label":"/", "x":1, "y":0},
 | 
				
			||||||
 | 
					                {"label":"*", "x":2, "y":0},
 | 
				
			||||||
 | 
					                {"label":"-", "x":3, "y":0},
 | 
				
			||||||
 | 
					                {"label":"7", "x":0, "y":1},
 | 
				
			||||||
 | 
					                {"label":"8", "x":1, "y":1},
 | 
				
			||||||
 | 
					                {"label":"9", "x":2, "y":1},
 | 
				
			||||||
 | 
					                {"label":"+", "x":3, "y":1},
 | 
				
			||||||
 | 
					                {"label":"4", "x":0, "y":2},
 | 
				
			||||||
 | 
					                {"label":"5", "x":1, "y":2},
 | 
				
			||||||
 | 
					                {"label":"6", "x":2, "y":2},
 | 
				
			||||||
 | 
					                {"label":"+", "x":3, "y":2},
 | 
				
			||||||
 | 
					                {"label":"1", "x":0, "y":3},
 | 
				
			||||||
 | 
					                {"label":"2", "x":1, "y":3},
 | 
				
			||||||
 | 
					                {"label":"3", "x":2, "y":3},
 | 
				
			||||||
 | 
					                {"label":"Enter", "x":3, "y":3},
 | 
				
			||||||
 | 
					                {"label":"0", "x":0, "y":4},
 | 
				
			||||||
 | 
					                {"label":"0", "x":1, "y":4},
 | 
				
			||||||
 | 
					                {"label":".", "x":2, "y":4},
 | 
				
			||||||
 | 
					                {"label":"Enter", "x":3, "y":4}
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "LAYOUT_numpad_5x4": {
 | 
					        "LAYOUT_numpad_5x4": {
 | 
				
			||||||
            "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1, "h":2}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3, "h":2}, {"x":0, "y":4, "w":2}, {"x":2, "y":4}]
 | 
					            "layout": [
 | 
				
			||||||
 | 
					                {"label":"Num Lock", "x":0, "y":0},
 | 
				
			||||||
 | 
					                {"label":"/", "x":1, "y":0},
 | 
				
			||||||
 | 
					                {"label":"*", "x":2, "y":0},
 | 
				
			||||||
 | 
					                {"label":"-", "x":3, "y":0},
 | 
				
			||||||
 | 
					                {"label":"7", "x":0, "y":1},
 | 
				
			||||||
 | 
					                {"label":"8", "x":1, "y":1},
 | 
				
			||||||
 | 
					                {"label":"9", "x":2, "y":1},
 | 
				
			||||||
 | 
					                {"label":"4", "x":0, "y":2},
 | 
				
			||||||
 | 
					                {"label":"5", "x":1, "y":2},
 | 
				
			||||||
 | 
					                {"label":"6", "x":2, "y":2},
 | 
				
			||||||
 | 
					                {"label":"+", "x":3, "y":1, "h":2},
 | 
				
			||||||
 | 
					                {"label":"1", "x":0, "y":3},
 | 
				
			||||||
 | 
					                {"label":"2", "x":1, "y":3},
 | 
				
			||||||
 | 
					                {"label":"3", "x":2, "y":3},
 | 
				
			||||||
 | 
					                {"label":"0", "x":0, "y":4, "w":2},
 | 
				
			||||||
 | 
					                {"label":".", "x":2, "y":4},
 | 
				
			||||||
 | 
					                {"label":"Enter", "x":3, "y":3, "h":2}
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -1,21 +1,21 @@
 | 
				
			|||||||
# Snagpad
 | 
					# Snagpad
 | 
				
			||||||
QMK for Snagpad
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
This PCB can be used as a standard numpad, or a ortho 5x4 macropad.
 | 
					A five-row PCB that can be built as a standard numpad or an ortholinear 5x4 macropad. Can be built as single PCB with custom case, or as two PCB style with standoffs. Requires a Pro Micro.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For QMK Configurator, the info.json is utilised.
 | 
					Keyboard Maintainer: [Flehrad](https://github.com/flehrad)  
 | 
				
			||||||
- For 2U keys on numpad, the first 1u row/column key assignment is the same as the 2u position.
 | 
					Hardware Supported: Snagpad PCB, Pro Micro  
 | 
				
			||||||
 | 
					Hardware Availability: [GitHub](https://github.com/flehrad/Snagpad)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Build requires a pro micro.
 | 
					Make example for this keyboard (after setting up your build environment):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Can be built as single PCB with custom case, or as two PCB style with standoffs.
 | 
					    make snagpad:default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
If you like this simple PCB and want to make a donation, you can at https://paypal.me/theboardpodcast
 | 
					See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					If you like this simple PCB and want to make a donation, you can do so at https://paypal.me/theboardpodcast.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Check out our:
 | 
					Check out our:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
YouTube (https://www.youtube.com/channel/UCg98oJZNffR9nDLJNkorjqw)
 | 
					- [YouTube](https://www.youtube.com/channel/UCg98oJZNffR9nDLJNkorjqw)
 | 
				
			||||||
 | 
					- [Podcast](https://podcasts.apple.com/au/podcast/theboard-mechanical-keyboard/id1147089749?mt=2)
 | 
				
			||||||
Podcast (www.libsyn.com/theboardpodcast)
 | 
					- [Patreon](https://www.patreon.com/theboardpodcast)
 | 
				
			||||||
 | 
					 | 
				
			||||||
Patreon (www.patreon.com/theboardpodcast)
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user