summaryrefslogtreecommitdiffstats
path: root/keyboards/manyboard/macro
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/manyboard/macro
parentfe13cedf8c09fa34d5cec4e4c624738095176625 (diff)
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/manyboard/macro')
-rw-r--r--keyboards/manyboard/macro/config.h42
-rw-r--r--keyboards/manyboard/macro/info.json33
-rw-r--r--keyboards/manyboard/macro/keymaps/default/keymap.c75
-rw-r--r--keyboards/manyboard/macro/keymaps/via/keymap.c75
-rw-r--r--keyboards/manyboard/macro/keymaps/via/rules.mk1
-rw-r--r--keyboards/manyboard/macro/macro.c17
-rw-r--r--keyboards/manyboard/macro/macro.h31
-rw-r--r--keyboards/manyboard/macro/readme.md15
-rw-r--r--keyboards/manyboard/macro/rules.mk19
9 files changed, 0 insertions, 308 deletions
diff --git a/keyboards/manyboard/macro/config.h b/keyboards/manyboard/macro/config.h
deleted file mode 100644
index 6b49e670ba..0000000000
--- a/keyboards/manyboard/macro/config.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
-Copyright 2020 William Ehman
-
-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 4
-#define MATRIX_COLS 4
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { D0, D1, D2, D3 }
-#define MATRIX_COL_PINS { D4, D5, D6, D7 }
-
-/*Encoder Pins*/
-#define ENCODERS_PAD_A { C6 }
-#define ENCODERS_PAD_B { C7 }
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
-/* RGB Pins */
-#define RGB_DI_PIN B6
-#define RGBLED_NUM 2
-#define RGBLIGHT_LIMIT_VAL 10
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
diff --git a/keyboards/manyboard/macro/info.json b/keyboards/manyboard/macro/info.json
deleted file mode 100644
index 47eb066f49..0000000000
--- a/keyboards/manyboard/macro/info.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "keyboard_name": "MB_Macro",
- "manufacturer": "Manyboard",
- "url": "https://github.com/WillEhman/qmk_firmware/tree/dev_create_mb_macro",
- "maintainer": "William Ehman",
- "usb": {
- "vid": "0x4D42",
- "pid": "0x0015",
- "device_version": "1.0.3"
- },
- "layouts": {
- "LAYOUT_ortho_4x4": {
- "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},
- {"x": 0, "y": 2},
- {"x": 1, "y": 2},
- {"x": 2, "y": 2},
- {"x": 3, "y": 2},
- {"x": 0, "y": 3},
- {"x": 1, "y": 3},
- {"x": 2, "y": 3},
- {"x": 3, "y": 3}
- ]
- }
- }
-}
diff --git a/keyboards/manyboard/macro/keymaps/default/keymap.c b/keyboards/manyboard/macro/keymaps/default/keymap.c
deleted file mode 100644
index 0b9d2ac927..0000000000
--- a/keyboards/manyboard/macro/keymaps/default/keymap.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/* Copyright 2020 William Ehman
- *
- * 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
-
-// clang-format off
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_ortho_4x4(
- KC_F1, KC_F2, KC_F3, KC_F4,
- KC_F5, KC_F6, KC_F7, KC_F8,
- KC_F9, KC_F10, KC_F11, KC_F12,
- KC_F13, KC_F14, KC_F15, TO(1)
- ),
- [1] = LAYOUT_ortho_4x4(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, TO(2)
- ),
- [2] = LAYOUT_ortho_4x4(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, TO(0)
- ),
-};
-// clang-format on
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- switch (get_highest_layer(state)) {
- case 0:
- sethsv(HSV_WHITE, (LED_TYPE *)&led[0]);
- rgblight_set();
- break;
- case 1:
- sethsv(HSV_GREEN, (LED_TYPE *)&led[0]);
- rgblight_set();
- break;
- case 2:
- sethsv(HSV_BLUE, (LED_TYPE *)&led[0]);
- rgblight_set();
- break;
- }
- return state;
-}
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- /* With an if statement we can check which encoder was turned. */
- if (index == 0) { /* First encoder */
- /* And with another if statement we can check the direction. */
- if (clockwise) {
- /* This is where the actual magic happens: this bit of code taps on the
- Page Down key. You can do anything QMK allows you to do here.
- You'll want to replace these lines with the things you want your
- encoders to do. */
- tap_code(KC_AUDIO_VOL_UP);
- } else {
- /* And likewise for the other direction, this time Vol Down is pressed. */
- tap_code(KC_AUDIO_VOL_DOWN);
- }
- }
- return true;
-}
diff --git a/keyboards/manyboard/macro/keymaps/via/keymap.c b/keyboards/manyboard/macro/keymaps/via/keymap.c
deleted file mode 100644
index 0b9d2ac927..0000000000
--- a/keyboards/manyboard/macro/keymaps/via/keymap.c
+++ /dev/null
@@ -1,75 +0,0 @@
-/* Copyright 2020 William Ehman
- *
- * 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
-
-// clang-format off
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_ortho_4x4(
- KC_F1, KC_F2, KC_F3, KC_F4,
- KC_F5, KC_F6, KC_F7, KC_F8,
- KC_F9, KC_F10, KC_F11, KC_F12,
- KC_F13, KC_F14, KC_F15, TO(1)
- ),
- [1] = LAYOUT_ortho_4x4(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, TO(2)
- ),
- [2] = LAYOUT_ortho_4x4(
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
- KC_TRNS, KC_TRNS, KC_TRNS, TO(0)
- ),
-};
-// clang-format on
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- switch (get_highest_layer(state)) {
- case 0:
- sethsv(HSV_WHITE, (LED_TYPE *)&led[0]);
- rgblight_set();
- break;
- case 1:
- sethsv(HSV_GREEN, (LED_TYPE *)&led[0]);
- rgblight_set();
- break;
- case 2:
- sethsv(HSV_BLUE, (LED_TYPE *)&led[0]);
- rgblight_set();
- break;
- }
- return state;
-}
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- /* With an if statement we can check which encoder was turned. */
- if (index == 0) { /* First encoder */
- /* And with another if statement we can check the direction. */
- if (clockwise) {
- /* This is where the actual magic happens: this bit of code taps on the
- Page Down key. You can do anything QMK allows you to do here.
- You'll want to replace these lines with the things you want your
- encoders to do. */
- tap_code(KC_AUDIO_VOL_UP);
- } else {
- /* And likewise for the other direction, this time Vol Down is pressed. */
- tap_code(KC_AUDIO_VOL_DOWN);
- }
- }
- return true;
-}
diff --git a/keyboards/manyboard/macro/keymaps/via/rules.mk b/keyboards/manyboard/macro/keymaps/via/rules.mk
deleted file mode 100644
index 036bd6d1c3..0000000000
--- a/keyboards/manyboard/macro/keymaps/via/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-VIA_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/manyboard/macro/macro.c b/keyboards/manyboard/macro/macro.c
deleted file mode 100644
index eb8a188f3c..0000000000
--- a/keyboards/manyboard/macro/macro.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 WillEhman
- *
- * 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 "macro.h"
diff --git a/keyboards/manyboard/macro/macro.h b/keyboards/manyboard/macro/macro.h
deleted file mode 100644
index 0dccdbebfb..0000000000
--- a/keyboards/manyboard/macro/macro.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Copyright 2020 WillEhman
- *
- * 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 "quantum.h"
-
-#define LAYOUT_ortho_4x4( \
- K00, K01, K02, K03, \
- K10, K11, K12, K13, \
- K20, K21, K22, K23, \
- K30, K31, K32, K33 \
-) { \
- { K00, K01, K02, K03 }, \
- { K10, K11, K12, K13 }, \
- { K20, K21, K22, K23 }, \
- { K30, K31, K32, K33 } \
-}
diff --git a/keyboards/manyboard/macro/readme.md b/keyboards/manyboard/macro/readme.md
deleted file mode 100644
index ca400b30e7..0000000000
--- a/keyboards/manyboard/macro/readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# manyboard_macro
-
-* Keyboard Maintainer: [WillEhman](https://github.com/WillEhman)
-* Hardware Supported: The Manyboard Family of keyboards
-* Hardware Availability: TBA
-
-Make example for this keyboard (after setting up your build environment):
-
- make manyboard/macro:default
-
-Flashing example for this keyboard:
-
- make manyboard/macro: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).
diff --git a/keyboards/manyboard/macro/rules.mk b/keyboards/manyboard/macro/rules.mk
deleted file mode 100644
index 9999ddafff..0000000000
--- a/keyboards/manyboard/macro/rules.mk
+++ /dev/null
@@ -1,19 +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 = 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 # Encoder Input