Keymap: Refactor helix keymap based on changes to default keymap (#3469)
This commit is contained in:
		
							parent
							
								
									b5d9bee969
								
							
						
					
					
						commit
						7e8d4be8ac
					
				
					 3 changed files with 19 additions and 113 deletions
				
			
		| 
						 | 
				
			
			@ -1,12 +1,9 @@
 | 
			
		|||
#include "helix.h"
 | 
			
		||||
#include QMK_KEYBOARD_H
 | 
			
		||||
#include "bootloader.h"
 | 
			
		||||
#include "action_layer.h"
 | 
			
		||||
#include "eeconfig.h"
 | 
			
		||||
#ifdef PROTOCOL_LUFA
 | 
			
		||||
#include "lufa.h"
 | 
			
		||||
#include "split_util.h"
 | 
			
		||||
#endif
 | 
			
		||||
#include "LUFA/Drivers/Peripheral/TWI.h"
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
  #include "audio.h"
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			@ -14,12 +11,6 @@
 | 
			
		|||
  #include "ssd1306.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// * If you want to recognize that you pressed the Adjust key with the Lower / Raise key you can enable this comment out. However, the binary size may be over. *
 | 
			
		||||
// #define ADJUST_MACRO_ENABLE
 | 
			
		||||
 | 
			
		||||
// * If you want to use the Kana key you can enable this comment out. However, the binary size may be over. *
 | 
			
		||||
// #define KANA_ENABLE
 | 
			
		||||
 | 
			
		||||
extern keymap_config_t keymap_config;
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
| 
						 | 
				
			
			@ -441,7 +432,6 @@ void matrix_init_user(void) {
 | 
			
		|||
  #endif
 | 
			
		||||
  //SSD1306 OLED init, make sure to add #define SSD1306OLED in config.h
 | 
			
		||||
  #ifdef SSD1306OLED
 | 
			
		||||
    TWI_Init(TWI_BIT_PRESCALE_1, TWI_BITLENGTH_FROM_FREQ(1, 800000));
 | 
			
		||||
    iota_gfx_init(!has_usb());   // turns on the display
 | 
			
		||||
  #endif
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue