summaryrefslogtreecommitdiffstats
path: root/keyboards/macro3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/macro3')
-rw-r--r--keyboards/macro3/config.h25
-rw-r--r--keyboards/macro3/info.json26
-rw-r--r--keyboards/macro3/keymaps/default/keymap.c25
-rw-r--r--keyboards/macro3/keymaps/default/rules.mk1
-rw-r--r--keyboards/macro3/macro3.c27
-rw-r--r--keyboards/macro3/macro3.h16
-rw-r--r--keyboards/macro3/post_config.h17
-rw-r--r--keyboards/macro3/readme.md26
-rw-r--r--keyboards/macro3/rules.mk19
9 files changed, 0 insertions, 182 deletions
diff --git a/keyboards/macro3/config.h b/keyboards/macro3/config.h
deleted file mode 100644
index bfd60418a7..0000000000
--- a/keyboards/macro3/config.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2020 David Philip Barr <@davidphilipbarr>
- * Copyright 2021 @filterpaper
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 4
-
-/* key matrix pins */
-#define DIRECT_PINS { \
- { D7, C6, D4, D1 }, \
- { B1, B4, B5, B3 } \
-}
-
-#define ENCODERS_PAD_A { D2, F7 }
-#define ENCODERS_PAD_B { D3, F6 }
-
-
-/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-#define DEBOUNCE 5
-
diff --git a/keyboards/macro3/info.json b/keyboards/macro3/info.json
deleted file mode 100644
index f3ebdb8acd..0000000000
--- a/keyboards/macro3/info.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "keyboard_name": "Macro3",
- "manufacturer": "DPB",
- "url": "https://github.com/davidphilipbarr/Macropads/tree/main/macro3",
- "maintainer": "@davidphilipbarr",
- "usb": {
- "vid": "0xC88B",
- "pid": "0x3388",
- "device_version": "0.0.3"
- },
- "layouts": {
- "LAYOUT": {
- "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}
- ]
- }
- }
-}
diff --git a/keyboards/macro3/keymaps/default/keymap.c b/keyboards/macro3/keymaps/default/keymap.c
deleted file mode 100644
index 8881612a3f..0000000000
--- a/keyboards/macro3/keymaps/default/keymap.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright 2020 David Philip Barr <@davidphilipbarr>
- * Copyright 2021 @filterpaper
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include QMK_KEYBOARD_H
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(
- KC_MUTE, KC_MPLY, KC_MRWD, LT(1,KC_MFFD),
- C(KC_Z), C(KC_X), C(KC_C), C(KC_V)
- ),
- [1] = LAYOUT(
- _______, _______, _______, _______,
- QK_BOOT, _______, _______, _______
- )
-};
-
-#ifdef ENCODER_MAP_ENABLE
-const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
- [0] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_MNXT, KC_MPRV) },
- [1] = { ENCODER_CCW_CW(KC_VOLU, KC_VOLD), ENCODER_CCW_CW(KC_PGDN, KC_PGUP) },
-};
-#endif
-
diff --git a/keyboards/macro3/keymaps/default/rules.mk b/keyboards/macro3/keymaps/default/rules.mk
deleted file mode 100644
index ee32568148..0000000000
--- a/keyboards/macro3/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-ENCODER_MAP_ENABLE = yes
diff --git a/keyboards/macro3/macro3.c b/keyboards/macro3/macro3.c
deleted file mode 100644
index 0937abfc83..0000000000
--- a/keyboards/macro3/macro3.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Copyright 2020 David Philip Barr <@davidphilipbarr>
- * Copyright 2021 @filterpaper
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include "macro3.h"
-
-#ifdef ENCODER_ENABLE
-bool encoder_update_kb(uint8_t index, bool clockwise) {
- if (!encoder_update_user(index, clockwise)) { return false; }
- if (index == 0) {
- if (clockwise) {
- tap_code_delay(KC_VOLU, 10);
- } else {
- tap_code_delay(KC_VOLD, 10);
- }
- } else if (index == 1) {
- if (clockwise) {
- tap_code(KC_MNXT);
- } else {
- tap_code(KC_MPRV);
- }
- }
- return true;
-}
-#endif
-
diff --git a/keyboards/macro3/macro3.h b/keyboards/macro3/macro3.h
deleted file mode 100644
index d95f504083..0000000000
--- a/keyboards/macro3/macro3.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2020 David Philip Barr <@davidphilipbarr>
- * Copyright 2021 @filterpaper
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include "quantum.h"
-
-#define LAYOUT( \
- K00, K01, K02, K03, \
- K10, K11, K12, K13 \
-) \
-{ \
- { K00, K01, K02, K03 }, \
- { K10, K11, K12, K13 } \
-}
-
diff --git a/keyboards/macro3/post_config.h b/keyboards/macro3/post_config.h
deleted file mode 100644
index 0f94fe19e1..0000000000
--- a/keyboards/macro3/post_config.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2020 David Philip Barr <@davidphilipbarr>
- * Copyright 2021 @filterpaper
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-/* Top right key */
-#ifndef BOOTMAGIC_LITE_ROW
-# define BOOTMAGIC_LITE_ROW 0
-#endif
-#ifndef BOOTMAGIC_LITE_COLUMN
-# define BOOTMAGIC_LITE_COLUMN 3
-#endif
-
-#ifndef ENCODER_RESOLUTION
-# define ENCODER_RESOLUTION 2
-#endif
-
diff --git a/keyboards/macro3/readme.md b/keyboards/macro3/readme.md
deleted file mode 100644
index 40cf927392..0000000000
--- a/keyboards/macro3/readme.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# Macro3
-
-![Macro3](https://github.com/filterpaper/filterpaper.github.io/raw/main/images/macro3.png)
-
-Macro3 is a low-profile macro pad with dual encoder support designed by [@davidphilipbarr](https://github.com/davidphilipbarr).
-
-## Keyboard Info
-
-* Keyboard Maintainer: [filterpaper](https://github.com/filterpaper), [davidphilipbarr](https://github.com/davidphilipbarr)
-* Hardware Supported: [Macro3](https://github.com/davidphilipbarr/Macropads/tree/main/macro3)
-* Hardware Availability: order PCBs with gerber file from the repository
-
-Make example for this keyboard (after setting up your build environment):
-
- make macro3: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).
-
-## Bootloader
-
-Enter the bootloader in 3 ways:
-
-* **Bootmagic reset**: Hold down the top right key and plug in the controller.
-* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is configured.
-* **Physical reset pins**: Briefly short the RST and GND pins on the microcontroller using tweezers, a paperclip, or any other conductive material.
-
diff --git a/keyboards/macro3/rules.mk b/keyboards/macro3/rules.mk
deleted file mode 100644
index 77d9fdb410..0000000000
--- a/keyboards/macro3/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 = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes