summaryrefslogtreecommitdiff
path: root/keyboards/wekey/we27/rules.mk
diff options
context:
space:
mode:
authorUy Bui <uybv.cntt@gmail.com>2021-07-20 14:26:26 +0900
committerGitHub <noreply@github.com>2021-07-19 22:26:26 -0700
commit125691558398c4bfff93b457147b2802365cbd3f (patch)
tree1e4ea53de60bef8b57c441f752b52f9518409bc3 /keyboards/wekey/we27/rules.mk
parent35ee990bd0293efbd5746671f1e58cec262a066b (diff)
[Keyboard] Add we27 numpad (#13137)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/wekey/we27/rules.mk')
-rw-r--r--keyboards/wekey/we27/rules.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/keyboards/wekey/we27/rules.mk b/keyboards/wekey/we27/rules.mk
new file mode 100644
index 0000000000..f510969bf6
--- /dev/null
+++ b/keyboards/wekey/we27/rules.mk
@@ -0,0 +1,32 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = caterina
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
+MOUSEKEY_ENABLE = yes # Mouse keys
+EXTRAKEY_ENABLE = yes # Audio control and System control
+CONSOLE_ENABLE = no # Console for debug
+COMMAND_ENABLE = no # Commands for debug and configuration
+# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
+SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
+NKRO_ENABLE = no # USB Nkey Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = no # Audio output
+ENCODER_ENABLE = yes
+RGB_MATRIX_ENABLE = yes # Use RGB matrix
+RGB_MATRIX_DRIVER = WS2812
+
+DEBOUNCE_TYPE = sym_defer_pk
+RGB_MATRIX_CUSTOM_KB = yes
+
+SRC += encoder_actions.c
+
+LAYOUTS = numpad_6x5