~ruther/qmk_firmware

ref: ffc82ebdb2ee00c14dd225eb057d209d4584a623 qmk_firmware/keyboards/zen/rev2/rules.mk -rw-r--r-- 432 bytes
ffc82ebd — XScorpion2 [Keyboard] Zen keyboard update for Rev2 (#5522) 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ENCODER_ENABLE = yes

OLED_DRIVER_ENABLE = no
OLED_ROTATE90 = yes

# Setup so that OLED and 90 degree rotation can be turned on/off easily
# with "OLED_DRIVER_ENABLE = yes" or "OLED_ROTATE90 = no" in user's rules.mk file
ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
  # Custom local font file
  OPT_DEFS += -DOLED_FONT_H=\"common/glcdfont.c\"
  ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
    OPT_DEFS += -DOLED_ROTATE90
  endif
endif