summaryrefslogtreecommitdiff
path: root/keyboards/nightly_boards/octopad/rules.mk
diff options
context:
space:
mode:
authorNightlyBoards <65656486+NightlyBoards@users.noreply.github.com>2020-12-30 08:58:14 +0800
committerGitHub <noreply@github.com>2020-12-29 16:58:14 -0800
commitac433b218d2f0652833155f5eaa6b0c287f9cdec (patch)
treea23a9a953daf25a560026b80f0a857dd809aa9f4 /keyboards/nightly_boards/octopad/rules.mk
parent8ee03f6a6b3216fa0d4372d4db8c09f24473c6c6 (diff)
[Keyboard] Add the Octopad (#9946)
* Create Alter folder * Revert "Create Alter folder" This reverts commit 361103b821dbb22957b66cdedb0d11f996def71c. * Add octopad folder * Added a new keyboard, the Octopad * Edited files based on requested changes * Moved encoder code in keyboard level * Updated the readme * Corrected the rows and columns of encoders on config.h * Changed the Vendor ID to D812 since the first one was already taken * Added support for ast1109MLTRQ speakers * Increased number of layers to 8 on VIA keymap * Edited files based on comments * Edited rules.mk as per comment * Edited readme.md as per comment
Diffstat (limited to 'keyboards/nightly_boards/octopad/rules.mk')
-rw-r--r--keyboards/nightly_boards/octopad/rules.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/nightly_boards/octopad/rules.mk b/keyboards/nightly_boards/octopad/rules.mk
new file mode 100644
index 0000000000..0e0230e1e5
--- /dev/null
+++ b/keyboards/nightly_boards/octopad/rules.mk
@@ -0,0 +1,26 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# 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 = yes # Enable keyboard RGB underglow
+BLUETOOTH_ENABLE = no # Enable Bluetooth
+AUDIO_ENABLE = yes # Audio output
+ENCODER_ENABLE = yes # Enable Rotary Encoders
+
+# Added encoder Action
+SRC += encoder_action.c \ No newline at end of file