summaryrefslogtreecommitdiff
path: root/keyboards/splitkb/kyria/keymaps/drashna/rules.mk
blob: bb872743b7e5f44d6ceff1eb228b63cc32c23690 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
BOOTMAGIC_ENABLE = yes      # Enable Bootmagic Lite
MOUSEKEY_ENABLE            = no       # Mouse keys
EXTRAKEY_ENABLE            = yes      # Audio control and System control
CONSOLE_ENABLE             = no       # Console for debug
COMMAND_ENABLE             = no       # Commands for debug and configuration
NKRO_ENABLE                = yes      # USB Nkey Rollover
OLED_ENABLE                = yes
ENCODER_ENABLE             = yes      # Enables the use of one or more encoders
RGBLIGHT_ENABLE            = no       # Enable keyboard RGB underglow
KEY_LOCK_ENABLE            = no
WPM_ENABLE                 = yes

ifeq ($(strip $(KEYBOARD)), splitkb/kyria/rev1/proton_c)
    OVERLOAD_FEATURES = yes
endif
ifeq ($(strip $(KEYBOARD)), splitkb/kyria/rev3)
    OVERLOAD_FEATURES = yes
    CONVERT_TO        = proton_c
    WS2812_DRIVER     = pwm
    SERIAL_DRIVER     = usart
endif

ifeq ($(strip $(OVERLOAD_FEATURES)), yes)
    RGB_MATRIX_ENABLE      = yes
    CONSOLE_ENABLE         = yes      # Console for debug
    MOUSEKEY_ENABLE        = yes      # Mouse keys
    TAP_DANCE_ENABLE       = yes
    SWAP_HANDS_ENABLE      = yes
    LTO_ENABLE             = no
    ENCODER_MAP_ENABLE     = yes
    AUTOCORRECT_ENABLE     = yes
    CAPS_WORD_ENABLE       = yes
    AUDIO_ENABLE           = no
    DEBUG_MATRIX_SCAN_RATE_ENABLE = api
else
    LTO_ENABLE             = yes
    BOOTLOADER             = qmk-hid
    BOOTLOADER_SIZE        = 512
    CUSTOM_UNICODE_ENABLE  = no
endif