Remove deprecated callbacks for encoders and dip switches (#13404)
This commit is contained in:
		
							parent
							
								
									73d4d7dc2b
								
							
						
					
					
						commit
						b8a1e14f53
					
				
					 59 changed files with 338 additions and 458 deletions
				
			
		| 
						 | 
				
			
			@ -15,23 +15,16 @@
 | 
			
		|||
 */
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		||||
    /* Base */
 | 
			
		||||
    [0] = LAYOUT(
 | 
			
		||||
        KC_PSCR, KC_LSFT, MO(1)
 | 
			
		||||
    ),
 | 
			
		||||
    [1] = LAYOUT(
 | 
			
		||||
        RESET,   KC_LCTL, _______
 | 
			
		||||
    )
 | 
			
		||||
};
 | 
			
		||||
    [0] = LAYOUT(KC_PSCR, KC_LSFT, MO(1)),
 | 
			
		||||
    [1] = LAYOUT(RESET, KC_LCTL, _______)};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
//  void encoder_update_user(uint8_t index, bool clockwise) {
 | 
			
		||||
//  bool encoder_update_user(uint8_t index, bool clockwise) {
 | 
			
		||||
//     if (clockwise) {
 | 
			
		||||
//         tap_code(KC_PGDN);
 | 
			
		||||
//     } else {
 | 
			
		||||
//         tap_code(KC_PGUP);
 | 
			
		||||
//     }
 | 
			
		||||
//     return false;
 | 
			
		||||
// }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue