summaryrefslogtreecommitdiffstats
path: root/keyboards/minimacro5
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/minimacro5')
-rw-r--r--keyboards/minimacro5/config.h54
-rw-r--r--keyboards/minimacro5/info.json16
-rw-r--r--keyboards/minimacro5/keymaps/default/keymap.c47
-rw-r--r--keyboards/minimacro5/keymaps/devdev/keymap.c124
-rw-r--r--keyboards/minimacro5/keymaps/devdev/rules.mk2
-rw-r--r--keyboards/minimacro5/keymaps/kabraxcis/keymap.c63
-rw-r--r--keyboards/minimacro5/keymaps/media/keymap.c44
-rw-r--r--keyboards/minimacro5/keymaps/voaraq/keymap.c63
-rw-r--r--keyboards/minimacro5/minimacro5.c1
-rw-r--r--keyboards/minimacro5/minimacro5.h9
-rw-r--r--keyboards/minimacro5/readme.md15
-rw-r--r--keyboards/minimacro5/rules.mk19
12 files changed, 0 insertions, 457 deletions
diff --git a/keyboards/minimacro5/config.h b/keyboards/minimacro5/config.h
deleted file mode 100644
index 2dcc91f7ce..0000000000
--- a/keyboards/minimacro5/config.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
-Copyright 2012 Jun Wako <wakojun@gmail.com>
-
-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 1
-#define MATRIX_COLS 5
-
-/*
- * 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)
- * NO_DIODE = switches are directly connected to AVR pins
- *
-*/
-// #define MATRIX_ROW_PINS { D0, D5 }
-// #define MATRIX_COL_PINS { F1, F0, B0 }
-#define DIRECT_PINS { \
- { F4, B6, B2, D7, B4 } \
-}
-//speed for double tap
-#define TAPPING_TERM 200
-
-
-/* rotary encoder 1,2,3 closest to usb port is 0*/
-#define ENCODERS_PAD_B { D3, F6, F7, D4, C6}
-#define ENCODERS_PAD_A { F5, D2, D1, D0, E6}
-#define ENCODER_RESOLUTION 2 //default/suggested
-
-/* ws2812 RGB LED */
-#define RGB_DI_PIN B5
-#define RGBLIGHT_ANIMATIONS
-#define RGBLED_NUM 5 // Number of LEDs
diff --git a/keyboards/minimacro5/info.json b/keyboards/minimacro5/info.json
deleted file mode 100644
index 0dba5c0e6c..0000000000
--- a/keyboards/minimacro5/info.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "keyboard_name": "miniMACRO5",
- "manufacturer": "leafcutterlabs",
- "url": "",
- "maintainer": "qmk",
- "usb": {
- "vid": "0xCEEB",
- "pid": "0x0007",
- "device_version": "0.0.1"
- },
- "layouts": {
- "LAYOUT_ortho_1x5": {
- "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":5, "y":0}]
- }
- }
-}
diff --git a/keyboards/minimacro5/keymaps/default/keymap.c b/keyboards/minimacro5/keymaps/default/keymap.c
deleted file mode 100644
index d2f2910d75..0000000000
--- a/keyboards/minimacro5/keymaps/default/keymap.c
+++ /dev/null
@@ -1,47 +0,0 @@
-#include QMK_KEYBOARD_H
-
-enum layers {
- _MAIN,
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder*/
- if (clockwise) {
- tap_code(KC_1);
- } else {
- tap_code(KC_2);
- }
- } else if (index == 1) { /* Second encoder*/
- if (clockwise) {
- tap_code(KC_3);
- } else {
- tap_code(KC_4);
- }
- } else if (index == 2) { /* Third encoder*/
- if (clockwise) {
- tap_code(KC_5);
- } else {
- tap_code(KC_6);
- }
- } else if (index == 3) { /* Fourth encoder*/
- if (clockwise) {
- tap_code(KC_7);
- } else {
- tap_code(KC_8);
- }
- } else if (index == 4) { /* Fifth encoder*/
- if (clockwise) {
- tap_code(KC_9);
- } else {
- tap_code(KC_0);
- }
- }
- return true;
-}
-
-//
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //buttion closest to usb is first
- [_MAIN] = LAYOUT_ortho_1x5(
- KC_A, KC_B, KC_C, KC_D, KC_E
- )
-};
diff --git a/keyboards/minimacro5/keymaps/devdev/keymap.c b/keyboards/minimacro5/keymaps/devdev/keymap.c
deleted file mode 100644
index 3c203fcc37..0000000000
--- a/keyboards/minimacro5/keymaps/devdev/keymap.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/* Copyright 2020 Dane Evans
- *
- * 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/>.
- */
-// MINI MACRO 5
-
-#include QMK_KEYBOARD_H
-
-enum layers {
- _MAIN,
- _MEDIA,
- _DISCORD,
- _PHOTOSHOP
-};
-
-// Tap Dance declarations
-enum tap_dances{
- TD_TO_DISCORD,
- TD_TO_PHOTOSHOP,
- TD_TO_MEDIA,
- TD_TO_MAIN,
- TD_RESET_SLIDER
-
-};
-
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder*/
- switch(get_highest_layer(layer_state)){
- case _MAIN:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case _MEDIA:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case _DISCORD:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- case _PHOTOSHOP:
- if (clockwise) {
- tap_code(KC_UP);
- } else {
- tap_code(KC_DOWN);
- }
- break;
- default:
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- break;
- }
- }
- return true;
-}
-
-//
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //buttion closest to usb is first
- [_MAIN] = LAYOUT_ortho_1x5(
- TD(TD_TO_DISCORD), TO(_DISCORD), KC_C, RGB_TOG, TD(TD_TO_PHOTOSHOP)
- ),
- [_MEDIA] = LAYOUT_ortho_1x5(
- TD(TD_TO_MAIN), KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_STOP
- ),
- [_DISCORD] = LAYOUT_ortho_1x5(
- TD(TD_TO_MAIN), TD(TD_TO_MEDIA), KC_Q, KC_R, MEH(KC_UP)
- )
- ,
- [_PHOTOSHOP] = LAYOUT_ortho_1x5(
- TD(TD_RESET_SLIDER) , C(KC_Z), C(KC_Y), KC_P, KC_G
- )
-};
-
-layer_state_t layer_state_set_user(layer_state_t state) {
-
- if (layer_state_cmp(state, _MAIN)) // this one not working
- rgblight_sethsv_at(HSV_GREEN, 0);
- if (layer_state_cmp(state, _MEDIA))
- rgblight_sethsv_at(HSV_RED, 0);
- if (layer_state_cmp(state, _DISCORD))
- rgblight_sethsv_at(HSV_BLUE, 0);
- if (layer_state_cmp(state, _PHOTOSHOP))
- rgblight_sethsv_at(HSV_PURPLE, 0);
- return state;
-}
-
-void keyboard_post_init_user(void) {
- //rgblight_mode(1);
- rgblight_sethsv_at(HSV_GREEN, 0);
-}
-
-// Tap Dance definitions
-qk_tap_dance_action_t tap_dance_actions[] = {
- // Tap once for Escape, twice for Caps Lock
- [TD_TO_DISCORD] = ACTION_TAP_DANCE_LAYER_MOVE(KC_MUTE, _DISCORD),
- [TD_TO_PHOTOSHOP] = ACTION_TAP_DANCE_LAYER_MOVE(KC_E, _PHOTOSHOP),
- [TD_TO_MEDIA] = ACTION_TAP_DANCE_LAYER_MOVE(KC_E, _MEDIA),
- [TD_TO_MAIN] = ACTION_TAP_DANCE_LAYER_MOVE(KC_MUTE, _MAIN),
- [TD_RESET_SLIDER] = ACTION_TAP_DANCE_LAYER_MOVE(KC_0, _MAIN)
-};
diff --git a/keyboards/minimacro5/keymaps/devdev/rules.mk b/keyboards/minimacro5/keymaps/devdev/rules.mk
deleted file mode 100644
index 1c1ed316a0..0000000000
--- a/keyboards/minimacro5/keymaps/devdev/rules.mk
+++ /dev/null
@@ -1,2 +0,0 @@
-RGBLIGHT_ENABLE = yes
-TAP_DANCE_ENABLE = yes \ No newline at end of file
diff --git a/keyboards/minimacro5/keymaps/kabraxcis/keymap.c b/keyboards/minimacro5/keymaps/kabraxcis/keymap.c
deleted file mode 100644
index 6b7026ce20..0000000000
--- a/keyboards/minimacro5/keymaps/kabraxcis/keymap.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Copyright 2020 dezlidezlidezli
- *
- * 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 {
- _MAIN,
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder*/
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- } else if (index == 1) { /* Second encoder*/
- if (clockwise) {
- tap_code(KC_3);
- } else {
- tap_code(KC_4);
- }
- } else if (index == 2) { /* Third encoder*/
- if (clockwise) {
- tap_code(KC_5);
- } else {
- tap_code(KC_6);
- }
- } else if (index == 3) { /* Fourth encoder*/
- if (clockwise) {
- tap_code(KC_7);
- } else {
- tap_code(KC_8);
- }
- } else if (index == 4) { /* Fifth encoder*/
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- }
- return true;
-}
-
-//
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_MAIN] = LAYOUT_ortho_1x5(
- KC_CAPS, KC_MNXT, KC_MPLY, KC_MPRV, KC_CAPS
- )
-};
diff --git a/keyboards/minimacro5/keymaps/media/keymap.c b/keyboards/minimacro5/keymaps/media/keymap.c
deleted file mode 100644
index 9f21838876..0000000000
--- a/keyboards/minimacro5/keymaps/media/keymap.c
+++ /dev/null
@@ -1,44 +0,0 @@
-#include QMK_KEYBOARD_H
-
-#define _MAIN 0
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder*/
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- } else if (index == 1) { /* Second encoder*/
- if (clockwise) {
- tap_code(KC_3);
- } else {
- tap_code(KC_4);
- }
- } else if (index == 2) { /* Third encoder*/
- if (clockwise) {
- tap_code(KC_5);
- } else {
- tap_code(KC_6);
- }
- } else if (index == 3) { /* Fourth encoder*/
- if (clockwise) {
- tap_code(KC_7);
- } else {
- tap_code(KC_8);
- }
- } else if (index == 4) { /* Fifth encoder*/
- if (clockwise) {
- tap_code(KC_9);
- } else {
- tap_code(KC_0);
- }
- }
- return true;
-}
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //buttion closest to usb is first
- [_MAIN] = LAYOUT_ortho_1x5(
- KC_MUTE, KC_MEDIA_PREV_TRACK, KC_MEDIA_NEXT_TRACK, KC_MEDIA_PLAY_PAUSE, KC_MEDIA_STOP
- )
-};
diff --git a/keyboards/minimacro5/keymaps/voaraq/keymap.c b/keyboards/minimacro5/keymaps/voaraq/keymap.c
deleted file mode 100644
index 9af37167dc..0000000000
--- a/keyboards/minimacro5/keymaps/voaraq/keymap.c
+++ /dev/null
@@ -1,63 +0,0 @@
-/* Copyright 2020 dezlidezlidezli
- *
- * 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 {
- _MAIN,
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) { /* First encoder*/
- if (clockwise) {
- tap_code(KC_1);
- } else {
- tap_code(KC_2);
- }
- } else if (index == 1) { /* Second encoder*/
- if (clockwise) {
- tap_code(KC_3);
- } else {
- tap_code(KC_4);
- }
- } else if (index == 2) { /* Third encoder*/
- if (clockwise) {
- tap_code(KC_5);
- } else {
- tap_code(KC_6);
- }
- } else if (index == 3) { /* Fourth encoder*/
- if (clockwise) {
- tap_code(KC_7);
- } else {
- tap_code(KC_8);
- }
- } else if (index == 4) { /* Fifth encoder*/
- if (clockwise) {
- tap_code(KC_VOLU);
- } else {
- tap_code(KC_VOLD);
- }
- }
- return true;
-}
-
-//
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //buttion closest to usb is first
- [_MAIN] = LAYOUT_ortho_1x5(
- KC_MSEL, KC_MPRV, KC_MNXT, KC_MPLY, KC_MUTE
- )
-};
diff --git a/keyboards/minimacro5/minimacro5.c b/keyboards/minimacro5/minimacro5.c
deleted file mode 100644
index 7f9c5af1c7..0000000000
--- a/keyboards/minimacro5/minimacro5.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "minimacro5.h"
diff --git a/keyboards/minimacro5/minimacro5.h b/keyboards/minimacro5/minimacro5.h
deleted file mode 100644
index 2d61ed893b..0000000000
--- a/keyboards/minimacro5/minimacro5.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT_ortho_1x5( \
- k01, k02, k03, k04, k05\
- ) { \
- { k01, k02, k03, k04, k05 } \
-}
diff --git a/keyboards/minimacro5/readme.md b/keyboards/minimacro5/readme.md
deleted file mode 100644
index 6266d2ba35..0000000000
--- a/keyboards/minimacro5/readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# miniMACRO5
-
-A 5 key Macropad based on Arduino Pro Micro with support for a combination of rotary encoders and mechanical switches.
-
-![](https://i.imgur.com/lxA8DSCl.jpg)
-
-* Keyboard Maintainer: [LeafCutterLabs](https://github.com/LeafCutterLabs)
-* Hardware Supported: Pro Micro 5V/16MHz and compatible.
-* Hardware availability: PCB Files are available [here](https://github.com/LeafCutterLabs/miniMACRO5), which you can get produced.
-
-Make example for this keyboard (after setting up your build environment):
-
- make minimacro5: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).
diff --git a/keyboards/minimacro5/rules.mk b/keyboards/minimacro5/rules.mk
deleted file mode 100644
index 2bb7b0b50a..0000000000
--- a/keyboards/minimacro5/rules.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = caterina
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # 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
-ENCODER_ENABLE = yes #enable rotary encoders