~ruther/qmk_firmware

ref: 280a96b5633cc56ac2a6ffeb2d3ad694b31f54a5 qmk_firmware/layouts/community/ortho_4x12/mindsound/rules.mk -rw-r--r-- 723 bytes
280a96b5 — Andre Brait [Keymap] Update andrebrait keymap for GMMK Pro (#21668) 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# none of my keyboards need LTO and it screws up I2C on my LSVI:
EXTRAFLAGS:=$(filter-out -flto,$(EXTRAFLAGS))

# turning off backlighting and audio for the split keebs
ifneq (,$(findstring lets_split,$(KEYBOARD)))
  BACKLIGHT_ENABLE = no
  BACKLIGHT_BREATHING = no
  AUDIO_ENABLE = no
endif
ifneq (,$(findstring vitamins_included,$(KEYBOARD)))
  BACKLIGHT_ENABLE = no
  BACKLIGHT_BREATHING = no
  AUDIO_ENABLE = no
endif

# both my plancks use audio but only the rev4 has backlighting
ifneq (,$(findstring planck,$(KEYBOARD)))
  ifneq (,$(findstring rev4,$(KEYBOARD)))
    BACKLIGHT_ENABLE = yes
    BACKLIGHT_BREATHING = no
  else
    BACKLIGHT_ENABLE = no
    BACKLIGHT_BREATHING = no
  endif
  AUDIO_ENABLE = yes
endif
Do not follow this link