From 45dc2499dc369ce0ac7a4868a01ffb18fbaf0384 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Mon, 26 Aug 2024 07:51:22 +1000 Subject: Remove all via-enabled keymaps, including `via`. (#24322) --- keyboards/cipulot/60xt/keymaps/via/keymap.c | 43 -- keyboards/cipulot/60xt/keymaps/via/rules.mk | 1 - keyboards/cipulot/chroma/keymaps/via/keymap.c | 43 -- keyboards/cipulot/chroma/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_23u/keymaps/via/config.h | 22 - keyboards/cipulot/ec_23u/keymaps/via/keymap.c | 37 -- keyboards/cipulot/ec_23u/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_60/keymaps/via/config.h | 20 - keyboards/cipulot/ec_60/keymaps/via/keymap.c | 42 -- keyboards/cipulot/ec_60/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_60x/keymaps/via/config.h | 19 - keyboards/cipulot/ec_60x/keymaps/via/keymap.c | 42 -- keyboards/cipulot/ec_60x/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_660c/keymaps/via/keymap.c | 43 -- keyboards/cipulot/ec_660c/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_980c/keymaps/via/keymap.c | 48 -- keyboards/cipulot/ec_980c/keymaps/via/rules.mk | 3 - .../ec_980c/keymaps/via/via_ec_indicators.c | 499 -------------------- .../cipulot/ec_alveus/1_0_0/keymaps/via/config.h | 20 - .../cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c | 42 -- .../cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk | 1 - .../cipulot/ec_alveus/1_2_0/keymaps/via/config.h | 20 - .../cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c | 42 -- .../cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_dolice/keymaps/via/keymap.c | 41 -- keyboards/cipulot/ec_dolice/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_menhir/keymaps/via/keymap.c | 27 -- keyboards/cipulot/ec_menhir/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_pro2/keymaps/via/config.h | 20 - keyboards/cipulot/ec_pro2/keymaps/via/keymap.c | 42 -- keyboards/cipulot/ec_pro2/keymaps/via/rules.mk | 1 - .../cipulot/ec_prox/ansi_iso/keymaps/via/config.h | 20 - .../cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c | 42 -- .../cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_prox/jis/keymaps/via/config.h | 20 - keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c | 44 -- keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_theca/keymaps/via/config.h | 20 - keyboards/cipulot/ec_theca/keymaps/via/keymap.c | 37 -- keyboards/cipulot/ec_theca/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_tkl/keymaps/via/config.h | 20 - keyboards/cipulot/ec_tkl/keymaps/via/keymap.c | 39 -- keyboards/cipulot/ec_tkl/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_typeb/keymaps/via/keymap.c | 42 -- keyboards/cipulot/ec_typeb/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_typek/keymaps/via/keymap.c | 41 -- keyboards/cipulot/ec_typek/keymaps/via/rules.mk | 3 - .../ec_typek/keymaps/via/via_ec_indicators.c | 502 --------------------- keyboards/cipulot/ec_vero/keymaps/via/keymap.c | 42 -- keyboards/cipulot/ec_vero/keymaps/via/rules.mk | 1 - keyboards/cipulot/ec_virgo/keymaps/via/keymap.c | 37 -- keyboards/cipulot/ec_virgo/keymaps/via/rules.mk | 1 - keyboards/cipulot/kallos/keymaps/via/keymap.c | 52 --- keyboards/cipulot/kallos/keymaps/via/rules.mk | 1 - keyboards/cipulot/kawayo/keymaps/via/keymap.c | 51 --- keyboards/cipulot/kawayo/keymaps/via/rules.mk | 1 - keyboards/cipulot/mnk_60_ec/keymaps/via/keymap.c | 42 -- keyboards/cipulot/mnk_60_ec/keymaps/via/rules.mk | 1 - keyboards/cipulot/mnk_65_ec/keymaps/via/keymap.c | 43 -- keyboards/cipulot/mnk_65_ec/keymaps/via/rules.mk | 1 - keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h | 20 - keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c | 39 -- keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk | 1 - 63 files changed, 2294 deletions(-) delete mode 100644 keyboards/cipulot/60xt/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/60xt/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/chroma/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/chroma/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_23u/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_23u/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_23u/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_60/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_60/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_60/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_60x/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_60x/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_60x/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_660c/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_660c/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_980c/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_980c/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_980c/keymaps/via/via_ec_indicators.c delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_dolice/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_dolice/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_menhir/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_menhir/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_pro2/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_pro2/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_pro2/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_prox/jis/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_theca/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_theca/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_theca/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_tkl/keymaps/via/config.h delete mode 100644 keyboards/cipulot/ec_tkl/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_tkl/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_typeb/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_typeb/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_typek/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_typek/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_typek/keymaps/via/via_ec_indicators.c delete mode 100644 keyboards/cipulot/ec_vero/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_vero/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/ec_virgo/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/ec_virgo/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/kallos/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/kallos/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/kawayo/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/kawayo/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/mnk_60_ec/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/mnk_60_ec/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/mnk_65_ec/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/mnk_65_ec/keymaps/via/rules.mk delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c delete mode 100644 keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk (limited to 'keyboards/cipulot') diff --git a/keyboards/cipulot/60xt/keymaps/via/keymap.c b/keyboards/cipulot/60xt/keymaps/via/keymap.c deleted file mode 100644 index 41008ef92a..0000000000 --- a/keyboards/cipulot/60xt/keymaps/via/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT( - KC_F1, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_F6, - KC_F2, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_F7, - KC_F3, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_F8, - KC_F4, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_F9, - KC_F5, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_F10 - ), - [1] = LAYOUT( - _______, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, _______, - _______, _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, _______, _______, _______, - _______, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, MO(2), _______ - ), - [2] = LAYOUT( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - // clang-format on -}; diff --git a/keyboards/cipulot/60xt/keymaps/via/rules.mk b/keyboards/cipulot/60xt/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/60xt/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/chroma/keymaps/via/keymap.c b/keyboards/cipulot/chroma/keymaps/via/keymap.c deleted file mode 100644 index c93d9110ef..0000000000 --- a/keyboards/cipulot/chroma/keymaps/via/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL - ), - [1] = LAYOUT_all( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, - _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, _______, _______, - _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, MO(2) - ), - [2] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______ - ) - // clang-format on -}; diff --git a/keyboards/cipulot/chroma/keymaps/via/rules.mk b/keyboards/cipulot/chroma/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/chroma/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_23u/keymaps/via/config.h b/keyboards/cipulot/ec_23u/keymaps/via/config.h deleted file mode 100644 index 036188669d..0000000000 --- a/keyboards/cipulot/ec_23u/keymaps/via/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 -// This is the size of the EEPROM for the custom VIA-specific data -#define EECONFIG_USER_DATA_SIZE 4 diff --git a/keyboards/cipulot/ec_23u/keymaps/via/keymap.c b/keyboards/cipulot/ec_23u/keymaps/via/keymap.c deleted file mode 100644 index 10847a751f..0000000000 --- a/keyboards/cipulot/ec_23u/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_TAB, KC_BSPC, MO(1), - KC_NUM, KC_PSLS, KC_PAST, KC_PEQL, - KC_P7, KC_P8, KC_P9, KC_PMNS, - KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_P1, KC_P2, KC_P3, KC_PENT, - KC_P0, KC_P0, KC_PDOT, KC_PENT), - - [1] = LAYOUT_all( - UG_TOGG, UG_VALD, UG_VALU, _______, - _______, _______, _______, NK_TOGG, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, _______, _______, - _______, _______, QK_BOOT, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_23u/keymaps/via/rules.mk b/keyboards/cipulot/ec_23u/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_23u/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_60/keymaps/via/config.h b/keyboards/cipulot/ec_60/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_60/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_60/keymaps/via/keymap.c b/keyboards/cipulot/ec_60/keymaps/via/keymap.c deleted file mode 100644 index d41d43c885..0000000000 --- a/keyboards/cipulot/ec_60/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -#include "keymap_japanese.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENTER, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, MO(1), KC_RSFT, KC_RSFT, KC_RSFT, MO(1), - KC_CAPS, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_RCTL), - - [1] = LAYOUT_all( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, - _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) -}; diff --git a/keyboards/cipulot/ec_60/keymaps/via/rules.mk b/keyboards/cipulot/ec_60/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_60/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_60x/keymaps/via/config.h b/keyboards/cipulot/ec_60x/keymaps/via/config.h deleted file mode 100644 index 08a4c0f74c..0000000000 --- a/keyboards/cipulot/ec_60x/keymaps/via/config.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2024 Cipulot - * - * 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 3 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 VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2 diff --git a/keyboards/cipulot/ec_60x/keymaps/via/keymap.c b/keyboards/cipulot/ec_60x/keymaps/via/keymap.c deleted file mode 100644 index 33e9ed7c51..0000000000 --- a/keyboards/cipulot/ec_60x/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2024 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_ENTER, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RALT, MO(1), KC_RCTL), - - [1] = LAYOUT_all( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_UP, _______, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, KC_LEFT, KC_RIGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, MO(2), _______), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_60x/keymaps/via/rules.mk b/keyboards/cipulot/ec_60x/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_60x/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_660c/keymaps/via/keymap.c b/keyboards/cipulot/ec_660c/keymaps/via/keymap.c deleted file mode 100644 index 5d82bdc3ab..0000000000 --- a/keyboards/cipulot/ec_660c/keymaps/via/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, _______, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, KC_HOME, KC_PGUP, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, _______, _______, _______, - _______, _______, _______, _______, _______, MO(2), _______, _______, _______, _______ - ), - [2] = LAYOUT( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_660c/keymaps/via/rules.mk b/keyboards/cipulot/ec_660c/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_660c/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_980c/keymaps/via/keymap.c b/keyboards/cipulot/ec_980c/keymaps/via/keymap.c deleted file mode 100644 index c60db78352..0000000000 --- a/keyboards/cipulot/ec_980c/keymaps/via/keymap.c +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -#include "keymap_japanese.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_INS, KC_PGUP, KC_PGDN, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_ENT, KC_P7, KC_P8, KC_P9, KC_PPLS, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, - KC_LCTL, KC_LGUI, KC_LALT, _______, KC_SPC, KC_SPC, _______, KC_RALT, KC_RCTL, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT, KC_P0, KC_PDOT, KC_PENT - ), - [1] = LAYOUT( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, MO(2), _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - // clang-format on -}; diff --git a/keyboards/cipulot/ec_980c/keymaps/via/rules.mk b/keyboards/cipulot/ec_980c/keymaps/via/rules.mk deleted file mode 100644 index b870b6349c..0000000000 --- a/keyboards/cipulot/ec_980c/keymaps/via/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -VIA_ENABLE = yes - -SRC += via_ec_indicators.c diff --git a/keyboards/cipulot/ec_980c/keymaps/via/via_ec_indicators.c b/keyboards/cipulot/ec_980c/keymaps/via/via_ec_indicators.c deleted file mode 100644 index f885e79435..0000000000 --- a/keyboards/cipulot/ec_980c/keymaps/via/via_ec_indicators.c +++ /dev/null @@ -1,499 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 "keyboards/cipulot/common/eeprom_tools.h" -#include "ec_switch_matrix.h" -#include "action.h" -#include "print.h" -#include "via.h" - -#ifdef VIA_ENABLE - -void ec_rescale_values(uint8_t item); -void ec_save_threshold_data(uint8_t option); -void ec_save_bottoming_reading(void); -void ec_show_calibration_data(void); -void ec_clear_bottoming_calibration_data(void); - -// Declaring enums for VIA config menu -enum via_enums { - // clang-format off - id_num_indicator_enabled = 1, - id_num_indicator_brightness = 2, - id_num_indicator_color = 3, - id_caps_indicator_enabled = 4, - id_caps_indicator_brightness = 5, - id_caps_indicator_color = 6, - id_scroll_indicator_enabled = 7, - id_scroll_indicator_brightness = 8, - id_scroll_indicator_color = 9, - id_actuation_mode = 10, - id_mode_0_actuation_threshold = 11, - id_mode_0_release_threshold = 12, - id_save_threshold_data = 13, - id_mode_1_initial_deadzone_offset = 14, - id_mode_1_actuation_offset = 15, - id_mode_1_release_offset = 16, - id_bottoming_calibration = 17, - id_noise_floor_calibration = 18, - id_show_calibration_data = 19, - id_clear_bottoming_calibration_data = 20 - // clang-format on -}; - -// Handle the data received by the keyboard from the VIA menus -void via_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_num_indicator_enabled: { - if (value_data[0] == 1) { - eeprom_ec_config.num.enabled = true; - uprintf("#########################\n"); - uprintf("# Num indicator enabled #\n"); - uprintf("#########################\n"); - } else { - eeprom_ec_config.num.enabled = false; - uprintf("##########################\n"); - uprintf("# Num indicator disabled #\n"); - uprintf("##########################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.enabled); - break; - } - case id_num_indicator_brightness: { - eeprom_ec_config.num.v = value_data[0]; - uprintf("Num indicator brightness: %d\n", eeprom_ec_config.num.v); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.v); - break; - } - case id_num_indicator_color: { - eeprom_ec_config.num.h = value_data[0]; - eeprom_ec_config.num.s = value_data[1]; - uprintf("Num indicator color: %d, %d\n", eeprom_ec_config.num.h, eeprom_ec_config.num.s); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.h); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.s); - break; - } - case id_caps_indicator_enabled: { - if (value_data[0] == 1) { - eeprom_ec_config.caps.enabled = true; - uprintf("##########################\n"); - uprintf("# Caps indicator enabled #\n"); - uprintf("##########################\n"); - } else { - eeprom_ec_config.caps.enabled = false; - uprintf("###########################\n"); - uprintf("# Caps indicator disabled #\n"); - uprintf("###########################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.enabled); - break; - } - case id_caps_indicator_brightness: { - eeprom_ec_config.caps.v = value_data[0]; - uprintf("Caps indicator brightness: %d\n", eeprom_ec_config.caps.v); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.v); - break; - } - case id_caps_indicator_color: { - eeprom_ec_config.caps.h = value_data[0]; - eeprom_ec_config.caps.s = value_data[1]; - uprintf("Caps indicator color: %d, %d\n", eeprom_ec_config.caps.h, eeprom_ec_config.caps.s); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.h); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.s); - break; - } - case id_scroll_indicator_enabled: { - if (value_data[0] == 1) { - eeprom_ec_config.scroll.enabled = true; - uprintf("############################\n"); - uprintf("# Scroll indicator enabled #\n"); - uprintf("############################\n"); - } else { - eeprom_ec_config.scroll.enabled = false; - uprintf("#############################\n"); - uprintf("# Scroll indicator disabled #\n"); - uprintf("#############################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.enabled); - break; - } - case id_scroll_indicator_brightness: { - eeprom_ec_config.scroll.v = value_data[0]; - uprintf("Scroll indicator brightness: %d\n", eeprom_ec_config.scroll.v); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.v); - break; - } - case id_scroll_indicator_color: { - eeprom_ec_config.scroll.h = value_data[0]; - eeprom_ec_config.scroll.s = value_data[1]; - uprintf("Scroll indicator color: %d, %d\n", eeprom_ec_config.scroll.h, eeprom_ec_config.scroll.s); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.h); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.s); - break; - } - case id_actuation_mode: { - eeprom_ec_config.actuation_mode = value_data[0]; - ec_config.actuation_mode = eeprom_ec_config.actuation_mode; - if (ec_config.actuation_mode == 0) { - uprintf("#########################\n"); - uprintf("# Actuation Mode: APC #\n"); - uprintf("#########################\n"); - } else if (ec_config.actuation_mode == 1) { - uprintf("#################################\n"); - uprintf("# Actuation Mode: Rapid Trigger #\n"); - uprintf("#################################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, actuation_mode); - break; - } - case id_mode_0_actuation_threshold: { - ec_config.mode_0_actuation_threshold = value_data[1] | (value_data[0] << 8); - uprintf("APC Mode Actuation Threshold: %d\n", ec_config.mode_0_actuation_threshold); - break; - } - case id_mode_0_release_threshold: { - ec_config.mode_0_release_threshold = value_data[1] | (value_data[0] << 8); - uprintf("APC Mode Release Threshold: %d\n", ec_config.mode_0_release_threshold); - break; - } - case id_mode_1_initial_deadzone_offset: { - ec_config.mode_1_initial_deadzone_offset = value_data[1] | (value_data[0] << 8); - uprintf("Rapid Trigger Mode Initial Deadzone Offset: %d\n", ec_config.mode_1_initial_deadzone_offset); - break; - } - case id_mode_1_actuation_offset: { - ec_config.mode_1_actuation_offset = value_data[0]; - uprintf("Rapid Trigger Mode Actuation Offset: %d\n", ec_config.mode_1_actuation_offset); - break; - } - case id_mode_1_release_offset: { - ec_config.mode_1_release_offset = value_data[0]; - uprintf("Rapid Trigger Mode Release Offset: %d\n", ec_config.mode_1_release_offset); - break; - } - case id_bottoming_calibration: { - if (value_data[0] == 1) { - ec_config.bottoming_calibration = true; - uprintf("##############################\n"); - uprintf("# Bottoming calibration mode #\n"); - uprintf("##############################\n"); - } else { - ec_config.bottoming_calibration = false; - ec_save_bottoming_reading(); - uprintf("## Bottoming calibration done ##\n"); - ec_show_calibration_data(); - } - break; - } - case id_save_threshold_data: { - ec_save_threshold_data(value_data[0]); - break; - } - case id_noise_floor_calibration: { - if (value_data[0] == 0) { - ec_noise_floor(); - ec_rescale_values(0); - ec_rescale_values(1); - ec_rescale_values(2); - uprintf("#############################\n"); - uprintf("# Noise floor data acquired #\n"); - uprintf("#############################\n"); - break; - } - } - case id_show_calibration_data: { - if (value_data[0] == 0) { - ec_show_calibration_data(); - break; - } - } - case id_clear_bottoming_calibration_data: { - if (value_data[0] == 0) { - ec_clear_bottoming_calibration_data(); - } - } - default: { - // Unhandled value. - break; - } - } -} - -// Handle the data sent by the keyboard to the VIA menus -void via_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_num_indicator_enabled: { - value_data[0] = eeprom_ec_config.num.enabled; - break; - } - case id_num_indicator_brightness: { - value_data[0] = eeprom_ec_config.num.v; - break; - } - case id_num_indicator_color: { - value_data[0] = eeprom_ec_config.num.h; - value_data[1] = eeprom_ec_config.num.s; - break; - } - case id_caps_indicator_enabled: { - value_data[0] = eeprom_ec_config.caps.enabled; - break; - } - case id_caps_indicator_brightness: { - value_data[0] = eeprom_ec_config.caps.v; - break; - } - case id_caps_indicator_color: { - value_data[0] = eeprom_ec_config.caps.h; - value_data[1] = eeprom_ec_config.caps.s; - break; - } - case id_scroll_indicator_enabled: { - value_data[0] = eeprom_ec_config.scroll.enabled; - break; - } - case id_scroll_indicator_brightness: { - value_data[0] = eeprom_ec_config.scroll.v; - break; - } - case id_scroll_indicator_color: { - value_data[0] = eeprom_ec_config.scroll.h; - value_data[1] = eeprom_ec_config.scroll.s; - break; - } - case id_actuation_mode: { - value_data[0] = eeprom_ec_config.actuation_mode; - break; - } - case id_mode_0_actuation_threshold: { - value_data[0] = eeprom_ec_config.mode_0_actuation_threshold >> 8; - value_data[1] = eeprom_ec_config.mode_0_actuation_threshold & 0xFF; - break; - } - case id_mode_0_release_threshold: { - value_data[0] = eeprom_ec_config.mode_0_release_threshold >> 8; - value_data[1] = eeprom_ec_config.mode_0_release_threshold & 0xFF; - break; - } - case id_mode_1_initial_deadzone_offset: { - value_data[0] = eeprom_ec_config.mode_1_initial_deadzone_offset >> 8; - value_data[1] = eeprom_ec_config.mode_1_initial_deadzone_offset & 0xFF; - break; - } - case id_mode_1_actuation_offset: { - value_data[0] = eeprom_ec_config.mode_1_actuation_offset; - break; - } - case id_mode_1_release_offset: { - value_data[0] = eeprom_ec_config.mode_1_release_offset; - break; - } - default: { - // Unhandled value. - break; - } - } -} - -// Handle the commands sent and received by the keyboard with VIA -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - via_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - via_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - // Bypass the save function in favor of pinpointed saves - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Rescale the values received by VIA to fit the new range -void ec_rescale_values(uint8_t item) { - switch (item) { - // Rescale the APC mode actuation thresholds - case 0: - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - ec_config.rescaled_mode_0_actuation_threshold[row][col] = rescale(ec_config.mode_0_actuation_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); - } - } - break; - // Rescale the APC mode release thresholds - case 1: - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - ec_config.rescaled_mode_0_release_threshold[row][col] = rescale(ec_config.mode_0_release_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); - } - } - break; - // Rescale the Rapid Trigger mode initial deadzone offsets - case 2: - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - ec_config.rescaled_mode_1_initial_deadzone_offset[row][col] = rescale(ec_config.mode_1_initial_deadzone_offset, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); - } - } - break; - - default: - // Unhandled item. - break; - } -} - -void ec_save_threshold_data(uint8_t option) { - // Save APC mode thresholds and rescale them for runtime usage - if (option == 0) { - eeprom_ec_config.mode_0_actuation_threshold = ec_config.mode_0_actuation_threshold; - eeprom_ec_config.mode_0_release_threshold = ec_config.mode_0_release_threshold; - ec_rescale_values(0); - ec_rescale_values(1); - } - // Save Rapid Trigger mode thresholds and rescale them for runtime usage - else if (option == 1) { - eeprom_ec_config.mode_1_initial_deadzone_offset = ec_config.mode_1_initial_deadzone_offset; - eeprom_ec_config.mode_1_actuation_offset = ec_config.mode_1_actuation_offset; - eeprom_ec_config.mode_1_release_offset = ec_config.mode_1_release_offset; - ec_rescale_values(2); - } - eeconfig_update_kb_datablock(&eeprom_ec_config); - uprintf("####################################\n"); - uprintf("# New thresholds applied and saved #\n"); - uprintf("####################################\n"); -} - -// Save the bottoming reading -void ec_save_bottoming_reading(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - // If the bottom reading doesn't go over the noise floor by BOTTOMING_CALIBRATION_THRESHOLD, it is likely that: - // 1. The key is not actually in the matrix - // 2. The key is on an alternative layout, therefore not being pressed - // 3. The key in in the current layout but not being pressed - if (ec_config.bottoming_reading[row][col] < (ec_config.noise_floor[row][col] + BOTTOMING_CALIBRATION_THRESHOLD)) { - eeprom_ec_config.bottoming_reading[row][col] = 1023; - } else { - eeprom_ec_config.bottoming_reading[row][col] = ec_config.bottoming_reading[row][col]; - } - } - } - // Rescale the values to fit the new range for runtime usage - ec_rescale_values(0); - ec_rescale_values(1); - ec_rescale_values(2); - eeconfig_update_kb_datablock(&eeprom_ec_config); -} - -// Show the calibration data -void ec_show_calibration_data(void) { - uprintf("\n###############\n"); - uprintf("# Noise Floor #\n"); - uprintf("###############\n"); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.noise_floor[row][col]); - } - uprintf("%4d\n", ec_config.noise_floor[row][MATRIX_COLS - 1]); - } - - uprintf("\n######################\n"); - uprintf("# Bottoming Readings #\n"); - uprintf("######################\n"); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", eeprom_ec_config.bottoming_reading[row][col]); - } - uprintf("%4d\n", eeprom_ec_config.bottoming_reading[row][MATRIX_COLS - 1]); - } - - uprintf("\n######################################\n"); - uprintf("# Rescaled APC Mode Actuation Points #\n"); - uprintf("######################################\n"); - uprintf("Original APC Mode Actuation Point: %4d\n", ec_config.mode_0_actuation_threshold); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.rescaled_mode_0_actuation_threshold[row][col]); - } - uprintf("%4d\n", ec_config.rescaled_mode_0_actuation_threshold[row][MATRIX_COLS - 1]); - } - - uprintf("\n######################################\n"); - uprintf("# Rescaled APC Mode Release Points #\n"); - uprintf("######################################\n"); - uprintf("Original APC Mode Release Point: %4d\n", ec_config.mode_0_release_threshold); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.rescaled_mode_0_release_threshold[row][col]); - } - uprintf("%4d\n", ec_config.rescaled_mode_0_release_threshold[row][MATRIX_COLS - 1]); - } - - uprintf("\n#######################################################\n"); - uprintf("# Rescaled Rapid Trigger Mode Initial Deadzone Offset #\n"); - uprintf("#######################################################\n"); - uprintf("Original Rapid Trigger Mode Initial Deadzone Offset: %4d\n", ec_config.mode_1_initial_deadzone_offset); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.rescaled_mode_1_initial_deadzone_offset[row][col]); - } - uprintf("%4d\n", ec_config.rescaled_mode_1_initial_deadzone_offset[row][MATRIX_COLS - 1]); - } - print("\n"); -} - -// Clear the calibration data -void ec_clear_bottoming_calibration_data(void) { - // Clear the EEPROM data - eeconfig_init_kb(); - - // Reset the runtime values to the EEPROM values - keyboard_post_init_kb(); - - uprintf("######################################\n"); - uprintf("# Bottoming calibration data cleared #\n"); - uprintf("######################################\n"); -} - -#endif // VIA_ENABLE diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c deleted file mode 100644 index 692a631ea8..0000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - - [1] = LAYOUT_all( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk b/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_alveus/1_0_0/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c deleted file mode 100644 index 2134def61a..0000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - - [1] = LAYOUT_all( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk b/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_alveus/1_2_0/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_dolice/keymaps/via/keymap.c b/keyboards/cipulot/ec_dolice/keymaps/via/keymap.c deleted file mode 100644 index 8e6745b681..0000000000 --- a/keyboards/cipulot/ec_dolice/keymaps/via/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_all( - KC_PSCR, KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, - KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, - KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_SPC, KC_RALT, KC_RCTL - ), - [1] = LAYOUT_all( - _______, KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL, - _______, _______, KC_HOME, KC_UP, KC_END, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, KC_VOLD, KC_VOLU, KC_MUTE, KC_MPRV, KC_MNXT, KC_MPLY, _______, _______, - _______, _______, _______, _______, _______, _______, MO(2) - ), - [2] = LAYOUT_all( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/cipulot/ec_dolice/keymaps/via/rules.mk b/keyboards/cipulot/ec_dolice/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_dolice/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_menhir/keymaps/via/keymap.c b/keyboards/cipulot/ec_menhir/keymaps/via/keymap.c deleted file mode 100644 index e6780e6439..0000000000 --- a/keyboards/cipulot/ec_menhir/keymaps/via/keymap.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT( - KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, - KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, - KC_LALT, KC_LGUI, MO(1), KC_SPC, KC_SPC, MO(2), KC_LCTL) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_menhir/keymaps/via/rules.mk b/keyboards/cipulot/ec_menhir/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_menhir/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/config.h b/keyboards/cipulot/ec_pro2/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_pro2/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c b/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c deleted file mode 100644 index 45e25068e5..0000000000 --- a/keyboards/cipulot/ec_pro2/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), - - [1] = LAYOUT_all( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, KC_BSPC, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, MO(2)), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk b/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_pro2/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c deleted file mode 100644 index 9a0f1dfcbd..0000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), - - [1] = LAYOUT_all( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, KC_BSPC, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, MO(2)), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk b/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_prox/ansi_iso/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h b/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c b/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c deleted file mode 100644 index f793b355b2..0000000000 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/keymap.c +++ /dev/null @@ -1,44 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -#include "keymap_japanese.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_jp( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_ENT, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_BSLS, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_UP, KC_RSFT, - MO(1), JP_ZKHK, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_HENK, JP_KANA, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT), - - [1] = LAYOUT_jp( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, KC_UP, _______, KC_PENT, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_PAST, KC_PSLS, KC_HOME, KC_PGUP, KC_LEFT, KC_RGHT, _______, - _______, _______, _______, _______, _______, _______, KC_PPLS, KC_PMNS, KC_END, KC_PGDN, KC_DOWN, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, MO(2), _______, _______, _______, _______), - - [2] = LAYOUT_jp( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk b/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_prox/jis/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_theca/keymaps/via/config.h b/keyboards/cipulot/ec_theca/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_theca/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_theca/keymaps/via/keymap.c b/keyboards/cipulot/ec_theca/keymaps/via/keymap.c deleted file mode 100644 index ca11bf60fc..0000000000 --- a/keyboards/cipulot/ec_theca/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - - [1] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_theca/keymaps/via/rules.mk b/keyboards/cipulot/ec_theca/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_theca/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_tkl/keymaps/via/config.h b/keyboards/cipulot/ec_tkl/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/ec_tkl/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/ec_tkl/keymaps/via/keymap.c b/keyboards/cipulot/ec_tkl/keymaps/via/keymap.c deleted file mode 100644 index 983bdefe8a..0000000000 --- a/keyboards/cipulot/ec_tkl/keymaps/via/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -#include "keymap_japanese.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_ENTER, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_KANA, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - - [1] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_tkl/keymaps/via/rules.mk b/keyboards/cipulot/ec_tkl/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_tkl/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_typeb/keymaps/via/keymap.c b/keyboards/cipulot/ec_typeb/keymaps/via/keymap.c deleted file mode 100644 index 71f8cd0368..0000000000 --- a/keyboards/cipulot/ec_typeb/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_60_hhkb( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), - - [1] = LAYOUT_60_hhkb( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, KC_BSPC, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, - _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, MO(2)), - - [2] = LAYOUT_60_hhkb( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_typeb/keymaps/via/rules.mk b/keyboards/cipulot/ec_typeb/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_typeb/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_typek/keymaps/via/keymap.c b/keyboards/cipulot/ec_typek/keymaps/via/keymap.c deleted file mode 100644 index e47e50680e..0000000000 --- a/keyboards/cipulot/ec_typek/keymaps/via/keymap.c +++ /dev/null @@ -1,41 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT( - KC_ESC, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL, - KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, - KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LGUI, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LALT, KC_SPC, KC_LGUI, KC_RGUI, KC_SPC, KC_RALT, MO(1) - ), - [1] = LAYOUT( - _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, - KC_HOME, _______, _______, KC_UP, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, _______, _______, _______, - KC_END, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, MO(2), _______ - ), - [2] = LAYOUT( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______) -}; diff --git a/keyboards/cipulot/ec_typek/keymaps/via/rules.mk b/keyboards/cipulot/ec_typek/keymaps/via/rules.mk deleted file mode 100644 index b870b6349c..0000000000 --- a/keyboards/cipulot/ec_typek/keymaps/via/rules.mk +++ /dev/null @@ -1,3 +0,0 @@ -VIA_ENABLE = yes - -SRC += via_ec_indicators.c diff --git a/keyboards/cipulot/ec_typek/keymaps/via/via_ec_indicators.c b/keyboards/cipulot/ec_typek/keymaps/via/via_ec_indicators.c deleted file mode 100644 index 742dac0e6f..0000000000 --- a/keyboards/cipulot/ec_typek/keymaps/via/via_ec_indicators.c +++ /dev/null @@ -1,502 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 "keyboards/cipulot/common/eeprom_tools.h" -#include "ec_switch_matrix.h" -#include "action.h" -#include "print.h" -#include "via.h" - -#ifdef VIA_ENABLE - -void ec_rescale_values(uint8_t item); -void ec_save_threshold_data(uint8_t option); -void ec_save_bottoming_reading(void); -void ec_show_calibration_data(void); -void ec_clear_bottoming_calibration_data(void); - -// Declaring enums for VIA config menu -enum via_enums { - // clang-format off - id_num_indicator_enabled = 1, - id_num_indicator_brightness = 2, - id_num_indicator_color = 3, - id_caps_indicator_enabled = 4, - id_caps_indicator_brightness = 5, - id_caps_indicator_color = 6, - id_scroll_indicator_enabled = 7, - id_scroll_indicator_brightness = 8, - id_scroll_indicator_color = 9, - id_actuation_mode = 10, - id_mode_0_actuation_threshold = 11, - id_mode_0_release_threshold = 12, - id_save_threshold_data = 13, - id_mode_1_initial_deadzone_offset = 14, - id_mode_1_actuation_offset = 15, - id_mode_1_release_offset = 16, - id_bottoming_calibration = 17, - id_noise_floor_calibration = 18, - id_show_calibration_data = 19, - id_clear_bottoming_calibration_data = 20 - // clang-format on -}; - -// Handle the data received by the keyboard from the VIA menus -void via_config_set_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_num_indicator_enabled: { - if (value_data[0] == 1) { - eeprom_ec_config.num.enabled = true; - uprintf("#########################\n"); - uprintf("# Num indicator enabled #\n"); - uprintf("#########################\n"); - } else { - eeprom_ec_config.num.enabled = false; - uprintf("##########################\n"); - uprintf("# Num indicator disabled #\n"); - uprintf("##########################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.enabled); - break; - } - case id_num_indicator_brightness: { - eeprom_ec_config.num.v = value_data[0]; - uprintf("Num indicator brightness: %d\n", eeprom_ec_config.num.v); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.v); - break; - } - case id_num_indicator_color: { - eeprom_ec_config.num.h = value_data[0]; - eeprom_ec_config.num.s = value_data[1]; - uprintf("Num indicator color: %d, %d\n", eeprom_ec_config.num.h, eeprom_ec_config.num.s); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.h); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, num.s); - break; - } - case id_caps_indicator_enabled: { - if (value_data[0] == 1) { - eeprom_ec_config.caps.enabled = true; - uprintf("##########################\n"); - uprintf("# Caps indicator enabled #\n"); - uprintf("##########################\n"); - } else { - eeprom_ec_config.caps.enabled = false; - uprintf("###########################\n"); - uprintf("# Caps indicator disabled #\n"); - uprintf("###########################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.enabled); - break; - } - case id_caps_indicator_brightness: { - eeprom_ec_config.caps.v = value_data[0]; - uprintf("Caps indicator brightness: %d\n", eeprom_ec_config.caps.v); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.v); - break; - } - case id_caps_indicator_color: { - eeprom_ec_config.caps.h = value_data[0]; - eeprom_ec_config.caps.s = value_data[1]; - uprintf("Caps indicator color: %d, %d\n", eeprom_ec_config.caps.h, eeprom_ec_config.caps.s); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.h); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, caps.s); - break; - } - case id_scroll_indicator_enabled: { - if (value_data[0] == 1) { - eeprom_ec_config.scroll.enabled = true; - uprintf("############################\n"); - uprintf("# Scroll indicator enabled #\n"); - uprintf("############################\n"); - } else { - eeprom_ec_config.scroll.enabled = false; - uprintf("#############################\n"); - uprintf("# Scroll indicator disabled #\n"); - uprintf("#############################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.enabled); - break; - } - case id_scroll_indicator_brightness: { - eeprom_ec_config.scroll.v = value_data[0]; - uprintf("Scroll indicator brightness: %d\n", eeprom_ec_config.scroll.v); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.v); - break; - } - case id_scroll_indicator_color: { - eeprom_ec_config.scroll.h = value_data[0]; - eeprom_ec_config.scroll.s = value_data[1]; - uprintf("Scroll indicator color: %d, %d\n", eeprom_ec_config.scroll.h, eeprom_ec_config.scroll.s); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.h); - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, scroll.s); - break; - } - case id_actuation_mode: { - eeprom_ec_config.actuation_mode = value_data[0]; - ec_config.actuation_mode = eeprom_ec_config.actuation_mode; - if (ec_config.actuation_mode == 0) { - uprintf("#########################\n"); - uprintf("# Actuation Mode: APC #\n"); - uprintf("#########################\n"); - } else if (ec_config.actuation_mode == 1) { - uprintf("#################################\n"); - uprintf("# Actuation Mode: Rapid Trigger #\n"); - uprintf("#################################\n"); - } - EEPROM_KB_PARTIAL_UPDATE(eeprom_ec_config, actuation_mode); - break; - } - case id_mode_0_actuation_threshold: { - ec_config.mode_0_actuation_threshold = value_data[1] | (value_data[0] << 8); - uprintf("APC Mode Actuation Threshold: %d\n", ec_config.mode_0_actuation_threshold); - break; - } - case id_mode_0_release_threshold: { - eeprom_ec_config.mode_0_release_threshold = value_data[1] | (value_data[0] << 8); - ec_config.mode_0_release_threshold = eeprom_ec_config.mode_0_release_threshold; - uprintf("APC Mode Release Threshold: %d\n", ec_config.mode_0_release_threshold); - break; - } - case id_mode_1_initial_deadzone_offset: { - ec_config.mode_1_initial_deadzone_offset = value_data[1] | (value_data[0] << 8); - uprintf("Rapid Trigger Mode Initial Deadzone Offset: %d\n", ec_config.mode_1_initial_deadzone_offset); - break; - } - case id_mode_1_actuation_offset: { - ec_config.mode_1_actuation_offset = value_data[0]; - uprintf("Rapid Trigger Mode Actuation Sensitivity: %d\n", ec_config.mode_1_actuation_offset); - break; - } - case id_mode_1_release_offset: { - ec_config.mode_1_release_offset = value_data[0]; - uprintf("Rapid Trigger Mode Release Sensitivity: %d\n", ec_config.mode_1_release_offset); - break; - } - case id_bottoming_calibration: { - if (value_data[0] == 1) { - ec_config.bottoming_calibration = true; - uprintf("##############################\n"); - uprintf("# Bottoming calibration mode #\n"); - uprintf("##############################\n"); - } else { - ec_config.bottoming_calibration = false; - ec_save_bottoming_reading(); - uprintf("## Bottoming calibration done ##\n"); - ec_show_calibration_data(); - } - break; - } - case id_save_threshold_data: { - ec_save_threshold_data(value_data[0]); - break; - } - case id_noise_floor_calibration: { - if (value_data[0] == 0) { - ec_noise_floor(); - ec_rescale_values(0); - ec_rescale_values(1); - ec_rescale_values(2); - uprintf("#############################\n"); - uprintf("# Noise floor data acquired #\n"); - uprintf("#############################\n"); - break; - } - } - case id_show_calibration_data: { - // Show calibration data once if the user toggle the switch - if (value_data[0] == 0) { - ec_show_calibration_data(); - break; - } - } - case id_clear_bottoming_calibration_data: { - if (value_data[0] == 0) { - ec_clear_bottoming_calibration_data(); - } - } - default: { - // Unhandled value. - break; - } - } - - // Call the indicator callback to set the indicator color - indicators_callback(); -} - -// Handle the data sent by the keyboard to the VIA menus -void via_config_get_value(uint8_t *data) { - // data = [ value_id, value_data ] - uint8_t *value_id = &(data[0]); - uint8_t *value_data = &(data[1]); - - switch (*value_id) { - case id_num_indicator_enabled: { - value_data[0] = eeprom_ec_config.num.enabled; - break; - } - case id_num_indicator_brightness: { - value_data[0] = eeprom_ec_config.num.v; - break; - } - case id_num_indicator_color: { - value_data[0] = eeprom_ec_config.num.h; - value_data[1] = eeprom_ec_config.num.s; - break; - } - case id_caps_indicator_enabled: { - value_data[0] = eeprom_ec_config.caps.enabled; - break; - } - case id_caps_indicator_brightness: { - value_data[0] = eeprom_ec_config.caps.v; - break; - } - case id_caps_indicator_color: { - value_data[0] = eeprom_ec_config.caps.h; - value_data[1] = eeprom_ec_config.caps.s; - break; - } - case id_scroll_indicator_enabled: { - value_data[0] = eeprom_ec_config.scroll.enabled; - break; - } - case id_scroll_indicator_brightness: { - value_data[0] = eeprom_ec_config.scroll.v; - break; - } - case id_scroll_indicator_color: { - value_data[0] = eeprom_ec_config.scroll.h; - value_data[1] = eeprom_ec_config.scroll.s; - break; - } - case id_actuation_mode: { - value_data[0] = eeprom_ec_config.actuation_mode; - break; - } - case id_mode_0_actuation_threshold: { - value_data[0] = eeprom_ec_config.mode_0_actuation_threshold >> 8; - value_data[1] = eeprom_ec_config.mode_0_actuation_threshold & 0xFF; - break; - } - case id_mode_0_release_threshold: { - value_data[0] = eeprom_ec_config.mode_0_release_threshold >> 8; - value_data[1] = eeprom_ec_config.mode_0_release_threshold & 0xFF; - break; - } - case id_mode_1_initial_deadzone_offset: { - value_data[0] = eeprom_ec_config.mode_1_initial_deadzone_offset >> 8; - value_data[1] = eeprom_ec_config.mode_1_initial_deadzone_offset & 0xFF; - break; - } - case id_mode_1_actuation_offset: { - value_data[0] = eeprom_ec_config.mode_1_actuation_offset; - break; - } - case id_mode_1_release_offset: { - value_data[0] = eeprom_ec_config.mode_1_release_offset; - break; - } - default: { - // Unhandled value. - break; - } - } -} - -// Handle the commands sent and received by the keyboard with VIA -void via_custom_value_command_kb(uint8_t *data, uint8_t length) { - // data = [ command_id, channel_id, value_id, value_data ] - uint8_t *command_id = &(data[0]); - uint8_t *channel_id = &(data[1]); - uint8_t *value_id_and_data = &(data[2]); - - if (*channel_id == id_custom_channel) { - switch (*command_id) { - case id_custom_set_value: { - via_config_set_value(value_id_and_data); - break; - } - case id_custom_get_value: { - via_config_get_value(value_id_and_data); - break; - } - case id_custom_save: { - // Bypass the save function in favor of pinpointed saves - break; - } - default: { - // Unhandled message. - *command_id = id_unhandled; - break; - } - } - return; - } - - *command_id = id_unhandled; -} - -// Rescale the values received by VIA to fit the new range -void ec_rescale_values(uint8_t item) { - switch (item) { - // Rescale the APC mode actuation thresholds - case 0: - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - ec_config.rescaled_mode_0_actuation_threshold[row][col] = rescale(ec_config.mode_0_actuation_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); - } - } - break; - // Rescale the APC mode release thresholds - case 1: - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - ec_config.rescaled_mode_0_release_threshold[row][col] = rescale(ec_config.mode_0_release_threshold, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); - } - } - break; - // Rescale the Rapid Trigger mode initial deadzone offsets - case 2: - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - ec_config.rescaled_mode_1_initial_deadzone_offset[row][col] = rescale(ec_config.mode_1_initial_deadzone_offset, 0, 1023, ec_config.noise_floor[row][col], eeprom_ec_config.bottoming_reading[row][col]); - } - } - break; - - default: - // Unhandled item. - break; - } -} - -void ec_save_threshold_data(uint8_t option) { - // Save APC mode thresholds and rescale them for runtime usage - if (option == 0) { - eeprom_ec_config.mode_0_actuation_threshold = ec_config.mode_0_actuation_threshold; - eeprom_ec_config.mode_0_release_threshold = ec_config.mode_0_release_threshold; - ec_rescale_values(0); - ec_rescale_values(1); - } - // Save Rapid Trigger mode thresholds and rescale them for runtime usage - else if (option == 1) { - eeprom_ec_config.mode_1_initial_deadzone_offset = ec_config.mode_1_initial_deadzone_offset; - ec_rescale_values(2); - } - eeconfig_update_kb_datablock(&eeprom_ec_config); - uprintf("####################################\n"); - uprintf("# New thresholds applied and saved #\n"); - uprintf("####################################\n"); -} - -// Save the bottoming reading -void ec_save_bottoming_reading(void) { - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS; col++) { - // If the bottom reading doesn't go over the noise floor by 100, it is likely that: - // 1. The key is not actually in the matrix - // 2. The key is on an alternative layout, therefore not being pressed - // 3. The key in in the current layout but not being pressed - if (ec_config.bottoming_reading[row][col] < (ec_config.noise_floor[row][col] + 100)) { - eeprom_ec_config.bottoming_reading[row][col] = 1023; - } else { - eeprom_ec_config.bottoming_reading[row][col] = ec_config.bottoming_reading[row][col]; - } - } - } - // Rescale the values to fit the new range for runtime usage - ec_rescale_values(0); - ec_rescale_values(1); - ec_rescale_values(2); - eeconfig_update_kb_datablock(&eeprom_ec_config); -} - -// Show the calibration data -void ec_show_calibration_data(void) { - uprintf("\n###############\n"); - uprintf("# Noise Floor #\n"); - uprintf("###############\n"); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.noise_floor[row][col]); - } - uprintf("%4d\n", ec_config.noise_floor[row][MATRIX_COLS - 1]); - } - - uprintf("\n######################\n"); - uprintf("# Bottoming Readings #\n"); - uprintf("######################\n"); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", eeprom_ec_config.bottoming_reading[row][col]); - } - uprintf("%4d\n", eeprom_ec_config.bottoming_reading[row][MATRIX_COLS - 1]); - } - - uprintf("\n######################################\n"); - uprintf("# Rescaled APC Mode Actuation Points #\n"); - uprintf("######################################\n"); - uprintf("Original APC Mode Actuation Point: %4d\n", ec_config.mode_0_actuation_threshold); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.rescaled_mode_0_actuation_threshold[row][col]); - } - uprintf("%4d\n", ec_config.rescaled_mode_0_actuation_threshold[row][MATRIX_COLS - 1]); - } - - uprintf("\n######################################\n"); - uprintf("# Rescaled APC Mode Release Points #\n"); - uprintf("######################################\n"); - uprintf("Original APC Mode Release Point: %4d\n", ec_config.mode_0_release_threshold); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.rescaled_mode_0_release_threshold[row][col]); - } - uprintf("%4d\n", ec_config.rescaled_mode_0_release_threshold[row][MATRIX_COLS - 1]); - } - - uprintf("\n#######################################################\n"); - uprintf("# Rescaled Rapid Trigger Mode Initial Deadzone Offset #\n"); - uprintf("#######################################################\n"); - uprintf("Original Rapid Trigger Mode Initial Deadzone Offset: %4d\n", ec_config.mode_1_initial_deadzone_offset); - for (uint8_t row = 0; row < MATRIX_ROWS; row++) { - for (uint8_t col = 0; col < MATRIX_COLS - 1; col++) { - uprintf("%4d,", ec_config.rescaled_mode_1_initial_deadzone_offset[row][col]); - } - uprintf("%4d\n", ec_config.rescaled_mode_1_initial_deadzone_offset[row][MATRIX_COLS - 1]); - } - print("\n"); -} - -// Clear the calibration data -void ec_clear_bottoming_calibration_data(void) { - // Clear the EEPROM data - eeconfig_init_kb(); - - // Reset the runtime values to the EEPROM values - keyboard_post_init_kb(); - - uprintf("######################################\n"); - uprintf("# Bottoming calibration data cleared #\n"); - uprintf("######################################\n"); -} - -#endif // VIA_ENABLE diff --git a/keyboards/cipulot/ec_vero/keymaps/via/keymap.c b/keyboards/cipulot/ec_vero/keymaps/via/keymap.c deleted file mode 100644 index 06b3651d94..0000000000 --- a/keyboards/cipulot/ec_vero/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_DEL, KC_ENTER, - KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_BSLS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RALT), - - [1] = LAYOUT_all( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, KC_BSPC, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, _______, - _______, _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, MO(2)), - - [2] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/ec_vero/keymaps/via/rules.mk b/keyboards/cipulot/ec_vero/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_vero/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/ec_virgo/keymaps/via/keymap.c b/keyboards/cipulot/ec_virgo/keymaps/via/keymap.c deleted file mode 100644 index f176ec71dc..0000000000 --- a/keyboards/cipulot/ec_virgo/keymaps/via/keymap.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_ENTER, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - [1] = LAYOUT( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - - // clang-format on -}; diff --git a/keyboards/cipulot/ec_virgo/keymaps/via/rules.mk b/keyboards/cipulot/ec_virgo/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/ec_virgo/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/kallos/keymaps/via/keymap.c b/keyboards/cipulot/kallos/keymaps/via/keymap.c deleted file mode 100644 index f09cf850f9..0000000000 --- a/keyboards/cipulot/kallos/keymaps/via/keymap.c +++ /dev/null @@ -1,52 +0,0 @@ -/* Copyright 2022 Cipulot - - * 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_default( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, MO(1), KC_DEL, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, - KC_LCTL, KC_LALT, KC_SPC, KC_RCTL, KC_RALT, KC_LEFT, KC_DOWN, KC_RIGHT - ), - [1] = LAYOUT_default( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT_default( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - [3] = LAYOUT_default( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/cipulot/kallos/keymaps/via/rules.mk b/keyboards/cipulot/kallos/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/kallos/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/kawayo/keymaps/via/keymap.c b/keyboards/cipulot/kawayo/keymaps/via/keymap.c deleted file mode 100644 index 06cf47bc5f..0000000000 --- a/keyboards/cipulot/kawayo/keymaps/via/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ -/* Copyright 2022 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_65_ansi_cb_blocker_split_bs( - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, MO(1), - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, _______, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, _______, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT - ), - - [1] = LAYOUT_65_ansi_cb_blocker_split_bs( - QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [2] = LAYOUT_65_ansi_cb_blocker_split_bs( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ), - - [3] = LAYOUT_65_ansi_cb_blocker_split_bs( - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______ - ) -}; diff --git a/keyboards/cipulot/kawayo/keymaps/via/rules.mk b/keyboards/cipulot/kawayo/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/kawayo/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/mnk_60_ec/keymaps/via/keymap.c b/keyboards/cipulot/mnk_60_ec/keymaps/via/keymap.c deleted file mode 100644 index 08599b93d3..0000000000 --- a/keyboards/cipulot/mnk_60_ec/keymaps/via/keymap.c +++ /dev/null @@ -1,42 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_60_tsangan_hhkb( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENTER, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RCTL, KC_RGUI, KC_RALT), - - [1] = LAYOUT_60_tsangan_hhkb( - _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, - _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUSE, KC_UP, _______, _______, - _______, KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, S(KC_8), KC_SLSH, KC_HOME, KC_PGUP, KC_LEFT, KC_RIGHT, _______, - _______, _______, _______, _______, _______, _______, S(KC_EQL), KC_MINS, KC_END, KC_PGDN, KC_DOWN, _______, _______, - _______, _______, _______, _______, _______, MO(2), _______), - - [2] = LAYOUT_60_tsangan_hhkb( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/mnk_60_ec/keymaps/via/rules.mk b/keyboards/cipulot/mnk_60_ec/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/mnk_60_ec/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/mnk_65_ec/keymaps/via/keymap.c b/keyboards/cipulot/mnk_65_ec/keymaps/via/keymap.c deleted file mode 100644 index 03b9c3de33..0000000000 --- a/keyboards/cipulot/mnk_65_ec/keymaps/via/keymap.c +++ /dev/null @@ -1,43 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_65_ansi_blocker_tsangan( - KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, - KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_LEFT, KC_DOWN, KC_RGHT - ), - [1] = LAYOUT_65_ansi_blocker_tsangan( - KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, _______, - _______, _______, _______, _______, _______, _______, KC_INS, _______, _______, _______, _______, KC_PSCR, KC_SCRL, KC_PAUS, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ), - [2] = LAYOUT_65_ansi_blocker_tsangan( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______ - ) - // clang-format on -}; diff --git a/keyboards/cipulot/mnk_65_ec/keymaps/via/rules.mk b/keyboards/cipulot/mnk_65_ec/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/mnk_65_ec/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h deleted file mode 100644 index 1ab0d3d9aa..0000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/config.h +++ /dev/null @@ -1,20 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -// This is the firmware version for VIA support to avoid conflicts on menu fetching -#define VIA_FIRMWARE_VERSION 1 diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c deleted file mode 100644 index 983bdefe8a..0000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/keymap.c +++ /dev/null @@ -1,39 +0,0 @@ -/* Copyright 2023 Cipulot - * - * 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 3 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 - -#include "keymap_japanese.h" - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - // clang-format off - [0] = LAYOUT_all( - KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, - KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, JP_YEN, KC_BSPC, KC_INS, KC_HOME, KC_PGUP, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_ENTER, KC_DEL, KC_END, KC_PGDN, - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENTER, - KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, JP_UNDS, KC_RSFT, KC_UP, - KC_LCTL, KC_LGUI, KC_LALT, JP_MHEN, KC_SPC, JP_KANA, KC_RALT, KC_RGUI, MO(1), KC_RCTL, KC_LEFT, KC_DOWN, KC_RIGHT), - - [1] = LAYOUT_all( - QK_BOOT, NK_TOGG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______) - // clang-format on -}; diff --git a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk b/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/cipulot/rf_r1_8_9xu/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes -- cgit v1.2.3