3 # change to "no" to disable the options, or define them in the Makefile in
4 # the appropriate keymap folder that will get included automatically
6 BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
7 MOUSEKEY_ENABLE = no # Mouse keys(+4700)
8 EXTRAKEY_ENABLE = no # Audio control and System control(+450)
9 CONSOLE_ENABLE = no # Console for debug(+400)
10 COMMAND_ENABLE = no # Commands for debug and configuration
11 NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
12 BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
13 MIDI_ENABLE = no # MIDI controls
14 AUDIO_ENABLE = no # Audio output on port C6
15 UNICODE_ENABLE = no # Unicode
16 BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
17 RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
18 SWAP_HANDS_ENABLE = no # Enable one-hand typing
20 define HELIX_CUSTOMISE_MSG
21 $(info Helix customize)
22 $(info - OLED_ENABLE=$(OLED_ENABLE))
23 $(info - LED_BACK_ENABLE=$(LED_BACK_ENABLE))
24 $(info - LED_UNDERGLOW_ENABLE=$(LED_UNDERGLOW_ENABLE))
25 $(info - LED_ANIMATION=$(LED_ANIMATIONS))
26 $(info - IOS_DEVICE_ENABLE=$(IOS_DEVICE_ENABLE))
29 # Helix keyboard customize
30 # you can edit follows 7 Variables
31 # jp: 以下の7つの変数を必要に応じて編集します。
32 HELIX_ROWS = 5 # Helix Rows is 4 or 5
33 OLED_ENABLE = yes # OLED_ENABLE
34 LOCAL_GLCDFONT = yes # use each keymaps "helixfont.h" insted of "common/glcdfont.c"
35 LED_BACK_ENABLE = yes # LED backlight (Enable WS2812 RGB underlight.)
36 LED_UNDERGLOW_ENABLE = no # LED underglow (Enable WS2812 RGB underlight.)
37 LED_ANIMATIONS = yes # LED animations
38 IOS_DEVICE_ENABLE = no # connect to IOS device (iPad,iPhone)
40 #### LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE.
41 #### Do not enable these with audio at the same time.
43 ### Helix keyboard 'default' keymap: convenient command line option
44 ## make HELIX=<options> helix:defualt
45 ## option= oled | back | under | na | ios
47 ## make HELIX=oled helix:defualt
48 ## make HELIX=oled,back helix:defualt
49 ## make HELIX=oled,under helix:defualt
50 ## make HELIX=oled,back,na helix:defualt
51 ## make HELIX=oled,back,ios helix:defualt
53 ifneq ($(strip $(HELIX)),)
54 ifeq ($(findstring oled,$(HELIX)), oled)
57 ifeq ($(findstring back,$(HELIX)), back)
59 else ifeq ($(findstring under,$(HELIX)), under)
60 LED_UNDERGLOW_ENABLE = yes
62 ifeq ($(findstring na,$(HELIX)), na)
65 ifeq ($(findstring ios,$(HELIX)), ios)
66 IOS_DEVICE_ENABLE = yes
68 $(eval $(call HELIX_CUSTOMISE_MSG))
72 # Uncomment these for checking
73 # jp: コンパイル時にカスタマイズの状態を表示したい時はコメントをはずします。
74 # $(eval $(call HELIX_CUSTOMISE_MSG))
77 ifneq ($(strip $(HELIX_ROWS)), 4)
78 ifneq ($(strip $(HELIX_ROWS)), 5)
79 $(error HELIX_ROWS = $(strip $(HELIX_ROWS)) is unexpected value)
82 OPT_DEFS += -DHELIX_ROWS=$(strip $(HELIX_ROWS))
84 ifeq ($(strip $(LED_BACK_ENABLE)), yes)
86 OPT_DEFS += -DRGBLED_BACK
87 ifeq ($(strip $(LED_UNDERGLOW_ENABLE)), yes)
88 $(eval $(call HELIX_CUSTOMISE_MSG))
89 $(error LED_BACK_ENABLE and LED_UNDERGLOW_ENABLE both 'yes')
91 else ifeq ($(strip $(LED_UNDERGLOW_ENABLE)), yes)
97 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
98 OPT_DEFS += -DIOS_DEVICE_ENABLE
101 ifeq ($(strip $(LED_ANIMATIONS)), yes)
102 OPT_DEFS += -DRGBLIGHT_ANIMATIONS
105 ifeq ($(strip $(OLED_ENABLE)), yes)
106 OPT_DEFS += -DOLED_ENABLE
109 ifeq ($(strip $(LOCAL_GLCDFONT)), yes)
110 OPT_DEFS += -DLOCAL_GLCDFONT
113 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
114 SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
117 include ../../../../Makefile
120 # Uncomment these for debugging
121 # $(info -- RGBLIGHT_ENABLE=$(RGBLIGHT_ENABLE))
122 # $(info -- OPT_DEFS=$(OPT_DEFS))