diff options
Diffstat (limited to 'keyboards/draytronics/daisy')
-rw-r--r-- | keyboards/draytronics/daisy/config.h | 102 | ||||
-rw-r--r-- | keyboards/draytronics/daisy/daisy.c | 19 | ||||
-rw-r--r-- | keyboards/draytronics/daisy/daisy.h | 33 | ||||
-rw-r--r-- | keyboards/draytronics/daisy/info.json | 32 | ||||
-rw-r--r-- | keyboards/draytronics/daisy/keymaps/default/keymap.c | 52 | ||||
-rw-r--r-- | keyboards/draytronics/daisy/readme.md | 20 | ||||
-rw-r--r-- | keyboards/draytronics/daisy/rules.mk | 19 |
7 files changed, 0 insertions, 277 deletions
diff --git a/keyboards/draytronics/daisy/config.h b/keyboards/draytronics/daisy/config.h deleted file mode 100644 index 3e0895cff3..0000000000 --- a/keyboards/draytronics/daisy/config.h +++ /dev/null @@ -1,102 +0,0 @@ -/*Copyright 2021 Blake Drayson / Draytronics - -Contact info@draytronics.co.uk - -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 <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 3 -#define MATRIX_COLS 4 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ - -#define MATRIX_ROW_PINS { B0, C0, C1} -#define MATRIX_COL_PINS { C2, C3, C4, C5 } - -#define ENCODERS_PAD_A { B1, D0 } -#define ENCODERS_PAD_B { B2, D1 } -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW -#define TAP_CODE_DELAY 10 -/* 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 -/* 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 -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is useful 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 -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ -/* disable debug print */ -//#define NO_DEBUG -/* disable print */ -//#define NO_PRINT -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT - -//Underglow -#define RGB_DI_PIN D4 // Underglow led pin -#ifdef RGB_DI_PIN - #define RGBLED_NUM 4 - #define RGBLIGHT_HUE_STEP 8 - #define RGBLIGHT_SAT_STEP 8 - #define RGBLIGHT_VAL_STEP 8 - #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ - #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ - /*== all animations enable ==*/ - #define RGBLIGHT_ANIMATIONS -#endif diff --git a/keyboards/draytronics/daisy/daisy.c b/keyboards/draytronics/daisy/daisy.c deleted file mode 100644 index 149cb3d0c7..0000000000 --- a/keyboards/draytronics/daisy/daisy.c +++ /dev/null @@ -1,19 +0,0 @@ -/*Copyright 2021 Blake Drayson / Draytronics - -Contact info@draytronics.co.uk - -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 <http://www.gnu.org/licenses/>. -*/ - -#include "daisy.h" diff --git a/keyboards/draytronics/daisy/daisy.h b/keyboards/draytronics/daisy/daisy.h deleted file mode 100644 index 2c47989433..0000000000 --- a/keyboards/draytronics/daisy/daisy.h +++ /dev/null @@ -1,33 +0,0 @@ -/*Copyright 2021 Blake Drayson / Draytronics - -Contact info@draytronics.co.uk - -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 <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -#define _x_ KC_NO - -#include "quantum.h" - -#define LAYOUT( \ - K00, K03, \ - K10, K11, K12, K13, \ - K20, K21, K22, K23 \ -) { \ -{ K00, _x_, _x_, K03, }, \ -{ K10, K11, K12, K13, }, \ -{ K20, K21, K22, K23, }, \ -} diff --git a/keyboards/draytronics/daisy/info.json b/keyboards/draytronics/daisy/info.json deleted file mode 100644 index 80f9da0e59..0000000000 --- a/keyboards/draytronics/daisy/info.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "keyboard_name": "DAISY", - "manufacturer": "Draytronics", - "url": "https://www.draytronics.co.uk/daisy", - "maintainer": "ghostseven", - "usb": { - "vid": "0x4454", - "pid": "0x4441", - "device_version": "1.0.0" - }, - "layout_aliases": { - "LAYOUT_daisy": "LAYOUT" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"", "x":0, "y":0}, - {"label":"", "x":3, "y":0}, - - {"label":"", "x":0, "y":1}, - {"label":"", "x":1, "y":1}, - {"label":"", "x":2, "y":1}, - {"label":"", "x":3, "y":1}, - - {"label":"", "x":0, "y":2}, - {"label":"", "x":1, "y":2}, - {"label":"", "x":2, "y":2}, - {"label":"", "x":3, "y":2} - ] - } - } -} diff --git a/keyboards/draytronics/daisy/keymaps/default/keymap.c b/keyboards/draytronics/daisy/keymaps/default/keymap.c deleted file mode 100644 index 0855053903..0000000000 --- a/keyboards/draytronics/daisy/keymaps/default/keymap.c +++ /dev/null @@ -1,52 +0,0 @@ -/*Copyright 2021 Blake Drayson / Draytronics - -Contact info@draytronics.co.uk - -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 <http://www.gnu.org/licenses/>. -*/ - -#include QMK_KEYBOARD_H -#define _BASE 0 // Base layer -#define _CODE 1 // Code layer - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_BASE] = LAYOUT( - KC_MUTE, KC_HOME, - MO(_CODE), KC_MPRV, KC_MNXT, KC_MPLY, - C(KC_LEFT), C(KC_UP), C(KC_DOWN), C(KC_RIGHT) - ), - [_CODE] = LAYOUT( - KC_MUTE, KC_END, - _______, RGB_MOD, RGB_VAI, RGB_TOG, - G(S(KC_5)), G(A(KC_ESC)), G(KC_F), QK_BOOT - ) -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { - if (clockwise) { - tap_code(KC_VOLD); - } else { - tap_code(KC_VOLU); - } - } - else if (index == 1) { - if (clockwise) { - tap_code(KC_PGUP); - } else { - tap_code(KC_PGDN); - } - } - return true; -} diff --git a/keyboards/draytronics/daisy/readme.md b/keyboards/draytronics/daisy/readme.md deleted file mode 100644 index 6e8dd007aa..0000000000 --- a/keyboards/draytronics/daisy/readme.md +++ /dev/null @@ -1,20 +0,0 @@ -# DAISY -![daisy](https://www.draytronics.co.uk/wp-content/uploads/2020/12/repository-open-graph-template-1.png) - -An open source macro pad with rotary encoders and under glow, designed to be easily built with (mostly) through hole components. More info / kits / PCB designs available at [draytronics.co.uk/daisy](https://www.draytronics.co.uk/daisy) - -* Keyboard Maintainer: [Blake Drayson](https://github.com/ghostseven) -* Hardware Supported: DAISY PCB / ATMega328P -* Hardware Availability: [draytronics.co.uk](https://draytronics.co.uk) - -Make example for this keyboard (after setting up your build environment): - - make draytronics/daisy:default - -Flashing example for this keyboard: - - make draytronics/daisy:default:flash - -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). - -VIA design config file avaliable [here](https://www.draytronics.co.uk/f_daisy/draytronics_daisy_via_config.json) diff --git a/keyboards/draytronics/daisy/rules.mk b/keyboards/draytronics/daisy/rules.mk deleted file mode 100644 index 7bf0a86667..0000000000 --- a/keyboards/draytronics/daisy/rules.mk +++ /dev/null @@ -1,19 +0,0 @@ -# MCU name -MCU = atmega328p - -# Bootloader selection -BOOTLOADER = usbasploader - -# 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 = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -ENCODER_ENABLE = yes # Rotary encoder support |