summaryrefslogtreecommitdiff
path: root/layouts/community/numpad_5x6
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-11-26 18:36:45 +0000
committerGitHub <noreply@github.com>2023-11-27 05:36:45 +1100
commit1ed03f498fa204178c2696c510ac6a2cd8524e2d (patch)
treeb97c1f983b7e4b57c007d0feedadd3ad3e39062b /layouts/community/numpad_5x6
parent4908d4b1ca260efecf3613e6517aa3a6f2034876 (diff)
Remove userspace keymaps (#22544)
Diffstat (limited to 'layouts/community/numpad_5x6')
-rw-r--r--layouts/community/numpad_5x6/bjohnson/config.h32
-rw-r--r--layouts/community/numpad_5x6/bjohnson/keymap.c54
-rw-r--r--layouts/community/numpad_5x6/bjohnson/rules.mk5
-rw-r--r--layouts/community/numpad_5x6/drashna/config.h36
-rw-r--r--layouts/community/numpad_5x6/drashna/keymap.c39
-rw-r--r--layouts/community/numpad_5x6/drashna/rules.mk8
6 files changed, 0 insertions, 174 deletions
diff --git a/layouts/community/numpad_5x6/bjohnson/config.h b/layouts/community/numpad_5x6/bjohnson/config.h
deleted file mode 100644
index a02b1d6df8..0000000000
--- a/layouts/community/numpad_5x6/bjohnson/config.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#pragma once
-
-#if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
-#define WS2812_DI_PIN B7
-#define RGBLED_NUM 13 // Number of LEDs
-#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
-#define RGBLIGHT_EFFECT_TWINKLE
-
-#define RGBLIGHT_HUE_STEP 12
-#define RGBLIGHT_SAT_STEP 12
-#define RGBLIGHT_VAL_STEP 12
-#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
-#define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
-#define RGBLIGHT_EFFECT_BREATHE_CENTER 1
-
-#define RGBLIGHT_SLEEP
-#endif // RGBLIGHT_ENABLE
-
-#ifdef AUDIO_ENABLE
-#ifdef RGBLIGHT_ENABLE
-#define NO_MUSIC_MODE
-#endif // RGBLIGHT_ENABLE
-#endif // AUDIO_ENABLE
-#define TAP_CODE_DELAY 10
diff --git a/layouts/community/numpad_5x6/bjohnson/keymap.c b/layouts/community/numpad_5x6/bjohnson/keymap.c
deleted file mode 100644
index 49713df2c3..0000000000
--- a/layouts/community/numpad_5x6/bjohnson/keymap.c
+++ /dev/null
@@ -1,54 +0,0 @@
-#include QMK_KEYBOARD_H
-
-extern rgblight_config_t rgblight_config;
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT_numpad_5x6(
- KC_F1, LT(1,KC_F2), KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
- KC_F3, KC_F4, KC_P7, KC_P8, KC_P9,
- KC_F5, KC_F6, KC_P4, KC_P5, KC_P6, KC_PPLS,
- KC_F7, KC_F8, KC_P1, KC_P2, KC_P3,
- KC_F9, KC_F10, KC_P0, KC_PDOT, KC_PENT
- ),
- [1] = LAYOUT_numpad_5x6(
- RGB_TOG, _______, _______, _______, _______, QK_BOOT,
- RGB_MOD, RGB_RMOD, _______, _______, _______,
- RGB_HUI, RGB_HUD, _______, _______, _______, _______,
- RGB_SAI, RGB_SAD, _______, _______, _______,
- RGB_VAI, RGB_VAD, _______, _______, _______
- ),
-};
-
-
-void keyboard_post_init_user(void) {
-#ifdef RGBLIGHT_ENABLE
- uint8_t temp_mode = rgblight_config.mode;
- rgblight_enable_noeeprom();
- rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
- for (uint16_t i = 255; i > 0; i--) {
- rgblight_sethsv_noeeprom( ( i + 128) % 255, 255, 255);
- matrix_scan();
- wait_ms(10);
- }
- led_set_user(host_keyboard_leds());
- rgblight_mode_noeeprom(temp_mode);
-#endif
-}
-
-bool led_update_user(led_t led_state) {
- if (led_state.num_lock) {
- rgblight_sethsv_noeeprom(HSV_CYAN);
- } else {
- rgblight_sethsv_noeeprom(HSV_MAGENTA);
- }
- return false;
-}
-
-bool shutdown_user(bool jump_to_bootloader) {
- #ifdef RGBLIGHT_ENABLE
- rgblight_enable_noeeprom();
- rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
- rgblight_setrgb(RGB_RED);
- #endif // RGBLIGHT_ENABLE
- return false;
-}
diff --git a/layouts/community/numpad_5x6/bjohnson/rules.mk b/layouts/community/numpad_5x6/bjohnson/rules.mk
deleted file mode 100644
index b54c78f39b..0000000000
--- a/layouts/community/numpad_5x6/bjohnson/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = yes
-BACKLIGHT_ENABLE = no
-NO_SECRETS = yes
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
diff --git a/layouts/community/numpad_5x6/drashna/config.h b/layouts/community/numpad_5x6/drashna/config.h
deleted file mode 100644
index 51fd021c75..0000000000
--- a/layouts/community/numpad_5x6/drashna/config.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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
-
-
-#if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
-# define WS2812_DI_PIN B1
-# define RGBLED_NUM 16 // Number of LEDs
-
-# define RGBLIGHT_HUE_STEP 12
-# define RGBLIGHT_SAT_STEP 12
-# define RGBLIGHT_VAL_STEP 12
-# define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
-# define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
-#endif // RGBLIGHT_ENABLE
-
-#define RGBLIGHT_ALL_ANIMATIONS
-
-#if defined(KEYBOARD_primekb_prime_m)
-# undef PRODUCT
-# define PRODUCT "Drashna Hacked Prime_M Macro Pad"
-#endif
diff --git a/layouts/community/numpad_5x6/drashna/keymap.c b/layouts/community/numpad_5x6/drashna/keymap.c
deleted file mode 100644
index 014da361f6..0000000000
--- a/layouts/community/numpad_5x6/drashna/keymap.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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/>.
- */
-
-#include "drashna.h"
-
-#define F2_MCRO LT(_GAMEPAD, KC_F2)
-
-// clang-format off
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_NUMLOCK] = LAYOUT_numpad_5x6(
- KC_F1, F2_MCRO, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
- KC_F3, KC_F4, KC_P7, KC_P8, KC_P9,
- KC_F5, KC_F6, KC_P4, KC_P5, KC_P6, KC_PPLS,
- KC_F7, KC_F8, KC_P1, KC_P2, KC_P3,
- KC_F9, KC_COLN, KC_P0, KC_PDOT, KC_PENT
- ),
-
- [_GAMEPAD] = LAYOUT_numpad_5x6(
- RGB_TOG, _______, _______, EE_CLR, QK_MAKE, QK_BOOT,
- RGB_MOD, RGB_RMOD, _______, _______, _______,
- RGB_HUI, RGB_HUD, _______, _______, _______, _______,
- RGB_SAI, RGB_SAD, _______, _______, _______,
- RGB_VAI, RGB_VAD, _______, _______, _______
- ),
-};
-// clang-format on
diff --git a/layouts/community/numpad_5x6/drashna/rules.mk b/layouts/community/numpad_5x6/drashna/rules.mk
deleted file mode 100644
index a2a2b7f8f1..0000000000
--- a/layouts/community/numpad_5x6/drashna/rules.mk
+++ /dev/null
@@ -1,8 +0,0 @@
-AUDIO_ENABLE = no
-RGBLIGHT_ENABLE = yes
-BACKLIGHT_ENABLE = no
-NO_SECRETS = yes
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-INDICATOR_LIGHTS = no
-MAKE_BOOTLOADER = yes
-RGBLIGHT_STARTUP_ANIMATION = yes