aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/numpad_5x6/bjohnson
diff options
context:
space:
mode:
authorNick Brassel <[email protected]>2023-11-28 16:39:48 +1100
committerNick Brassel <[email protected]>2023-11-28 16:40:47 +1100
commit0115951de12bd4c798a43a380651c34552552e85 (patch)
tree62999011ae782d93aa6dc9c889615db2a840cafc /layouts/community/numpad_5x6/bjohnson
parent0379d1f59e58cefa18cdb72ba1b77507d1108ae6 (diff)
parent4d99e0a23cff02f4c6e55e093b5de08a9be0df7c (diff)
downloadqmk_firmware-0.23.0.tar.gz
qmk_firmware-0.23.0.zip
`develop` -> `master`, 2023q4 edition0.23.0
Diffstat (limited to 'layouts/community/numpad_5x6/bjohnson')
-rw-r--r--layouts/community/numpad_5x6/bjohnson/config.h32
-rw-r--r--layouts/community/numpad_5x6/bjohnson/keymap.c53
-rw-r--r--layouts/community/numpad_5x6/bjohnson/rules.mk5
3 files changed, 0 insertions, 90 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 63b358f226..0000000000
--- a/layouts/community/numpad_5x6/bjohnson/keymap.c
+++ /dev/null
@@ -1,53 +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;
-}
-
-void shutdown_user (void) {
- #ifdef RGBLIGHT_ENABLE
- rgblight_enable_noeeprom();
- rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
- rgblight_setrgb(RGB_RED);
- #endif // RGBLIGHT_ENABLE
-}
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