summaryrefslogtreecommitdiff
path: root/keyboards/keebio/bdn9
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-12-17 21:54:01 +1100
committerGitHub <noreply@github.com>2023-12-17 21:54:01 +1100
commit7ea022ba88125c27ef2d137f52e7cf846ddb4ee9 (patch)
tree3998727ea1224c872f50bb53ab220841962d814f /keyboards/keebio/bdn9
parentf0e4bc937aeaf84887ab27d7e085e6d02fbebda9 (diff)
[Keymap Removal] Planck and related keymaps. (#22683)
Diffstat (limited to 'keyboards/keebio/bdn9')
-rw-r--r--keyboards/keebio/bdn9/keymaps/copface/config.h8
-rw-r--r--keyboards/keebio/bdn9/keymaps/copface/keymap.c93
-rw-r--r--keyboards/keebio/bdn9/keymaps/eosti/config.h18
-rw-r--r--keyboards/keebio/bdn9/keymaps/eosti/keymap.c174
-rw-r--r--keyboards/keebio/bdn9/keymaps/eosti/readme.md9
-rw-r--r--keyboards/keebio/bdn9/keymaps/eosti/rules.mk4
6 files changed, 0 insertions, 306 deletions
diff --git a/keyboards/keebio/bdn9/keymaps/copface/config.h b/keyboards/keebio/bdn9/keymaps/copface/config.h
deleted file mode 100644
index 38881a2108..0000000000
--- a/keyboards/keebio/bdn9/keymaps/copface/config.h
+++ /dev/null
@@ -1,8 +0,0 @@
-// Copyright 2021 Gustavs Gutmanis (@gustavs-gutmanis)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#ifdef RGB_MATRIX_ENABLE
-# define RGB_MATRIX_KEYPRESSES
-#endif
diff --git a/keyboards/keebio/bdn9/keymaps/copface/keymap.c b/keyboards/keebio/bdn9/keymaps/copface/keymap.c
deleted file mode 100644
index c086faa1aa..0000000000
--- a/keyboards/keebio/bdn9/keymaps/copface/keymap.c
+++ /dev/null
@@ -1,93 +0,0 @@
-// Copyright 2021 Gustavs Gutmanis (@gustavs-gutmanis)
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include QMK_KEYBOARD_H
-
-enum layer_names {
- _SMITE = 0,
-};
-
-enum custom_keycodes {
- S_7 = SAFE_RANGE, // [VEL] - laugh
- S_8, // [VVN] - No
- S_9, // [VVA] - OK
-
- S_4, // [VVB] - be right back
- S_5, // [VVVE] - on my way
- S_6, // [VVM] - out of mana
-
- S_1, // [VRR] - retreat
- S_2, // [VDD] - defend
- S_3, // [VAA] - attack
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case S_7:
- if (record->event.pressed) {
- // VEL
- SEND_STRING("v" SS_DELAY(20) "e" SS_DELAY(20) "l");
- }
- break;
- case S_8:
- if (record->event.pressed) {
- // VVN
- SEND_STRING("v" SS_DELAY(20) "v" SS_DELAY(20) "n");
- }
- break;
- case S_9:
- if (record->event.pressed) {
- // VVA
- SEND_STRING("v" SS_DELAY(20) "v" SS_DELAY(20) "a");
- }
- break;
-
- case S_4:
- if (record->event.pressed) {
- // VVB
- SEND_STRING("v" SS_DELAY(20) "v" SS_DELAY(20) "b");
- }
- break;
- case S_5:
- if (record->event.pressed) {
- // VVVE
- SEND_STRING("v" SS_DELAY(20) "v" SS_DELAY(20) "v" SS_DELAY(20) "e");
- }
- break;
- case S_6:
- if (record->event.pressed) {
- // VVM
- SEND_STRING("v" SS_DELAY(20) "v" SS_DELAY(20) "m");
- }
- break;
-
- case S_1:
- if (record->event.pressed) {
- // VRR
- SEND_STRING("v" SS_DELAY(20) "r" SS_DELAY(20) "r");
- }
- break;
- case S_2:
- if (record->event.pressed) {
- // VDD
- SEND_STRING("v" SS_DELAY(20) "d" SS_DELAY(20) "d");
- }
- break;
- case S_3:
- if (record->event.pressed) {
- // VAA
- SEND_STRING("v" SS_DELAY(20) "a" SS_DELAY(20) "a");
- }
- break;
- }
-
- return true;
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_SMITE] = LAYOUT(
- S_7, S_8, S_9,
- S_4, S_5, S_6,
- S_1, S_2, S_3
- ),
-};
diff --git a/keyboards/keebio/bdn9/keymaps/eosti/config.h b/keyboards/keebio/bdn9/keymaps/eosti/config.h
deleted file mode 100644
index 98f8eab1a0..0000000000
--- a/keyboards/keebio/bdn9/keymaps/eosti/config.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Copyright 2020 Reid Sox-Harris
- *
- * 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
-
-#define TAPPING_TERM 275
diff --git a/keyboards/keebio/bdn9/keymaps/eosti/keymap.c b/keyboards/keebio/bdn9/keymaps/eosti/keymap.c
deleted file mode 100644
index 970cd6d6e7..0000000000
--- a/keyboards/keebio/bdn9/keymaps/eosti/keymap.c
+++ /dev/null
@@ -1,174 +0,0 @@
-/* Copyright 2020 Reid Sox-Harris
- *
- * 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 layer_names {
- _BASE,
- _MACRO,
- _MOD
-};
-
-enum custom_keycodes {
- M801 = SAFE_RANGE,
- M802,
- M803,
- M804,
- M805,
- M806,
-};
-
-// tapdance keycodes
-enum td_keycodes {
- LAY
-};
-
-// define a type containing as many tapdance states as you need
-typedef enum {
- SINGLE_TAP,
- SINGLE_HOLD,
-} td_state_t;
-
-// create a global instance of the tapdance state type
-static td_state_t td_state;
-
-// declare your tapdance functions:
-
-// function to determine the current tapdance state
-int cur_dance (tap_dance_state_t *state);
-
-// `finished` and `reset` functions for each tapdance keycode
-void altlp_finished (tap_dance_state_t *state, void *user_data);
-void altlp_reset (tap_dance_state_t *state, void *user_data);
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case M801:
- if (record->event.pressed) {
- SEND_STRING("M801" SS_TAP(X_ENTER));
- }
- break;
- case M802:
- if (record->event.pressed) {
- SEND_STRING("M802" SS_TAP(X_ENTER));
- }
- break;
- case M803:
- if (record->event.pressed) {
- SEND_STRING("M803" SS_TAP(X_ENTER));
- }
- break;
- case M804:
- if (record->event.pressed) {
- SEND_STRING("M804" SS_TAP(X_ENTER));
- }
- break;
- case M805:
- if (record->event.pressed) {
- SEND_STRING("M805" SS_TAP(X_ENTER));
- }
- break;
- case M806:
- if (record->event.pressed) {
- SEND_STRING("M806" SS_TAP(X_ENTER));
- }
- break;
- }
-
- return true;
-};
-
-#define EX_ARR LCTL(LSFT(KC_ENTER))
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [_BASE] = LAYOUT(
- // ┌────────┬────────┬────────┐
- KC_MUTE, KC_UP, TD(LAY),
- // ├────────┼────────┼────────┤
- KC_LEFT, KC_DOWN, KC_RGHT,
- // ├────────┼────────┼────────┤
- KC_MRWD, KC_MPLY, KC_MFFD
- // └────────┴────────┴────────┘
- ),
- [_MACRO] = LAYOUT(
- // ┌────────┬────────┬────────┐
- _______, KC_SPC, TG(_MACRO),
- // ├────────┼────────┼────────┤
- M801, M802, M803,
- // ├────────┼────────┼────────┤
- KC_NO, KC_NO, EX_ARR
- // └────────┴────────┴────────┘
- ),
- [_MOD] = LAYOUT(
- // ┌────────┬────────┬────────┐
- _______, BL_STEP,TG(_MOD),
- // ├────────┼────────┼────────┤
- RGB_TOG, RGB_HUI, RGB_SAI,
- // ├────────┼────────┼────────┤
- RGB_MOD, RGB_HUD, RGB_SAD
- // └────────┴────────┴────────┘
- )
-};
-
-bool encoder_update_user(uint8_t index, bool clockwise) {
- if (index == 0) {
- if (clockwise) {
- tap_code(KC_VOLD);
- } else {
- tap_code(KC_VOLU);
- }
- }
- return true;
-}
-
-// Tapdance! Hold to use as a modifier to the _MOD layout, tap to change it between _BASE and _MACRO
-
-// determine the tapdance state to return
-int cur_dance (tap_dance_state_t *state) {
- if (state->count == 1) {
- if (state->interrupted || !state->pressed) { return SINGLE_TAP; }
- else { return SINGLE_HOLD; }
- } else { return 3; } // any number higher than the maximum state value you return above
-}
-
-// handle the possible states for each tapdance keycode you define:
-
-void altlp_finished (tap_dance_state_t *state, void *user_data) {
- td_state = cur_dance(state);
- switch (td_state) {
- case SINGLE_TAP:
- layer_on(_MACRO);
- break;
- case SINGLE_HOLD:
- layer_on(_MOD);
- break;
- }
-}
-
-void altlp_reset (tap_dance_state_t *state, void *user_data) {
- switch (td_state) {
- case SINGLE_TAP:
- break;
- case SINGLE_HOLD:
- layer_off(_MOD);
- break;
- }
-}
-
-// define `ACTION_TAP_DANCE_FN_ADVANCED()` for each tapdance keycode, passing in `finished` and `reset` functions
-tap_dance_action_t tap_dance_actions[] = {
- [LAY] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, altlp_finished, altlp_reset)
-};
diff --git a/keyboards/keebio/bdn9/keymaps/eosti/readme.md b/keyboards/keebio/bdn9/keymaps/eosti/readme.md
deleted file mode 100644
index cafa17827b..0000000000
--- a/keyboards/keebio/bdn9/keymaps/eosti/readme.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# EosTi's BDN9 Macropad Layout
-
-## Features
-
-- Single encoder in the top left to control volume, push to mute
-- Arrow keys and media keys on home layer
-- Tap upper right to toggle to macro layer
-- Hold upper right to change keyboard functions (aka RGB)
-- 428 entire bytes free!
diff --git a/keyboards/keebio/bdn9/keymaps/eosti/rules.mk b/keyboards/keebio/bdn9/keymaps/eosti/rules.mk
deleted file mode 100644
index ff3294ba75..0000000000
--- a/keyboards/keebio/bdn9/keymaps/eosti/rules.mk
+++ /dev/null
@@ -1,4 +0,0 @@
-TAP_DANCE_ENABLE=yes
-CONSOLE_ENABLE = no
-COMMAND_ENABLE = no
-LTO_ENABLE = yes