summaryrefslogtreecommitdiffstats
path: root/keyboards/dmqdesign/spin
diff options
context:
space:
mode:
authorlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
committerlokher <lokher@gmail.com>2022-09-13 11:24:05 +0800
commit9581289745736ce068a1040f44cec37a2ca8830d (patch)
tree24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/dmqdesign/spin
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/dmqdesign/spin')
-rw-r--r--keyboards/dmqdesign/spin/config.h49
-rw-r--r--keyboards/dmqdesign/spin/info.json32
-rw-r--r--keyboards/dmqdesign/spin/keymaps/codecoffeecode/config.h19
-rw-r--r--keyboards/dmqdesign/spin/keymaps/codecoffeecode/keymap.c52
-rw-r--r--keyboards/dmqdesign/spin/keymaps/default/config.h21
-rw-r--r--keyboards/dmqdesign/spin/keymaps/default/keymap.c48
-rw-r--r--keyboards/dmqdesign/spin/keymaps/default/readme.md1
-rw-r--r--keyboards/dmqdesign/spin/keymaps/encoderlayers/config.h22
-rw-r--r--keyboards/dmqdesign/spin/keymaps/encoderlayers/keymap.c152
-rw-r--r--keyboards/dmqdesign/spin/keymaps/encoderlayers/readme.md1
-rw-r--r--keyboards/dmqdesign/spin/keymaps/gorbachev/config.h25
-rw-r--r--keyboards/dmqdesign/spin/keymaps/gorbachev/keymap.c249
-rw-r--r--keyboards/dmqdesign/spin/keymaps/gorbachev/readme.md7
-rw-r--r--keyboards/dmqdesign/spin/keymaps/gorbachev/rules.mk4
-rw-r--r--keyboards/dmqdesign/spin/keymaps/spidey3_pad/config.h42
-rw-r--r--keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c232
-rw-r--r--keyboards/dmqdesign/spin/keymaps/spidey3_pad/readme.md1
-rw-r--r--keyboards/dmqdesign/spin/keymaps/spidey3_pad/rules.mk7
-rw-r--r--keyboards/dmqdesign/spin/keymaps/via/keymap.c69
-rw-r--r--keyboards/dmqdesign/spin/keymaps/via/rules.mk1
-rw-r--r--keyboards/dmqdesign/spin/readme.md17
-rw-r--r--keyboards/dmqdesign/spin/rules.mk20
-rw-r--r--keyboards/dmqdesign/spin/spin.c16
-rw-r--r--keyboards/dmqdesign/spin/spin.h29
24 files changed, 0 insertions, 1116 deletions
diff --git a/keyboards/dmqdesign/spin/config.h b/keyboards/dmqdesign/spin/config.h
deleted file mode 100644
index 72efc0f556..0000000000
--- a/keyboards/dmqdesign/spin/config.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
-Copyright 2019-2020 DMQ Design
-
-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 5
-//Matrix is 3x5 instead of 3x4, as the 3 encoders are wired into the matrix
-
-#define MATRIX_ROW_PINS { F0, F1, F4 }
-#define MATRIX_COL_PINS { F5, F6, F7, C7, C6 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
-//rotary encoder setup
-#define ENCODERS_PAD_A { B6, B4, D6 }
-#define ENCODERS_PAD_B { B5, D7, D4 }
-#define ENCODER_RESOLUTION 4
-
-//Data pin for the 3 RGB LEDs
-#define RGB_DI_PIN D3
-//Number of RGB LEDs
-#define RGBLED_NUM 3
-
-/* 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
diff --git a/keyboards/dmqdesign/spin/info.json b/keyboards/dmqdesign/spin/info.json
deleted file mode 100644
index 14db65cc65..0000000000
--- a/keyboards/dmqdesign/spin/info.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "keyboard_name": "SPIN",
- "manufacturer": "DMQ Design",
- "url": "https://www.DMQdesign.com",
- "maintainer": "Quarren42",
- "usb": {
- "vid": "0xA455",
- "pid": "0x0001",
- "device_version": "0.0.1"
- },
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"x":0, "y":0},
- {"x":1, "y":0},
- {"x":2, "y":0},
- {"x":3.5, "y":0},
- {"x":0, "y":1},
- {"x":1, "y":1},
- {"x":2, "y":1},
- {"x":3.5, "y":1.5},
- {"x":0, "y":2},
- {"x":1, "y":2},
- {"x":2, "y":2},
- {"x":3.5, "y":3},
- {"x":0, "y":3},
- {"x":1, "y":3},
- {"x":2, "y":3}
- ]
- }
- }
-}
diff --git a/keyboards/dmqdesign/spin/keymaps/codecoffeecode/config.h b/keyboards/dmqdesign/spin/keymaps/codecoffeecode/config.h
deleted file mode 100644
index d736cc309f..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/codecoffeecode/config.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* Copyright 2020 codecoffeecode
- *
- * 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 RGBLIGHT_HUE_STEP 8 \ No newline at end of file
diff --git a/keyboards/dmqdesign/spin/keymaps/codecoffeecode/keymap.c b/keyboards/dmqdesign/spin/keymaps/codecoffeecode/keymap.c
deleted file mode 100644
index d6653691bb..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/codecoffeecode/keymap.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* Copyright 2020 codecoffeecode
- *
- * 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
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(
- KC_HOME, KC_UP, KC_END, /*|*/ KC_TRNS,
- KC_LEFT, KC_DOWN, KC_RIGHT, /*|*/ KC_TRNS,
- KC_MPRV, KC_MPLY, KC_MNXT, /*|*/ KC_TRNS,
- LCTL(LSFT(KC_ESC)), RGB_TOG, LGUI(KC_L)
- ),
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- switch(index) {
- case 0:
- if (clockwise) {
- tap_code(KC_VOLU); // Volume
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case 1:
- if (clockwise) {
- tap_code(KC_MS_WH_DOWN); // Scroll
- } else {
- tap_code(KC_MS_WH_UP);
- }
- break;
- case 2:
- if (clockwise) {
- rgblight_increase_hue(); // RGB Hue
- } else {
- rgblight_decrease_hue();
- }
- break;
- }
- return true;
-}
diff --git a/keyboards/dmqdesign/spin/keymaps/default/config.h b/keyboards/dmqdesign/spin/keymaps/default/config.h
deleted file mode 100644
index a6d4ee4319..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/default/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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 RGBLIGHT_HUE_STEP 8
-
-// place overrides here
diff --git a/keyboards/dmqdesign/spin/keymaps/default/keymap.c b/keyboards/dmqdesign/spin/keymaps/default/keymap.c
deleted file mode 100644
index ea6b518c38..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/default/keymap.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(/* Base */
- KC_7, KC_8, KC_9, KC_TRNS,
- KC_4, KC_5, KC_6, KC_TRNS,
- KC_1, KC_2, KC_3, KC_TRNS,
- KC_0, RGB_TOG, KC_ENTER
- ),
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- if (clockwise) {
- rgblight_increase_hue(); //Cycle through the RGB hue
- } else {
- rgblight_decrease_hue();
- }
- } else if (index == 1) { /* Second encoder */
- if (clockwise) {
- tap_code(KC_VOLU); //Example of using tap_code which lets you use keycodes outside of the keymap
- } else {
- tap_code(KC_VOLD);
- }
- } else if (index == 2) { /* Third encoder */
- if (clockwise) {
- rgblight_increase_val(); //Change brightness on the RGB LEDs
- } else {
- rgblight_decrease_val();
- }
- }
- return true;
-}
diff --git a/keyboards/dmqdesign/spin/keymaps/default/readme.md b/keyboards/dmqdesign/spin/keymaps/default/readme.md
deleted file mode 100644
index 384b1a7d8a..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/default/readme.md
+++ /dev/null
@@ -1 +0,0 @@
-# The default keymap for the SPIN Macro Pad, it includes basic encoder & rgb functionality. \ No newline at end of file
diff --git a/keyboards/dmqdesign/spin/keymaps/encoderlayers/config.h b/keyboards/dmqdesign/spin/keymaps/encoderlayers/config.h
deleted file mode 100644
index 8b04e7dd31..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/encoderlayers/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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 RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_HUE_STEP 8
-#define MIDI_ADVANCED
-
diff --git a/keyboards/dmqdesign/spin/keymaps/encoderlayers/keymap.c b/keyboards/dmqdesign/spin/keymaps/encoderlayers/keymap.c
deleted file mode 100644
index 100f821a60..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/encoderlayers/keymap.c
+++ /dev/null
@@ -1,152 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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
-#include "midi.h"
-#include "qmk_midi.h"
-
-enum layers
-{
- _BL,
- _FL,
- _TL
-};
-
-uint8_t currentLayer;
-
-//The below layers are intentionally empty in order to give a good starting point for how to configure multiple layers.
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_BL] = LAYOUT(/* Base */
- KC_KP_7, KC_KP_8, KC_KP_9, TO(_BL),
- KC_KP_4, KC_KP_5, KC_KP_6, TO(_FL),
- KC_KP_1, KC_KP_2, KC_KP_3, TO(_TL),
- KC_KP_0, RGB_TOG, RGB_MOD
- ),
-
- [_FL] = LAYOUT(/* Base */
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_MS_BTN1, KC_NO, KC_MS_BTN2
- ),
-
- [_TL] = LAYOUT(/* Base */
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO
- )
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- switch (currentLayer) { //break each encoder update into a switch statement for the current layer
- case _BL:
- if (clockwise) {
- rgblight_increase_hue();
- } else {
- rgblight_decrease_hue();
- }
- break;
- case _FL:
- if (clockwise) {
- midi_send_cc(&midi_device, 0, 0x14, 1);
- } else {
- midi_send_cc(&midi_device, 0, 0x15, 1);
- }
- break;
- case _TL:
- if (clockwise) {
- midi_send_cc(&midi_device, 0, 0x1A, 1);
- } else {
- midi_send_cc(&midi_device, 0, 0x1B, 1);
- }
- break;
- }
- } else if (index == 1) { /* Second encoder */
- switch (currentLayer) {
- case _BL:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case _FL:
- if (clockwise) {
- midi_send_cc(&midi_device, 0, 0x16, 1);
- } else {
- midi_send_cc(&midi_device, 0, 0x17, 1);
- }
- break;
- case _TL:
- if (clockwise) {
- midi_send_cc(&midi_device, 0, 0x1C, 1);
- } else {
- midi_send_cc(&midi_device, 0, 0x1D, 1);
- }
- break;
- }
- } else if (index == 2) { /* Third encoder */
- switch (currentLayer) {
- case _BL:
- if (clockwise) {
- rgblight_increase_val();
- } else {
- rgblight_decrease_val();
- }
- break;
- case _FL:
- if (clockwise) {
- midi_send_cc(&midi_device, 0, 0x18, 1);
- } else {
- midi_send_cc(&midi_device, 0, 0x19, 1);
- }
- break;
- case _TL:
- if (clockwise) {
- midi_send_cc(&midi_device, 0, 0x1E, 1);
- } else {
- midi_send_cc(&midi_device, 0, 0x1F, 1);
- }
- break;
- }
- }
- return true;
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) { //This will run every time the layer is updated
- currentLayer = get_highest_layer(state);
-
- switch (currentLayer) {
- case _BL:
- setrgb(RGB_WHITE, &led[0]); //Set the top LED to white for the bottom layer
- setrgb(0, 0, 0, &led[1]);
- setrgb(0, 0, 0, &led[2]);
- break;
- case _FL:
- setrgb(0, 0, 0, &led[0]); //Set the middle LED to white for the middle layer
- setrgb(RGB_WHITE, &led[1]);
- setrgb(0, 0, 0, &led[2]);
- break;
- case _TL:
- setrgb(0, 0, 0, &led[0]);
- setrgb(0, 0, 0, &led[1]);
- setrgb(RGB_WHITE, &led[2]); //Set the bottom LED to white for the top layer
- break;
- }
- rgblight_set();
- return state;
-}
diff --git a/keyboards/dmqdesign/spin/keymaps/encoderlayers/readme.md b/keyboards/dmqdesign/spin/keymaps/encoderlayers/readme.md
deleted file mode 100644
index 256fb16d47..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/encoderlayers/readme.md
+++ /dev/null
@@ -1 +0,0 @@
-# This keymap is intended to demonstrate how to implement different encoder functions dependent on layer, and on how to implement MIDI control with encoders. \ No newline at end of file
diff --git a/keyboards/dmqdesign/spin/keymaps/gorbachev/config.h b/keyboards/dmqdesign/spin/keymaps/gorbachev/config.h
deleted file mode 100644
index 10201015ee..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/gorbachev/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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 RGBLIGHT_ANIMATIONS
-#define RGBLIGHT_HUE_STEP 8
-
-// Use one or the other, determines the orientation of
-// the OLED display
-// #define RIGHT_HAND
-#define LEFT_HAND
diff --git a/keyboards/dmqdesign/spin/keymaps/gorbachev/keymap.c b/keyboards/dmqdesign/spin/keymaps/gorbachev/keymap.c
deleted file mode 100644
index b41359c5b6..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/gorbachev/keymap.c
+++ /dev/null
@@ -1,249 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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
-
-enum layers {
- _NUMPAD,
- _RGB,
- _MACRO
-};
-
-enum custom_keycodes {
- HELLO_WORLD = SAFE_RANGE,
-};
-
-//The below layers are intentionally empty in order to give a good starting point for how to configure multiple layers.
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_NUMPAD] = LAYOUT(/* Base */
- KC_7, KC_8, KC_9, TO(_NUMPAD),
- KC_4, KC_5, KC_6, TO(_RGB),
- KC_1, KC_2, KC_3, TO(_MACRO),
- KC_0, KC_DOT, KC_ENTER
- ),
-
- [_RGB] = LAYOUT(/* Base */
- RGB_HUI, RGB_SAI, RGB_VAI, KC_TRNS,
- RGB_HUD, RGB_SAD, RGB_VAD, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- RGB_RMOD, RGB_TOG, RGB_MOD
- ),
-
- [_MACRO] = LAYOUT(/* Base */
- HELLO_WORLD, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO, KC_TRNS,
- KC_NO, KC_NO, KC_NO
- )
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case HELLO_WORLD:
- if (record->event.pressed) {
- SEND_STRING("Hello, world!");
- }
- break;
- }
-
- return true;
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder */
- switch (get_highest_layer(layer_state)) { //break each encoder update into a switch statement for the current layer
- case _NUMPAD:
- if (clockwise) {
- tap_code(KC_DOWN);
- } else {
- tap_code(KC_UP);
- }
- break;
- case _RGB:
- if (clockwise) {
- rgblight_increase_hue();
- } else {
- rgblight_decrease_hue();
- }
- break;
- case _MACRO:
- if (clockwise) {
- break;
- } else {
- break;
- }
- break;
- }
- } else if (index == 1) { /* Second encoder */
- switch (get_highest_layer(layer_state)) {
- case _NUMPAD:
- if (clockwise) {
- tap_code(KC_PGDN);
- } else {
- tap_code(KC_PGUP);
- }
- break;
- case _RGB:
- if (clockwise) {
- rgblight_increase_sat();
- } else {
- rgblight_decrease_sat();
- }
- break;
- case _MACRO:
- if (clockwise) {
- break;
- } else {
- break;
- }
- break;
- }
- } else if (index == 2) { /* Third encoder */
- switch (get_highest_layer(layer_state)) {
- case _NUMPAD:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case _RGB:
- if (clockwise) {
- rgblight_increase_val();
- } else {
- rgblight_decrease_val();
- }
- break;
- case _MACRO:
- if (clockwise) {
- break;
- } else {
- break;
- }
- break;
- }
- }
- return true;
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) { //This will run every time the layer is updated
- switch (get_highest_layer(state)) {
- case _NUMPAD:
- setrgb(RGB_WHITE, &led[0]); //Set the top LED to white for the bottom layer
- setrgb(0, 0, 0, &led[1]);
- setrgb(0, 0, 0, &led[2]);
- break;
- case _RGB:
- setrgb(0, 0, 0, &led[0]); //Set the middle LED to white for the middle layer
- setrgb(RGB_WHITE, &led[1]);
- setrgb(0, 0, 0, &led[2]);
- break;
- case _MACRO:
- setrgb(0, 0, 0, &led[0]);
- setrgb(0, 0, 0, &led[1]);
- setrgb(RGB_WHITE, &led[2]); //Set the bottom LED to white for the top layer
- break;
- }
- rgblight_set();
- return state;
-}
-
-#ifdef OLED_ENABLE
-
-static const char *ANIMATION_NAMES[] = {
- "unknown",
- "static",
- "breathing I",
- "breathing II",
- "breathing III",
- "breathing IV",
- "rainbow mood I",
- "rainbow mood II",
- "rainbow mood III",
- "rainbow swirl I",
- "rainbow swirl II",
- "rainbow swirl III",
- "rainbow swirl IV",
- "rainbow swirl V",
- "rainbow swirl VI",
- "snake I",
- "snake II",
- "snake III",
- "snake IV",
- "snake V",
- "snake VI",
- "knight I",
- "knight II",
- "knight III",
- "christmas",
- "static gradient I",
- "static gradient II",
- "static gradient III",
- "static gradient IV",
- "static gradient V",
- "static gradient VI",
- "static gradient VII",
- "static gradient VIII",
- "static gradient IX",
- "static gradient X",
- "rgb test",
- "alternating",
- "twinkle I",
- "twinkle II",
- "twinkle III",
- "twinkle IV",
- "twinkle V",
- "twinkle VI"
-};
-
-void rgblight_get_mode_name(uint8_t mode, size_t bufsize, char *buf) {
- snprintf(buf, bufsize, "%-25s", ANIMATION_NAMES[mode]);
-}
-
-oled_rotation_t oled_init_user(oled_rotation_t rotation) {
-#ifdef LEFT_HAND
- return OLED_ROTATION_180;
-#else
- return OLED_ROTATION_0;
-#endif
-}
-
-bool oled_task_user(void) {
- // Host Keyboard Layer Status
- oled_write_P(PSTR("Layer: "), false);
-
- switch (get_highest_layer(layer_state)) {
- case _NUMPAD:
- oled_write_P(PSTR("Numpad\n"), false);
- break;
- case _RGB:
- oled_write_P(PSTR("RGB\n"), false);
- break;
- case _MACRO:
- oled_write_P(PSTR("Macro\n"), false);
- break;
- default:
- // Or use the write_ln shortcut over adding '\n' to the end of your string
- oled_write_ln_P(PSTR("Undefined"), false);
- }
-
- static char rgb_mode_name[30];
- rgblight_get_mode_name(rgblight_get_mode(), sizeof(rgb_mode_name), rgb_mode_name);
-
- oled_write_P(PSTR("Mode: "), false);
- oled_write_ln(rgb_mode_name, false);
- return false;
-}
-#endif
diff --git a/keyboards/dmqdesign/spin/keymaps/gorbachev/readme.md b/keyboards/dmqdesign/spin/keymaps/gorbachev/readme.md
deleted file mode 100644
index 451dae7ef7..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/gorbachev/readme.md
+++ /dev/null
@@ -1,7 +0,0 @@
-# Keymap for Spin
-
-* Encoder button push changes layers
-* First layer is a number pad
-* Second layer is RGB control layer
-* Third layer is macro layer
-* OLED support
diff --git a/keyboards/dmqdesign/spin/keymaps/gorbachev/rules.mk b/keyboards/dmqdesign/spin/keymaps/gorbachev/rules.mk
deleted file mode 100644
index 6af3117b94..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/gorbachev/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-OLED_ENABLE = yes
-OLED_DRIVER = SSD1306
-MOUSEKEY_ENABLE = no
-MIDI_ENABLE = no
diff --git a/keyboards/dmqdesign/spin/keymaps/spidey3_pad/config.h b/keyboards/dmqdesign/spin/keymaps/spidey3_pad/config.h
deleted file mode 100644
index b9a0b53fbf..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/spidey3_pad/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* Copyright 2019-2020 DMQ Design
- *
- * 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 RGBLIGHT_HUE_STEP 8
-
-// place overrides here
-
-#define NO_ACTION_ONESHOT
-#undef LOCKING_SUPPORT_ENABLE
-
-#define LAYER_STATE_8BIT
-#define MAX_LAYER 5
-
-#undef RGBLIGHT_ANIMATIONS
-#define RGBLIGHT_EFFECT_BREATHING
-#define RGBLIGHT_EFFECT_RAINBOW_MOOD
-#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
-#define RGBLIGHT_EFFECT_SNAKE
-#define RGBLIGHT_EFFECT_KNIGHT
-#define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#define RGBLIGHT_EFFECT_ALTERNATING
-#define RGBLIGHT_EFFECT_TWINKLE
-
-#define RGBLIGHT_SLEEP
-#define RGBLIGHT_LAYERS
-#define RGBLIGHT_LAYER_BLINK
-#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
diff --git a/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c b/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c
deleted file mode 100644
index 8c9af7202b..0000000000
--- a/keyboards/dmqdesign/spin/keymaps/spidey3_pad/keymap.c
+++ /dev/null
@@ -1,232 +0,0 @@
-/* Copyright 2020 Joshua Moses Diamond
- *
- * 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
-
-#include "version.h"
-#include <stdlib.h>
-
-#define RGB_LAYER_ACK_