rules.mk 830 B

123456789101112131415161718192021222324
  1. # don't include for keyboards/ploopyco/mouse/keymaps/uqs
  2. ifeq ($(filter $(strip $(KEYBOARD)),ploopyco/mouse),)
  3. SRC += uqs.c
  4. RGBLIGHT_ENABLE ?= yes # Enable keyboard RGB underglow
  5. LTO_ENABLE ?= yes # disables the legacy TMK Macros and Functions features
  6. UCIS_ENABLE = yes
  7. LEADER_ENABLE = yes
  8. COMBO_ENABLE = yes
  9. MOUSEKEY_ENABLE = yes
  10. # Disable all the unused stuff.
  11. SPACE_CADET_ENABLE = no
  12. COMMAND_ENABLE = no
  13. MAGIC_ENABLE = no
  14. endif
  15. # From https://michael.stapelberg.ch/posts/2021-05-08-keyboard-input-latency-qmk-kinesis/
  16. # adds about 900 bytes! Don't use it on puny AVR though.
  17. # ifeq (,$(filter $(MCU), atmega16u2 atmega32u2 at90usb162)) # doesn't work MCU not set yet
  18. ifneq (,$(filter $(KEYBOARD),ploopyco/mouse preonic/rev3))
  19. DEBOUNCE_TYPE = asym_eager_defer_pk
  20. endif