From 176e64822b97e06137721ebe3fae439d51337c06 Mon Sep 17 00:00:00 2001 From: filterpaper Date: Fri, 12 Nov 2021 07:03:32 +0800 Subject: [PATCH 01/12] Initial commit of macro3 files --- keyboards/macro3/config.h | 59 +++++++++++++++++++++++ keyboards/macro3/info.json | 20 ++++++++ keyboards/macro3/keymaps/default/keymap.c | 33 +++++++++++++ keyboards/macro3/macro3.c | 20 ++++++++ keyboards/macro3/macro3.h | 29 +++++++++++ keyboards/macro3/readme.md | 25 ++++++++++ keyboards/macro3/rules.mk | 25 ++++++++++ 7 files changed, 211 insertions(+) create mode 100644 keyboards/macro3/config.h create mode 100644 keyboards/macro3/info.json create mode 100644 keyboards/macro3/keymaps/default/keymap.c create mode 100644 keyboards/macro3/macro3.c create mode 100644 keyboards/macro3/macro3.h create mode 100644 keyboards/macro3/readme.md create mode 100644 keyboards/macro3/rules.mk diff --git a/keyboards/macro3/config.h b/keyboards/macro3/config.h new file mode 100644 index 000000000000..a7930a50b436 --- /dev/null +++ b/keyboards/macro3/config.h @@ -0,0 +1,59 @@ +/* Copyright 2021 + * David Philip Barr <@davidphilipbarr> + * Albert Y <@filterpaper> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#pragma once +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xC88B +#define PRODUCT_ID 0x3388 +#define DEVICE_VER 0x0003 +#define MANUFACTURER DPB +#define PRODUCT Macro3 + +/* key matrix size */ +#define MATRIX_ROWS 2 +#define MATRIX_COLS 4 + +/* key matrix pins */ +#define DIRECT_PINS { \ + { D7, C6, D4, D1 }, \ + { B1, B4, B5, B3 } \ +} + +#define ENCODERS_PAD_A { D2, F7 } +#define ENCODERS_PAD_B { D3, F6 } + +#define UNUSED_PINS + +/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ +#define DEBOUNCE 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE + +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* prevent stuck modifiers */ +#define PREVENT_STUCK_MODIFIERS + +/* Top right key */ +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 3 + diff --git a/keyboards/macro3/info.json b/keyboards/macro3/info.json new file mode 100644 index 000000000000..b25779cb703b --- /dev/null +++ b/keyboards/macro3/info.json @@ -0,0 +1,20 @@ +{ + "keyboard_name": "Macro3", + "url": "https://github.com/davidphilipbarr/Macropads/tree/main/macro3", + "maintainer": "@davidphilipbarr", + "layouts": { + "LAYOUT": { + "layout": [ + {"x": 0, "y": 0}, + {"x": 1, "y": 0}, + {"x": 2, "y": 0}, + {"x": 3, "y": 0}, + + {"x": 0, "y": 1}, + {"x": 1, "y": 1}, + {"x": 2, "y": 1}, + {"x": 3, "y": 1}, + ] + } + } +} diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c new file mode 100644 index 000000000000..963dc6aa96b7 --- /dev/null +++ b/keyboards/macro3/keymaps/default/keymap.c @@ -0,0 +1,33 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT( + KC_HOME, KC_MUTE, KC_MPLY, KC_MSEL, + KC_UNDO, KC_CUT, KC_COPY, LT(1,KC_PSTE) + ), + [1] = LAYOUT( + _______, _______, _______, _______, + RESET, _______, _______, _______ + ) +}; + + +#ifdef ENCODER_ENABLE +bool encoder_update_user(uint8_t index, bool clockwise) { + if (index == 1) { + if (clockwise) { + tap_code(KC_VOLD); + } else { + tap_code(KC_VOLU); + } + } else if (index == 0) { + if (clockwise) { + tap_code(KC_PGDN); + } else { + tap_code(KC_PGUP); + } + } + return false; +} +#endif + diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c new file mode 100644 index 000000000000..61f4b983092b --- /dev/null +++ b/keyboards/macro3/macro3.c @@ -0,0 +1,20 @@ +/* Copyright 2021 + * David Philip Barr <@davidphilipbarr> + * Albert Y <@filterpaper> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "macro3.h" + diff --git a/keyboards/macro3/macro3.h b/keyboards/macro3/macro3.h new file mode 100644 index 000000000000..37d7e0807719 --- /dev/null +++ b/keyboards/macro3/macro3.h @@ -0,0 +1,29 @@ +/* Copyright 2021 + * David Philip Barr <@davidphilipbarr> + * Albert Y <@filterpaper> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include "quantum.h" + +#define LAYOUT( \ + K00, K01, K02, K03, \ + K10, K11, K12, K13 \ +) \ +{ \ + { K00, K01, K02, K03 }, \ + { K10, K11, K12, K13 } \ +} + diff --git a/keyboards/macro3/readme.md b/keyboards/macro3/readme.md new file mode 100644 index 000000000000..f40344385db1 --- /dev/null +++ b/keyboards/macro3/readme.md @@ -0,0 +1,25 @@ +# Macro3 + +![Macro3](https://github.com/davidphilipbarr/Macropads/raw/main/macro3/IMG_20200703_170424.jpg) + +Macro3 is a low-profile macro pad with encoder support designed by [@davidphilipbarr](https://github.com/davidphilipbarr) using direct micro-controller pin wiring. + +## Keyboard Info + +* Keyboard Maintainer: [davidphilipbarr](https://github.com/davidphilipbarr) +* Hardware Supported: [Macro3](https://github.com/davidphilipbarr/Macropads/tree/main/macro3) +* Hardware Availability: order PCBs with gerber file from the repository + +Make example for this keyboard (after setting up your build environment): + + make macro3:default + +See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). + +## Bootloader + +Enter the bootloader in 3 ways: + +* **Bootmagic reset**: Hold down the top right key and plug in the controller. +* **Physical reset button**: Briefly press the reset button soldered on the PCB. +* **Keycode in layout**: Press the key mapped to `RESET` if it is configured. diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk new file mode 100644 index 000000000000..6d315f35b78b --- /dev/null +++ b/keyboards/macro3/rules.mk @@ -0,0 +1,25 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +ENCODER_ENABLE = yes +BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite +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 +UNICODE_ENABLE = yes # Unicode +AUDIO_ENABLE = no # Audio output +SPLIT_KEYBOARD = no # Use shared split_common code + From 4382a5babc5572d76f0661bd8afc88d7dcd32987 Mon Sep 17 00:00:00 2001 From: filterpaper Date: Fri, 12 Nov 2021 14:16:50 +0800 Subject: [PATCH 02/12] Update copyright --- keyboards/macro3/config.h | 5 ++--- keyboards/macro3/keymaps/default/keymap.c | 17 +++++++++++++++++ keyboards/macro3/macro3.c | 5 ++--- keyboards/macro3/macro3.h | 5 ++--- 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/keyboards/macro3/config.h b/keyboards/macro3/config.h index a7930a50b436..a365121c1588 100644 --- a/keyboards/macro3/config.h +++ b/keyboards/macro3/config.h @@ -1,6 +1,5 @@ -/* Copyright 2021 - * David Philip Barr <@davidphilipbarr> - * Albert Y <@filterpaper> +/* Copyright 2020 David Philip Barr <@davidphilipbarr> + * Copyright 2021 @filterpaper * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c index 963dc6aa96b7..6c592498f98a 100644 --- a/keyboards/macro3/keymaps/default/keymap.c +++ b/keyboards/macro3/keymaps/default/keymap.c @@ -1,3 +1,20 @@ +/* Copyright 2020 David Philip Barr <@davidphilipbarr> + * Copyright 2021 @filterpaper + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c index 61f4b983092b..55a3b4c77bae 100644 --- a/keyboards/macro3/macro3.c +++ b/keyboards/macro3/macro3.c @@ -1,6 +1,5 @@ -/* Copyright 2021 - * David Philip Barr <@davidphilipbarr> - * Albert Y <@filterpaper> +/* Copyright 2020 David Philip Barr <@davidphilipbarr> + * Copyright 2021 @filterpaper * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/keyboards/macro3/macro3.h b/keyboards/macro3/macro3.h index 37d7e0807719..12621d2c09d3 100644 --- a/keyboards/macro3/macro3.h +++ b/keyboards/macro3/macro3.h @@ -1,6 +1,5 @@ -/* Copyright 2021 - * David Philip Barr <@davidphilipbarr> - * Albert Y <@filterpaper> +/* Copyright 2020 David Philip Barr <@davidphilipbarr> + * Copyright 2021 @filterpaper * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by From a24ee614c33081cb436d092a8d10578232c48615 Mon Sep 17 00:00:00 2001 From: filterpaper Date: Fri, 12 Nov 2021 14:19:07 +0800 Subject: [PATCH 03/12] Use space instead of tabs --- keyboards/macro3/keymaps/default/keymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c index 6c592498f98a..52afb4078d6d 100644 --- a/keyboards/macro3/keymaps/default/keymap.c +++ b/keyboards/macro3/keymaps/default/keymap.c @@ -19,12 +19,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [0] = LAYOUT( - KC_HOME, KC_MUTE, KC_MPLY, KC_MSEL, - KC_UNDO, KC_CUT, KC_COPY, LT(1,KC_PSTE) + KC_HOME, KC_MUTE, KC_MPLY, KC_MSEL, + KC_UNDO, KC_CUT, KC_COPY, LT(1,KC_PSTE) ), [1] = LAYOUT( - _______, _______, _______, _______, - RESET, _______, _______, _______ + _______, _______, _______, _______, + RESET, _______, _______, _______ ) }; From f9b292d6af51fc61d12d3935178cb8c14f410eb2 Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Fri, 12 Nov 2021 22:59:37 +0800 Subject: [PATCH 04/12] Update keyboards/macro3/config.h Co-authored-by: Joel Challis --- keyboards/macro3/config.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/keyboards/macro3/config.h b/keyboards/macro3/config.h index a365121c1588..59f7a151c7a4 100644 --- a/keyboards/macro3/config.h +++ b/keyboards/macro3/config.h @@ -49,9 +49,6 @@ /* Locking resynchronize hack */ #define LOCKING_RESYNC_ENABLE -/* prevent stuck modifiers */ -#define PREVENT_STUCK_MODIFIERS - /* Top right key */ #define BOOTMAGIC_LITE_ROW 0 #define BOOTMAGIC_LITE_COLUMN 3 From a75dae38acfade2efe8d86ef7a82fd90184156f4 Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Sat, 13 Nov 2021 07:19:31 +0800 Subject: [PATCH 05/12] Remove user encoder code from default keymap.c Co-authored-by: Drashna Jaelre --- keyboards/macro3/keymaps/default/keymap.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c index 52afb4078d6d..7ff0609a35e6 100644 --- a/keyboards/macro3/keymaps/default/keymap.c +++ b/keyboards/macro3/keymaps/default/keymap.c @@ -29,22 +29,4 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { }; -#ifdef ENCODER_ENABLE -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 1) { - if (clockwise) { - tap_code(KC_VOLD); - } else { - tap_code(KC_VOLU); - } - } else if (index == 0) { - if (clockwise) { - tap_code(KC_PGDN); - } else { - tap_code(KC_PGUP); - } - } - return false; -} -#endif From 2649dece14bb0f1fda16bc11783c4902393b8adb Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Sat, 13 Nov 2021 07:20:06 +0800 Subject: [PATCH 06/12] Add default keyboard level encoder support Co-authored-by: Drashna Jaelre --- keyboards/macro3/macro3.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c index 55a3b4c77bae..b0fec251b45a 100644 --- a/keyboards/macro3/macro3.c +++ b/keyboards/macro3/macro3.c @@ -17,3 +17,22 @@ #include "macro3.h" +#ifdef ENCODER_ENABLE +bool encoder_update_kb(uint8_t index, bool clockwise) { + if (!encoder_update_user(index, clockwise)) { return false; } + if (index == 1) { + if (clockwise) { + tap_code(KC_VOLD); + } else { + tap_code(KC_VOLU); + } + } else if (index == 0) { + if (clockwise) { + tap_code(KC_PGDN); + } else { + tap_code(KC_PGUP); + } + } + return true; +} +#endif From 879fdd68cdd85af4a5b435c07d6526b10c01e98f Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Sat, 13 Nov 2021 07:24:09 +0800 Subject: [PATCH 07/12] Replace page movement with mouse wheel. --- keyboards/macro3/macro3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c index b0fec251b45a..84916dade91f 100644 --- a/keyboards/macro3/macro3.c +++ b/keyboards/macro3/macro3.c @@ -28,9 +28,9 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { } } else if (index == 0) { if (clockwise) { - tap_code(KC_PGDN); + tap_code(KC_WH_D); } else { - tap_code(KC_PGUP); + tap_code(KC_WH_U); } } return true; From 9db1e5175f7356dfde24426c6ed4f9750d5b3757 Mon Sep 17 00:00:00 2001 From: filterpaper Date: Sat, 13 Nov 2021 14:12:42 +0800 Subject: [PATCH 08/12] Blank lines --- keyboards/macro3/keymaps/default/keymap.c | 2 -- keyboards/macro3/macro3.c | 1 + keyboards/macro3/readme.md | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c index 7ff0609a35e6..ca4db51f3e3c 100644 --- a/keyboards/macro3/keymaps/default/keymap.c +++ b/keyboards/macro3/keymaps/default/keymap.c @@ -28,5 +28,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; - - diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c index 84916dade91f..cc12c0268aaa 100644 --- a/keyboards/macro3/macro3.c +++ b/keyboards/macro3/macro3.c @@ -36,3 +36,4 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { return true; } #endif + diff --git a/keyboards/macro3/readme.md b/keyboards/macro3/readme.md index f40344385db1..66a142ecdfcd 100644 --- a/keyboards/macro3/readme.md +++ b/keyboards/macro3/readme.md @@ -23,3 +23,4 @@ Enter the bootloader in 3 ways: * **Bootmagic reset**: Hold down the top right key and plug in the controller. * **Physical reset button**: Briefly press the reset button soldered on the PCB. * **Keycode in layout**: Press the key mapped to `RESET` if it is configured. + From a5763e355cb8aa4b821f4f19a5771bc275e7dada Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Tue, 16 Nov 2021 07:24:58 +0800 Subject: [PATCH 09/12] Remove unneeded directive Co-authored-by: Drashna Jaelre --- keyboards/macro3/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk index 6d315f35b78b..d8dd6c638f89 100644 --- a/keyboards/macro3/rules.mk +++ b/keyboards/macro3/rules.mk @@ -21,5 +21,4 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow UNICODE_ENABLE = yes # Unicode AUDIO_ENABLE = no # Audio output -SPLIT_KEYBOARD = no # Use shared split_common code From 9c1e76e21e6295e0253f0380c19776d12f14fa2b Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Tue, 16 Nov 2021 07:25:14 +0800 Subject: [PATCH 10/12] Remove unicode directive Co-authored-by: Drashna Jaelre --- keyboards/macro3/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk index d8dd6c638f89..6dea8c3714bd 100644 --- a/keyboards/macro3/rules.mk +++ b/keyboards/macro3/rules.mk @@ -19,6 +19,5 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -UNICODE_ENABLE = yes # Unicode AUDIO_ENABLE = no # Audio output From 2cc2ca1a7de00d2bdd827a20dc649e27f5837c78 Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Tue, 16 Nov 2021 07:59:48 +0800 Subject: [PATCH 11/12] Remove directive from the top. Co-authored-by: Ryan --- keyboards/macro3/rules.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk index 6dea8c3714bd..47f079112a5a 100644 --- a/keyboards/macro3/rules.mk +++ b/keyboards/macro3/rules.mk @@ -7,7 +7,6 @@ BOOTLOADER = atmel-dfu # Build Options # change yes to no to disable # -ENCODER_ENABLE = yes BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control From 8694b6d0e825795387e3e0c71a4b76ebb2c4ee42 Mon Sep 17 00:00:00 2001 From: Albert Y <76888457+filterpaper@users.noreply.github.com> Date: Tue, 16 Nov 2021 08:00:01 +0800 Subject: [PATCH 12/12] Add encoder directive to the bottom Co-authored-by: Ryan --- keyboards/macro3/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk index 47f079112a5a..baba7d9d862d 100644 --- a/keyboards/macro3/rules.mk +++ b/keyboards/macro3/rules.mk @@ -19,4 +19,4 @@ NKRO_ENABLE = no # USB Nkey Rollover BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output - +ENCODER_ENABLE = yes