- going to remove it though so I can hold different mods for chrome and windows. Wanted to save the code since I spent time working on it - General code cleanup - introduced klor and rollow keyboard.json - set encoder resolution to 4 for alt tab to work right
		
			
				
	
	
		
			64 lines
		
	
	
		
			No EOL
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			No EOL
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# Set build options for
 | 
						|
# - consistent configuration across all keyboards
 | 
						|
# - enable features specific to certain board (e.g. encoders, rgb, oled)
 | 
						|
# - a way to save memory on MCU
 | 
						|
 | 
						|
# ---------------------------------------------------------
 | 
						|
# set defaults on these qmk features if not defined 
 | 
						|
# in the individual keyboard rules.mk
 | 
						|
# 
 | 
						|
# ?= means set the value if its not defined elsewhere
 | 
						|
 | 
						|
 | 
						|
# optional features
 | 
						|
# use these values if not defined at the keyboard level
 | 
						|
LTO_ENABLE ?= no
 | 
						|
MAGIC_ENABLE ?= no
 | 
						|
CONSOLE_ENABLE ?= no
 | 
						|
UNICODE_ENABLE ?= no
 | 
						|
SPACE_CADET_ENABLE ?= no
 | 
						|
GRAVE_ESC_ENABLE ?= no
 | 
						|
 | 
						|
DYNAMIC_MACRO_ENABLE ?= yes
 | 
						|
RGB_MATRIX_ENABLE ?= no
 | 
						|
RGBLIGHT_ENABLE ?= no
 | 
						|
POINTING_DEVICE_ENABLE ?= no
 | 
						|
OLED_ENABLE ?= no
 | 
						|
ENCODER_ENABLE ?= no
 | 
						|
ENCODER_MAP_ENABLE ?= no
 | 
						|
HAPTIC_ENABLE ?= no
 | 
						|
AUDIO_ENABLE ?= no
 | 
						|
WPM_ENABLE ?= yes
 | 
						|
 | 
						|
# qmk features we will force as these are critical for my workflow
 | 
						|
EXTRAKEY_ENABLE = yes
 | 
						|
MOUSEKEY_ENABLE = yes
 | 
						|
CAPS_WORD_ENABLE ?= yes
 | 
						|
COMBO_ENABLE ?= yes
 | 
						|
 | 
						|
 | 
						|
# ---------------------------------------------------------
 | 
						|
# include my code that will be common across all my keyboards
 | 
						|
 | 
						|
SRC +=                     \
 | 
						|
	t4corun.c              \
 | 
						|
	features/taphold.c     \
 | 
						|
 | 
						|
# ---------------------------------------------------------
 | 
						|
# include additional code for enabled features for each keyboard
 | 
						|
 | 
						|
ifeq ($(strip $(COMBO_ENABLE)), yes)
 | 
						|
  INTROSPECTION_KEYMAP_C += features/combo.c
 | 
						|
endif
 | 
						|
 | 
						|
ifeq ($(strip $(CAPS_WORD_ENABLE)), yes)
 | 
						|
  SRC += features/capsword.c
 | 
						|
endif
 | 
						|
 | 
						|
ifeq ($(strip $(OLED_ENABLE)), yes)
 | 
						|
  SRC += features/oled.c
 | 
						|
endif
 | 
						|
 | 
						|
ifeq ($(strip $(AUDIO_ENABLE)), yes)
 | 
						|
  MUSIC_MODE = no
 | 
						|
endif |