From a483ab321313471bfa54e71f14bb68056130b7c3 Mon Sep 17 00:00:00 2001 From: peepeetee <43021794+peepeetee@users.noreply.github.com> Date: Tue, 11 Jan 2022 08:39:17 +0800 Subject: [Keyboard] move novelkeys keyboards to vendor folder (#15783) --- keyboards/nk1/config.h | 93 --------------------------------- keyboards/nk1/info.json | 10 ---- keyboards/nk1/keymaps/default/keymap.c | 21 -------- keyboards/nk1/keymaps/default/readme.md | 1 - keyboards/nk1/keymaps/via/keymap.c | 21 -------- keyboards/nk1/keymaps/via/readme.md | 1 - keyboards/nk1/keymaps/via/rules.mk | 1 - keyboards/nk1/nk1.c | 17 ------ keyboards/nk1/nk1.h | 25 --------- keyboards/nk1/readme.md | 32 ------------ keyboards/nk1/rules.mk | 20 ------- 11 files changed, 242 deletions(-) delete mode 100644 keyboards/nk1/config.h delete mode 100755 keyboards/nk1/info.json delete mode 100644 keyboards/nk1/keymaps/default/keymap.c delete mode 100644 keyboards/nk1/keymaps/default/readme.md delete mode 100644 keyboards/nk1/keymaps/via/keymap.c delete mode 100644 keyboards/nk1/keymaps/via/readme.md delete mode 100644 keyboards/nk1/keymaps/via/rules.mk delete mode 100644 keyboards/nk1/nk1.c delete mode 100644 keyboards/nk1/nk1.h delete mode 100644 keyboards/nk1/readme.md delete mode 100644 keyboards/nk1/rules.mk (limited to 'keyboards/nk1') diff --git a/keyboards/nk1/config.h b/keyboards/nk1/config.h deleted file mode 100644 index 122df2e6da..0000000000 --- a/keyboards/nk1/config.h +++ /dev/null @@ -1,93 +0,0 @@ - -/* Copyright 2021 Yiancar - * - * 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 0x8968 -#define PRODUCT_ID 0x4E4D -#define DEVICE_VER 0x0001 -#define MANUFACTURER Yiancar-Designs -#define PRODUCT NK1 - -/* key matrix size */ -#define MATRIX_ROWS 1 -#define MATRIX_COLS 1 - -/* Keyboard Matrix Assignments */ -#define DIRECT_PINS { \ - { D4 } \ -} - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is userful for the Windows task manager shortcut (ctrl+shift+esc). - */ -// #define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Magic Key Options - * - * Magic keys are hotkey commands that allow control over firmware functions of - * the keyboard. They are best used in combination with the HID Listen program, - * found here: https://www.pjrc.com/teensy/hid_listen.html - * - * The options below allow the magic key functionality to be changed. This is - * useful if your keyboard/keypad is missing keys and you want magic key support. - * - */ - -#define RGB_DI_PIN F0 -#ifdef RGB_DI_PIN - #define RGBLED_NUM 9 - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 - #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ - #define RGBLIGHT_ANIMATIONS -#endif - -/* There is only 1 Button so limiting VIA to 1 layer */ -#define DYNAMIC_KEYMAP_LAYER_COUNT 1 diff --git a/keyboards/nk1/info.json b/keyboards/nk1/info.json deleted file mode 100755 index 43b1719e94..0000000000 --- a/keyboards/nk1/info.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "keyboard_name": "NK1", - "url": "www.yiancar-designs.com", - "maintainer": "yiancar", - "layouts": { - "LAYOUT_ortho_1x1": { - "layout": [{"x": 0, "y": 0}] - } - } -} diff --git a/keyboards/nk1/keymaps/default/keymap.c b/keyboards/nk1/keymaps/default/keymap.c deleted file mode 100644 index 550a0f4873..0000000000 --- a/keyboards/nk1/keymaps/default/keymap.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2021 Yiancar - * - * 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] = { -[0] = LAYOUT_ortho_1x1( /* Base */ - KC_ENT) -}; diff --git a/keyboards/nk1/keymaps/default/readme.md b/keyboards/nk1/keymaps/default/readme.md deleted file mode 100644 index 6e9c78ee51..0000000000 --- a/keyboards/nk1/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for NK1 diff --git a/keyboards/nk1/keymaps/via/keymap.c b/keyboards/nk1/keymaps/via/keymap.c deleted file mode 100644 index 550a0f4873..0000000000 --- a/keyboards/nk1/keymaps/via/keymap.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright 2021 Yiancar - * - * 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] = { -[0] = LAYOUT_ortho_1x1( /* Base */ - KC_ENT) -}; diff --git a/keyboards/nk1/keymaps/via/readme.md b/keyboards/nk1/keymaps/via/readme.md deleted file mode 100644 index 10025a5969..0000000000 --- a/keyboards/nk1/keymaps/via/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for NK1 with VIA enabled diff --git a/keyboards/nk1/keymaps/via/rules.mk b/keyboards/nk1/keymaps/via/rules.mk deleted file mode 100644 index 036bd6d1c3..0000000000 --- a/keyboards/nk1/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes \ No newline at end of file diff --git a/keyboards/nk1/nk1.c b/keyboards/nk1/nk1.c deleted file mode 100644 index 6833478568..0000000000 --- a/keyboards/nk1/nk1.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 Yiancar - * - * 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 "nk1.h" diff --git a/keyboards/nk1/nk1.h b/keyboards/nk1/nk1.h deleted file mode 100644 index 3962e18516..0000000000 --- a/keyboards/nk1/nk1.h +++ /dev/null @@ -1,25 +0,0 @@ -/* Copyright 2021 Yiancar - * - * 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 "quantum.h" - -#define LAYOUT_ortho_1x1( \ - K00 \ -) { \ - { K00 } \ -} diff --git a/keyboards/nk1/readme.md b/keyboards/nk1/readme.md deleted file mode 100644 index bc668481b5..0000000000 --- a/keyboards/nk1/readme.md +++ /dev/null @@ -1,32 +0,0 @@ -# NK1 - -A big switch keypad! - -* Keyboard Maintainer: [Yiancar](https://yiancar-designs.com/) and on [GitHub](https://github.com/yiancar) -* Hardware Supported: A BIG keypad with ATmega 32u4 -* Hardware Availability: https://novelkeys.xyz/ - -## Instructions - -### Build - -Make example for this keyboard (after setting up your build environment): - - make nk1: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). - -### Reset - -- Unplug -- Hold the key -- Plug In -- Unplug -- Release the key - -### Flash - -- Unplug -- Hold the key -- Plug In -- Flash using QMK Toolbox or dfu-util (`make nk1::flash`) diff --git a/keyboards/nk1/rules.mk b/keyboards/nk1/rules.mk deleted file mode 100644 index 16d3dfedd0..0000000000 --- a/keyboards/nk1/rules.mk +++ /dev/null @@ -1,20 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - -# 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 = no # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output - -LAYOUTS = ortho_1x1 -- cgit v1.2.1