summaryrefslogtreecommitdiff
path: root/keyboards/staryu
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/staryu')
-rw-r--r--keyboards/staryu/backlight_staryu.h30
-rwxr-xr-xkeyboards/staryu/config.h73
-rw-r--r--keyboards/staryu/info.json12
-rw-r--r--keyboards/staryu/keymaps/default/README.md3
-rwxr-xr-xkeyboards/staryu/keymaps/default/keymap.c104
-rw-r--r--keyboards/staryu/keymaps/default/rules.mk1
-rw-r--r--keyboards/staryu/keymaps/krusli/README.md9
-rw-r--r--keyboards/staryu/keymaps/krusli/keymap.c84
-rw-r--r--keyboards/staryu/readme.md15
-rwxr-xr-xkeyboards/staryu/rules.mk31
-rwxr-xr-xkeyboards/staryu/staryu.c17
-rwxr-xr-xkeyboards/staryu/staryu.h28
12 files changed, 0 insertions, 407 deletions
diff --git a/keyboards/staryu/backlight_staryu.h b/keyboards/staryu/backlight_staryu.h
deleted file mode 100644
index b90350e28b..0000000000
--- a/keyboards/staryu/backlight_staryu.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
-Copyright 2019
-
-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
-
-// Add backwards compatibility for existing keymaps
-static inline void backlight_set_value(uint8_t index, uint8_t level) {
- static const uint8_t backlight_pins[BACKLIGHT_LED_COUNT] = BACKLIGHT_PINS;
- if (level) {
- setPinOutput(backlight_pins[index]);
- } else {
- setPinInput(backlight_pins[index]);
- }
-}
-
-#define backlight_led_off(i) backlight_set_value(i, 0)
-#define backlight_led_on(i) backlight_set_value(i, 1)
diff --git a/keyboards/staryu/config.h b/keyboards/staryu/config.h
deleted file mode 100755
index db48e0ea5e..0000000000
--- a/keyboards/staryu/config.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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"
-
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x1209
-#define PRODUCT_ID 0x2328
-#define DEVICE_VER 0x0205
-#define MANUFACTURER K.T.E.C.
-#define PRODUCT Staryu
-
-/* key matrix size */
-#define MATRIX_ROWS 2
-#define MATRIX_COLS 3
-
-/* key matrix pins */
-#define DIRECT_PINS { \
- { NO_PIN, D0, D1 }, \
- { D4, D3, D2 }, \
-}
-#define UNUSED_PINS
-
-#define RGB_DI_PIN C6
-#define RGBLED_NUM 1 // Number of LEDs
-#define RGBLIGHT_ANIMATIONS
-#define RGBLIGHT_LIMIT_VAL 200
-// #ifdef RGB_DI_PIN
-// #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
-// /*== or choose 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_CHRISTMAS
-// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
-// #define RGBLIGHT_EFFECT_RGB_TEST
-// #define RGBLIGHT_EFFECT_ALTERNATING
-// #endif
-
-#undef BACKLIGHT_PIN
-#define BACKLIGHT_PINS { C2, C7, D5, D6, B0 }
-#define BACKLIGHT_LED_COUNT 5
-#define BACKLIGHT_LEVELS 10
-
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
-/* Bootmagic Lite key configuration */
-#define BOOTMAGIC_LITE_ROW 0
-#define BOOTMAGIC_LITE_COLUMN 1
diff --git a/keyboards/staryu/info.json b/keyboards/staryu/info.json
deleted file mode 100644
index baac7dfc29..0000000000
--- a/keyboards/staryu/info.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "keyboard_name": "staryu",
- "url": "",
- "maintainer": "qmk",
- "width": 3,
- "height": 2,
- "layouts": {
- "LAYOUT": {
- "layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}]
- }
- }
-}
diff --git a/keyboards/staryu/keymaps/default/README.md b/keyboards/staryu/keymaps/default/README.md
deleted file mode 100644
index 836d3ab4dc..0000000000
--- a/keyboards/staryu/keymaps/default/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Default keymap
-
-Default keymap for the Staryu macropad, adapted from [kairyu's repo](https://github.com/kairyu/tmk_keyboard_custom/blob/master/keyboard/staryu/keymap_default.c).
diff --git a/keyboards/staryu/keymaps/default/keymap.c b/keyboards/staryu/keymaps/default/keymap.c
deleted file mode 100755
index c41c436f9d..0000000000
--- a/keyboards/staryu/keymaps/default/keymap.c
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
-Copyright 2018 Kenneth Aloysius
-
-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 {
- _LAYER0,
- _LAYER1,
- _LAYER2,
- _LAYER3,
- _LAYER4
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- [_LAYER0] = LAYOUT(
-/* ┌─────────┬─────────┬─────────┐ */
- KC_UP, TO(_LAYER1),
-/* ├─────────┼─────────┼─────────┤ */
- KC_LEFT, KC_DOWN, KC_RIGHT
-/* └─────────┴─────────┴─────────┘ */
- ),
-
- [_LAYER1] = LAYOUT(
-/* ┌─────────┬─────────┬─────────┐ */
- KC_PGUP, TO(_LAYER2),
-/* ├─────────┼─────────┼─────────┤ */
- KC_HOME, KC_PGDN, KC_END
-/* └─────────┴─────────┴─────────┘ */
- ),
-
- [_LAYER2] = LAYOUT(
-/* ┌─────────┬─────────┬─────────┐ */
- KC_MSEL, TO(_LAYER3),
-/* ├─────────┼─────────┼─────────┤ */
- KC_MPRV, KC_MPLY, KC_MNXT
-/* └─────────┴─────────┴─────────┘ */
- ),
-
- [_LAYER3] = LAYOUT(
-/* ┌─────────┬─────────┬─────────┐ */
- KC_MS_U, TO(_LAYER4),
-/* ├─────────┼─────────┼─────────┤ */
- KC_MS_L, KC_MS_D, KC_MS_R
-/* └─────────┴─────────┴─────────┘ */
- ),
-
- [_LAYER4] = LAYOUT(
-/* ┌─────────┬─────────┬─────────┐ */
- XXXXXXX, TO(_LAYER0),
-/* ├─────────┼─────────┼─────────┤ */
- RGB_TOG, BL_TOGG, BL_STEP
-/* └─────────┴─────────┴─────────┘ */
- ),
-
-};
-
-void eeconfig_init_user(void) {
- // use the non noeeprom versions, to write these values to EEPROM too
- rgblight_enable();
- rgblight_mode(RGBLIGHT_MODE_BREATHING+1);
-
- backlight_enable();
-}
-
-void keyboard_post_init_user(void) {
- //layer_state_set_user is not called for inital state - set it here
- rgblight_sethsv_noeeprom_white();
-}
-
-layer_state_t layer_state_set_user(layer_state_t state) {
- switch (get_highest_layer(state)) {
- case _LAYER1:
- rgblight_sethsv_noeeprom_cyan();
- break;
- case _LAYER2:
- rgblight_sethsv_noeeprom_magenta();
- break;
- case _LAYER3:
- rgblight_sethsv_noeeprom_red();
- break;
- case _LAYER4:
- rgblight_sethsv_noeeprom_orange();
- break;
- case _LAYER0:
- default: // for any other layers, or the default layer
- rgblight_sethsv_noeeprom_white();
- break;
- }
- return state;
-}
diff --git a/keyboards/staryu/keymaps/default/rules.mk b/keyboards/staryu/keymaps/default/rules.mk
deleted file mode 100644
index 6c605daecf..0000000000
--- a/keyboards/staryu/keymaps/default/rules.mk
+++ /dev/null
@@ -1 +0,0 @@
-MOUSEKEY_ENABLE = yes
diff --git a/keyboards/staryu/keymaps/krusli/README.md b/keyboards/staryu/keymaps/krusli/README.md
deleted file mode 100644
index 66a0979070..0000000000
--- a/keyboards/staryu/keymaps/krusli/README.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# krusli's RAMA M6-A Layout
-
-Personal keymap for the RAMA M6-A.
-
-Top-right button acts as a "toggle between layers" button. Layer 0 -> Layer 1 -> Layer 2 -> Layer 0 -> ...
-
-- Layer 0: Osu! gamepad layer
-- Layer 1: Git commands
-- Layer 2 and 3: RGB controls
diff --git a/keyboards/staryu/keymaps/krusli/keymap.c b/keyboards/staryu/keymaps/krusli/keymap.c
deleted file mode 100644
index 9cd1cf829f..0000000000
--- a/keyboards/staryu/keymaps/krusli/keymap.c
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
-Copyright 2018 Kenneth Aloysius
-
-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 "action_layer.h"
-
-#include "../../backlight_staryu.h"
-
-enum layers {
- _LAYER0,
- _LAYER1,
- _LAYER2,
- _LAYER3
-};
-
-enum custom_keycodes {
- GIT_ADD = SAFE_RANGE,
- GIT_COMMIT,
- GIT_PUSH,
- MUTE,
- DEAFEN
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
- switch(keycode) {
- case GIT_ADD:
- SEND_STRING("git add ."SS_TAP(X_ENTER));
- break;
- case GIT_COMMIT:
- SEND_STRING("git commit -m "SS_DOWN(X_LSHIFT)SS_TAP(X_QUOTE)SS_UP(X_LSHIFT));
- break;
- case GIT_PUSH:
- SEND_STRING("git push"SS_TAP(X_ENTER));
- break;
- case MUTE:
- SEND_STRING(SS_LGUI(SS_LSFT("M")));
- break;
- case DEAFEN:
- SEND_STRING(SS_LGUI(SS_LSFT("D")));
- break;
- return false;
- }
- }
- return true;
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_LAYER0] = LAYOUT( \
- KC_ESC, TO(_LAYER1), \
- KC_Z, KC_X, KC_ENT \
- ),
- [_LAYER1] = LAYOUT( \
- MUTE, TO(_LAYER2), \
- GIT_ADD, GIT_COMMIT, GIT_PUSH \
- ),
- [_LAYER2] = LAYOUT( \
- RGB_MOD, TO(_LAYER3), \
- RGB_TOG, RGB_HUD, RGB_HUI \
- ),
- [_LAYER3] = LAYOUT( \
- RGB_VAI, TO(_LAYER0), \
- RGB_SAD, RGB_VAD, RGB_SAI \
- )
-};
-
-void matrix_init_user(void) {
- for (int i=0; i<5; i++) {
- backlight_led_on(i);
- }
-}
diff --git a/keyboards/staryu/readme.md b/keyboards/staryu/readme.md
deleted file mode 100644
index 1b2f9e8f53..0000000000
--- a/keyboards/staryu/readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# Staryu
-
-![Staryu](https://i.imgur.com/obcCpZN.jpg)
-
-A 5 key macropad, designed by Kai and sold by KPRepublic.
-
-Keyboard Maintainer: QMK Community
-Hardware Supported: Staryu (only the non-lite version has been tested)
-Hardware Availability: [AliExpress](https://www.aliexpress.com/item/Staryu-Mini-Macro-Pad-custom-keyboard-by-tkg-kai-Mini-macro-pad-mechanical-keyboard-5-keys/32817560746.html)
-
-Make example for this keyboard (after setting up your build environment):
-
- make staryu:default
-
-See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information.
diff --git a/keyboards/staryu/rules.mk b/keyboards/staryu/rules.mk
deleted file mode 100755
index 83b6ceaece..0000000000
--- a/keyboards/staryu/rules.mk
+++ /dev/null
@@ -1,31 +0,0 @@
-# MCU name
-MCU = atmega32u2
-
-# Bootloader selection
-# Teensy halfkay
-# Pro Micro caterina
-# Atmel DFU atmel-dfu
-# LUFA DFU lufa-dfu
-# QMK DFU qmk-dfu
-# ATmega32A bootloadHID
-# ATmega328P USBasp
-BOOTLOADER = lufa-dfu
-
-# Build Options
-# comment out to disable the options.
-#
-BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
-SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-NKRO_ENABLE = no # USB Nkey Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-MIDI_ENABLE = no # MIDI support
-UNICODE_ENABLE = no # Unicode
-BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-AUDIO_ENABLE = no # Audio output on port C6
diff --git a/keyboards/staryu/staryu.c b/keyboards/staryu/staryu.c
deleted file mode 100755
index 4adadf2015..0000000000
--- a/keyboards/staryu/staryu.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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 "staryu.h"
diff --git a/keyboards/staryu/staryu.h b/keyboards/staryu/staryu.h
deleted file mode 100755
index bdce5806f7..0000000000
--- a/keyboards/staryu/staryu.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-Copyright 2018 Cole Markham
-
-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 ___ KC_NO
-
-#define LAYOUT( \
- K01, K02, \
- K10, K11, K12 \
-) { \
- { ___, K01, K02 }, \
- { K10, K11, K12 } \
-}