diff options
Diffstat (limited to 'keyboards/kbdmania/kmac')
-rw-r--r-- | keyboards/kbdmania/kmac/keyboard.json (renamed from keyboards/kbdmania/kmac/info.json) | 8 | ||||
-rw-r--r-- | keyboards/kbdmania/kmac/matrix.c | 3 | ||||
-rw-r--r-- | keyboards/kbdmania/kmac/rules.mk | 11 |
3 files changed, 8 insertions, 14 deletions
diff --git a/keyboards/kbdmania/kmac/info.json b/keyboards/kbdmania/kmac/keyboard.json index 0ec6f0b2a9..c372cb1fc8 100644 --- a/keyboards/kbdmania/kmac/info.json +++ b/keyboards/kbdmania/kmac/keyboard.json @@ -17,6 +17,14 @@ }, "processor": "atmega32u4", "bootloader": "atmel-dfu", + "features": { + "bootmagic": true, + "mousekey": true, + "extrakey": true, + "command": true, + "nkro": true, + "backlight": true + }, "community_layouts": ["tkl_ansi"], "layouts": { "LAYOUT_tkl_ansi": { diff --git a/keyboards/kbdmania/kmac/matrix.c b/keyboards/kbdmania/kmac/matrix.c index 6569867032..1843d19fd2 100644 --- a/keyboards/kbdmania/kmac/matrix.c +++ b/keyboards/kbdmania/kmac/matrix.c @@ -14,15 +14,12 @@ 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 <http://www.gnu.org/licenses/>. */ -#include <stdint.h> -#include <stdbool.h> #include "wait.h" #include "print.h" #include "debug.h" #include "util.h" #include "matrix.h" #include "debounce.h" -#include "quantum.h" #if (MATRIX_COLS <= 8) # define print_matrix_header() print("\nr/c 01234567\n") diff --git a/keyboards/kbdmania/kmac/rules.mk b/keyboards/kbdmania/kmac/rules.mk index d9aa87a7dc..b35b955f69 100644 --- a/keyboards/kbdmania/kmac/rules.mk +++ b/keyboards/kbdmania/kmac/rules.mk @@ -1,18 +1,7 @@ # Processor frequency F_CPU = 8000000 -# Build Options -# change yes to no to disable -# -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 = yes # Commands for debug and configuration CUSTOM_MATRIX = yes # Custom matrix file -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output # Project specific files SRC += matrix.c |