diff options
author | YouCanFly <65446+YCF@users.noreply.github.com> | 2019-04-18 17:37:26 -0500 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-18 15:37:26 -0700 |
commit | 9e3b38425feedbe8d95c6cb738d713cc6e15af56 (patch) | |
tree | 240250dd95b42a242363629bb6514829174992c8 /keyboards/tetris/rules.mk | |
parent | a58c66df88d1da9c57e5e4ccffb78c7882b55706 (diff) | |
download | qmk_firmware-9e3b38425feedbe8d95c6cb738d713cc6e15af56.tar.gz qmk_firmware-9e3b38425feedbe8d95c6cb738d713cc6e15af56.zip |
[Keyboard] Update Tetris (#5513)
* Update Tetris
Add a fake row to config the encoder's keycode easily.
* Delete rules.mk
* Update keyboards/tetris/readme.md
Co-Authored-By: YCF <65446+YCF@users.noreply.github.com>
* Update config.h
add #define RGBLIGHT_SLEEP
Diffstat (limited to 'keyboards/tetris/rules.mk')
-rwxr-xr-x[-rw-r--r--] | keyboards/tetris/rules.mk | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/tetris/rules.mk b/keyboards/tetris/rules.mk index 64c434554..c3e641c8f 100644..100755 --- a/keyboards/tetris/rules.mk +++ b/keyboards/tetris/rules.mk | |||
@@ -36,26 +36,25 @@ F_USB = $(F_CPU) | |||
36 | # Interrupt driven control endpoint task(+60) | 36 | # Interrupt driven control endpoint task(+60) |
37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT |
38 | 38 | ||
39 | |||
39 | # Boot Section Size in *bytes* | 40 | # Boot Section Size in *bytes* |
40 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 | 41 | #OPT_DEFS += -DBOOTLOADER_SIZE=4096 |
41 | 42 | ||
42 | BOOTLOADER =qmk-dfu | 43 | BOOTLOADER =qmk-dfu |
43 | 44 | ||
45 | |||
44 | # Build Options | 46 | # Build Options |
45 | # comment out to disable the options. | 47 | # comment out to disable the options. |
46 | # | 48 | # |
47 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 49 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
48 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 50 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
49 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 51 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
50 | CONSOLE_ENABLE = no # Console for debug(+400) | 52 | CONSOLE_ENABLE = no # Console for debug(+400) |
51 | COMMAND_ENABLE = no # Commands for debug and configuration | 53 | COMMAND_ENABLE = no # Commands for debug and configuration |
52 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 54 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
53 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 55 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
54 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 56 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
55 | AUDIO_ENABLE = no | 57 | AUDIO_ENABLE = yes |
56 | RGBLIGHT_ENABLE = yes | 58 | RGBLIGHT_ENABLE = yes |
57 | TAP_DANCE_ENABLE = no | 59 | EXTRAFLAGS = -flto |
58 | 60 | ENCODER_ENABLE = yes | |
59 | EXTRAFLAGS += -flto # Make the hex smaller | ||
60 | |||
61 | LAYOUTS = planck_mit | ||