]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/treadstone48/keymaps/default/rules.mk
[Keyboard] add treeadstone48 (#5405)
[qmk_firmware.git] / keyboards / treadstone48 / keymaps / default / rules.mk
1
2 # Build Options
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
5 #
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
19 TAP_DANCE_ENABLE = yes
20
21 # If your custom treadstone48 pcb, you can rewrite to yes.
22 OLED_ENABLE = no            # OLED_ENABLE
23 LED_UNDERGLOW_ENABLE = yes  # LED underglow (Enable WS2812 RGB underlight.)
24 LED_ANIMATIONS = yes        # LED animations
25
26 # Other selectable option
27 IOS_DEVICE_ENABLE = no      # connect to IOS device (iPad,iPhone)
28 LOCAL_GLCDFONT = no         # use each keymaps "font.h" insted of "common/glcdfont.c"
29 # RHYMESTONE_RIGHTHAND = no   # If connect right hand side of the Rhymestone, set to yes.
30 ANGELINA_KEYMAP = no        # If Alfa verstion use set to yes.
31
32 ifeq ($(strip $(OLED_ENABLE)), yes)
33     OPT_DEFS += -DOLED_ENABLE
34 endif
35
36 ifeq ($(strip $(LED_UNDERGLOW_ENABLE)), yes)
37   RGBLIGHT_ENABLE = yes
38 else
39   RGBLIGHT_ENABLE = no
40 endif
41
42 ifeq ($(strip $(LED_ANIMATIONS)), yes)
43     # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
44     OPT_DEFS += -DLED_ANIMATIONS
45 endif
46
47 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
48     OPT_DEFS += -DIOS_DEVICE_ENABLE
49 endif
50
51 ifeq ($(strip $(LOCAL_GLCDFONT)), yes)
52     OPT_DEFS += -DLOCAL_GLCDFONT
53 endif
54
55 # ifeq ($(strip $(RHYMESTONE_RIGHTHAND)), yes)
56 #     OPT_DEFS += -DRHYMESTONE_RIGHTHAND
57 # endif
58
59 ifeq ($(strip $(ANGELINA_KEYMAP)), yes)
60     OPT_DEFS += -DANGELINA_KEYMAP
61 endif
62
63 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
64 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
65
66 # If you want to change the display of OLED, you need to change here
67 SRC +=  ./common/oled_helper.c \