Keyboard: Ckeys refactor (#3681)
* Obelus Refactor: LAYOUT to LAYOUT_ortho_4x4 - Keymap also now uses #include QMK_KEYBOARD_H - Readability and white space changes - rules.mk now has LAYOUTS = ortho_4x4 - added info.json * naKey Refactor: LAYOUT to LAYOUT_numpad_5x4 - Matrix LAYOUT renamed to LAYOUT_numpad_5x4 - Now supports community layout numpad_5x4 - White space changes * naKey Configurator update Updated order of JSON objects to match new matrix order.
This commit is contained in:
		
							parent
							
								
									9175eebc87
								
							
						
					
					
						commit
						19fdfccca2
					
				
					 8 changed files with 81 additions and 67 deletions
				
			
		| 
						 | 
				
			
			@ -22,14 +22,13 @@
 | 
			
		|||
// The following is an example using the Planck MIT layout
 | 
			
		||||
// The first section contains all of the arguments
 | 
			
		||||
// The second converts the arguments into a two-dimensional array
 | 
			
		||||
#define LAYOUT( \
 | 
			
		||||
#define LAYOUT_numpad_5x4( \
 | 
			
		||||
    k00, k01, k02, k03, \
 | 
			
		||||
    k10, k11, k12, k13, \
 | 
			
		||||
    k20, k21, k22, \
 | 
			
		||||
    k30, k31, k32, k33, \
 | 
			
		||||
    k40,      k41  \
 | 
			
		||||
) \
 | 
			
		||||
{ \
 | 
			
		||||
    k10, k11, k12,      \
 | 
			
		||||
    k20, k21, k22, k13, \
 | 
			
		||||
    k30, k31, k32,      \
 | 
			
		||||
    k40,      k41, k33  \
 | 
			
		||||
) { \
 | 
			
		||||
    { k00, k01,   k02, k03   }, \
 | 
			
		||||
    { k10, k11,   k12, k13   }, \
 | 
			
		||||
    { k20, k21,   k22, KC_NO }, \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue