Felix: Refactor, Rules, and Configurator Support (#3160)
* Refactor * Configurator support * Add LAYOUTS = ortho_5x4 to rules.mk
This commit is contained in:
		
							parent
							
								
									08210b3aa4
								
							
						
					
					
						commit
						769854b8a2
					
				
					 4 changed files with 27 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -1,20 +1,20 @@
 | 
			
		|||
#include "felix.h"
 | 
			
		||||
#include "action_layer.h"
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
 | 
			
		||||
    KEYMAP(
 | 
			
		||||
        KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
 | 
			
		||||
        KC_P7,   KC_P8,   KC_P9,   KC_PPLS,
 | 
			
		||||
        KC_P4,   KC_P5,   KC_P6,   KC_HOME,
 | 
			
		||||
        KC_P1,   KC_P2,   KC_P3,   KC_END,
 | 
			
		||||
        KC_P0,   KC_PEQL, KC_PDOT, KC_PENT),
 | 
			
		||||
  LAYOUT(
 | 
			
		||||
    KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
 | 
			
		||||
    KC_P7,   KC_P8,   KC_P9,   KC_PPLS,
 | 
			
		||||
    KC_P4,   KC_P5,   KC_P6,   KC_HOME,
 | 
			
		||||
    KC_P1,   KC_P2,   KC_P3,   KC_END,
 | 
			
		||||
    KC_P0,   KC_PEQL, KC_PDOT, KC_PENT
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void persistant_default_layer_set(uint16_t default_layer) {
 | 
			
		||||
}
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
  switch (keycode) {
 | 
			
		||||
  }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue