From 9581289745736ce068a1040f44cec37a2ca8830d Mon Sep 17 00:00:00 2001 From: lokher Date: Tue, 13 Sep 2022 11:24:05 +0800 Subject: Remove non-Keychron keyboards --- .../abstract/ellipse/keymaps/abstractkb/config.h | 23 ---------- .../abstract/ellipse/keymaps/abstractkb/keymap.c | 51 ---------------------- .../abstract/ellipse/keymaps/abstractkb/readme.md | 3 -- .../abstract/ellipse/keymaps/abstractkb/rules.mk | 1 - .../abstract/ellipse/keymaps/default/keymap.c | 51 ---------------------- .../abstract/ellipse/keymaps/default/readme.md | 6 --- 6 files changed, 135 deletions(-) delete mode 100644 keyboards/abstract/ellipse/keymaps/abstractkb/config.h delete mode 100644 keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c delete mode 100644 keyboards/abstract/ellipse/keymaps/abstractkb/readme.md delete mode 100644 keyboards/abstract/ellipse/keymaps/abstractkb/rules.mk delete mode 100644 keyboards/abstract/ellipse/keymaps/default/keymap.c delete mode 100644 keyboards/abstract/ellipse/keymaps/default/readme.md (limited to 'keyboards/abstract/ellipse/keymaps') diff --git a/keyboards/abstract/ellipse/keymaps/abstractkb/config.h b/keyboards/abstract/ellipse/keymaps/abstractkb/config.h deleted file mode 100644 index 3bc66cd9bd..0000000000 --- a/keyboards/abstract/ellipse/keymaps/abstractkb/config.h +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright 2019 AbstractKB - * - * 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 . - */ - -#pragma once - -#define BACKLIGHT_BREATHING -#define BREATHING_PERIOD 2 -#define RGBLIGHT_ANIMATIONS - -// place overrides here diff --git a/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c b/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c deleted file mode 100644 index 4350423183..0000000000 --- a/keyboards/abstract/ellipse/keymaps/abstractkb/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ -/* Copyright 2019 AbstractKB - * - * 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 . - */ -#include QMK_KEYBOARD_H - -// Defines the keycodes used by our macros in process_record_user -/*enum custom_keycodes { - MYKEY = SAFE_RANGE -};*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_MUTE, RGB_TOG, BL_TOGG, - RGB_M_SW, RGB_M_P, BL_BRTG - ) -}; - -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) { - rgblight_increase_hue_noeeprom(); - } else { - rgblight_decrease_hue_noeeprom(); - } - } else if (index == 2) { /* Third encoder */ - if (clockwise) { - backlight_increase(); - } else { - backlight_decrease(); - } - } - return true; -} diff --git a/keyboards/abstract/ellipse/keymaps/abstractkb/readme.md b/keyboards/abstract/ellipse/keymaps/abstractkb/readme.md deleted file mode 100644 index 5db2eb647f..0000000000 --- a/keyboards/abstract/ellipse/keymaps/abstractkb/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# My keymap - -This was used for testing lights but will become my personal keymap \ No newline at end of file diff --git a/keyboards/abstract/ellipse/keymaps/abstractkb/rules.mk b/keyboards/abstract/ellipse/keymaps/abstractkb/rules.mk deleted file mode 100644 index 54a2685bf6..0000000000 --- a/keyboards/abstract/ellipse/keymaps/abstractkb/rules.mk +++ /dev/null @@ -1 +0,0 @@ -BACKLIGHT_ENABLE = yes \ No newline at end of file diff --git a/keyboards/abstract/ellipse/keymaps/default/keymap.c b/keyboards/abstract/ellipse/keymaps/default/keymap.c deleted file mode 100644 index dbcba36f5c..0000000000 --- a/keyboards/abstract/ellipse/keymaps/default/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ -/* Copyright 2019 AbstractKB - * - * 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 . - */ -#include QMK_KEYBOARD_H - -// Defines the keycodes used by our macros in process_record_user -/*enum custom_keycodes { - MYKEY = SAFE_RANGE -};*/ - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_A, RGB_TOG, KC_C, - KC_X, KC_Y, KC_Z - ) -}; - -bool encoder_update_user(uint8_t index, bool clockwise) { - if (index == 0) { /* First encoder */ - if (clockwise) { - tap_code(KC_O); - } else { - tap_code(KC_P); - } - } else if (index == 1) { /* Second encoder */ - if (clockwise) { - rgblight_increase_hue_noeeprom(); - } else { - rgblight_decrease_hue_noeeprom(); - } - } else if (index == 2) { - if (clockwise) { - tap_code(KC_M); - } else { - tap_code(KC_R); - } - } - return true; -} diff --git a/keyboards/abstract/ellipse/keymaps/default/readme.md b/keyboards/abstract/ellipse/keymaps/default/readme.md deleted file mode 100644 index e14c0c8bd5..0000000000 --- a/keyboards/abstract/ellipse/keymaps/default/readme.md +++ /dev/null @@ -1,6 +0,0 @@ -# The default keymap for Ellipse - -This keymap allows for basic testing of the keypad once assembled. -Each knob and key outputs a different standard letter keycode, -except for the middle knob which changes the hue of the RGB LEDs and when -pressed down turns off the RGB LEDs \ No newline at end of file -- cgit v1.2.3