Remove encoder in-matrix workaround code (#20389)
This commit is contained in:
		
							parent
							
								
									74fbd5a031
								
							
						
					
					
						commit
						c4a67d3f33
					
				
					 241 changed files with 1106 additions and 5235 deletions
				
			
		| 
						 | 
				
			
			@ -22,19 +22,26 @@ enum layers {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
    [_BASE] = LAYOUT(
 | 
			
		||||
                            KC_PSLS, KC_PAST, KC_PMNS, 
 | 
			
		||||
    KC_VOLD, KC_VOLU, KC_P7, KC_P8,   KC_P9,   KC_PPLS, 
 | 
			
		||||
    KC_MPRV, KC_MNXT, KC_P4, KC_P5,   KC_P6,   KC_PPLS, 
 | 
			
		||||
    KC_LEFT, KC_RGHT, KC_P1, KC_P2,   KC_P3,   KC_PENT, 
 | 
			
		||||
    KC_TRNS, KC_TRNS, KC_P0, KC_P0,   KC_PDOT, KC_PENT  
 | 
			
		||||
    ),
 | 
			
		||||
  [_BASE] = LAYOUT(
 | 
			
		||||
  KC_PSLS, KC_PAST, KC_PMNS,
 | 
			
		||||
  KC_P7, KC_P8,   KC_P9,   KC_PPLS,
 | 
			
		||||
  KC_P4, KC_P5,   KC_P6,   KC_PPLS,
 | 
			
		||||
  KC_P1, KC_P2,   KC_P3,   KC_PENT,
 | 
			
		||||
  KC_P0, KC_P0,   KC_PDOT, KC_PENT
 | 
			
		||||
  ),
 | 
			
		||||
 | 
			
		||||
    [_FUNC] = LAYOUT(
 | 
			
		||||
                      _______, _______, _______, 
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, 
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, 
 | 
			
		||||
    _______, _______, _______, _______, _______, _______, 
 | 
			
		||||
    _______, _______, _______, _______, _______, _______  
 | 
			
		||||
    ),
 | 
			
		||||
    _______, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______,
 | 
			
		||||
    _______, _______, _______, _______
 | 
			
		||||
    )
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
#ifdef ENCODER_MAP_ENABLE
 | 
			
		||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
 | 
			
		||||
    [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), },
 | 
			
		||||
    [1] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______), },
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								keyboards/nullbitsco/tidbit/keymaps/default/rules.mk
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/nullbitsco/tidbit/keymaps/default/rules.mk
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
ENCODER_MAP_ENABLE = yes
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue