Disable onekey console by default (#19104)
This commit is contained in:
		
							parent
							
								
									d86c0d3723
								
							
						
					
					
						commit
						5d882ab6ef
					
				@ -27,7 +27,7 @@
 | 
			
		||||
 | 
			
		||||
// This code does not fit into the really small flash of STM32F103x6 together
 | 
			
		||||
// with CONSOLE_ENABLE=yes, and the debugging console is probably more
 | 
			
		||||
// important for the "okeney" testing firmware.  In a real firmware you may be
 | 
			
		||||
// important for the "onekey" testing firmware.  In a real firmware you may be
 | 
			
		||||
// able to use these features if you keep the debugging console disabled.
 | 
			
		||||
#define NO_ACTION_LAYER
 | 
			
		||||
#define NO_ACTION_TAPPING
 | 
			
		||||
 | 
			
		||||
@ -12,7 +12,7 @@
 | 
			
		||||
        "bootmagic": false,
 | 
			
		||||
        "mousekey": true,
 | 
			
		||||
        "extrakey": true,
 | 
			
		||||
        "console": true,
 | 
			
		||||
        "console": false,
 | 
			
		||||
        "command": false,
 | 
			
		||||
        "nkro": true,
 | 
			
		||||
        "backlight": false,
 | 
			
		||||
 | 
			
		||||
@ -18,3 +18,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void keyboard_post_init_user(void) {
 | 
			
		||||
  // Customise these values to desired behaviour
 | 
			
		||||
  debug_enable=true;
 | 
			
		||||
  debug_matrix=true;
 | 
			
		||||
  //debug_keyboard=true;
 | 
			
		||||
  //debug_mouse=true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								keyboards/handwired/onekey/keymaps/console/rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								keyboards/handwired/onekey/keymaps/console/rules.mk
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
CONSOLE_ENABLE = yes
 | 
			
		||||
DEBUG_MATRIX_SCAN_RATE_ENABLE = yes
 | 
			
		||||
							
								
								
									
										1
									
								
								keyboards/handwired/onekey/keymaps/hardware_id/rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/handwired/onekey/keymaps/hardware_id/rules.mk
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
CONSOLE_ENABLE = yes
 | 
			
		||||
@ -1,3 +1,4 @@
 | 
			
		||||
OLED_ENABLE = yes
 | 
			
		||||
OLED_DRIVER = SSD1306
 | 
			
		||||
TAP_DANCE_ENABLE = yes
 | 
			
		||||
CONSOLE_ENABLE = yes
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user