]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/zen/rev2/rules.mk
[Keyboard] Zen keyboard update for Rev2 (#5522)
[qmk_firmware.git] / keyboards / zen / rev2 / rules.mk
1 ENCODER_ENABLE = yes
2
3 OLED_DRIVER_ENABLE = no
4 OLED_ROTATE90 = yes
5
6 # Setup so that OLED and 90 degree rotation can be turned on/off easily
7 # with "OLED_DRIVER_ENABLE = yes" or "OLED_ROTATE90 = no" in user's rules.mk file
8 ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
9   # Custom local font file
10   OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
11   ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
12     OPT_DEFS += -DOLED_ROTATE90
13   endif
14 endif