diff options
author | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2022-09-13 11:24:05 +0800 |
commit | 9581289745736ce068a1040f44cec37a2ca8830d (patch) | |
tree | 24f644715a5fd6cc4d804d9604fb094307808b1b /keyboards/bandominedoni | |
parent | fe13cedf8c09fa34d5cec4e4c624738095176625 (diff) |
Remove non-Keychron keyboards
Diffstat (limited to 'keyboards/bandominedoni')
21 files changed, 0 insertions, 1480 deletions
diff --git a/keyboards/bandominedoni/bandominedoni.c b/keyboards/bandominedoni/bandominedoni.c deleted file mode 100644 index 27df3598d4..0000000000 --- a/keyboards/bandominedoni/bandominedoni.c +++ /dev/null @@ -1,119 +0,0 @@ -/* Copyright 2021 3araht - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include "bandominedoni.h" - -#ifdef RGB_MATRIX_ENABLE - -led_config_t g_led_config = { - { - { 75, 46, 45, 44, 43, 42, NO_LED }, \ - { 47, 48, 49, 50, 51, 52, 53 }, \ - { 60, 59, 58, 57, 56, 55, 54 }, \ - { 61, 62, 63, 64, 65, 66, 67 }, \ - { 74, 73, 72, 71, 70, 69, 68 }, \ - { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }, \ - { 7, 6, 4, 3, 2, 1, 5}, \ - { 8, 9, 10, 11, 12, 13, 0 }, \ - { 19, 18, 17, 16, 15, 14, 41 }, \ - { 20, 21, 22, 23, 24, 25, 40 }, \ - { 30, 29, 28, 27, 26, 39, 38 }, \ - { 31, 32, 33, 34, 35, 36, 37 } - }, { - { 145, 6 }, { 157, 5 }, { 153, 14 }, { 149, 22 }, { 145, 32 }, { 136, 35 }, { 139, 48 }, { 134, 61 }, - { 142, 60 }, { 148, 43 }, { 154, 29 }, { 158, 20 }, { 163, 12 }, { 168, 4 }, - { 178, 5 }, { 173, 12 }, { 168, 20 }, { 163, 28 }, { 157, 40 }, { 151, 55 }, - { 160, 52 }, { 166, 39 }, { 172, 28 }, { 177, 20 }, { 182, 13 }, { 188, 7 }, - { 192, 17 }, { 186, 23 }, { 181, 30 }, { 175, 39 }, { 169, 50 }, - { 178, 51 }, { 184, 41 }, { 190, 33 }, { 196, 27 }, - { 199, 37 }, { 193, 45 }, { 187, 53 }, - { 196, 56 }, { 202, 49 }, - { 205, 61 }, - { 202, 4 }, - { 84, 18 }, { 73, 13 }, { 62, 10 }, { 51, 8 }, { 39, 11 }, { 24, 22 }, - { 34, 19 }, { 45, 16 }, { 56, 16 }, { 66, 18 }, { 77, 22 }, { 87, 28 }, - { 92, 40 }, { 81, 32 }, { 71, 27 }, { 61, 24 }, { 51, 24 }, { 41, 24 }, { 30, 28 }, - { 24, 42 }, { 34, 37 }, { 44, 35 }, { 54, 34 }, { 64, 36 }, { 74, 38 }, { 84, 44 }, - { 87, 54 }, { 77, 49 }, { 67, 47 }, { 57, 45 }, { 47, 45 }, { 37, 48 }, { 27, 52 }, { 19, 56 }, - }, { - 4, 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, - 4, 4, 4, 4, - 4, 4, 4, - 4, 4, - 4, - 4, - 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, - 4, 4, 4, 4, 4, 4, 4, 4 - } -}; -#endif - -#if defined(SPLIT_HAND_MATRIX_GRID) -static uint8_t peek_matrix_intersection(pin_t out_pin, pin_t in_pin) { - setPinInputHigh(in_pin); - setPinOutput(out_pin); - writePinLow(out_pin); - // It's almost unnecessary, but wait until it's down to low, just in case. - wait_us(1); - uint8_t pin_state = readPin(in_pin); - // Set out_pin to a setting that is less susceptible to noise. - setPinInputHigh(out_pin); - matrix_io_delay(); // Wait for the pull-up to go HIGH. - return pin_state; -} -#endif - -// Overriding is_keyboard_left() in qmk_firmware/quantum/split_common/split_util.c to limit the handedness check only once. -// reason: bandoMIneDonI has no space on right hand side to use "SPLIT_HAND_MATRIX_GRID". -// However, It enables to decide the handedness by the HW by adding one condition: "not to press any keys (especially r30) dusing startup." -bool is_keyboard_left(void) { -static enum { UNKNOWN, LEFT, RIGHT } hand_side = UNKNOWN; - - // only check once, as this is called often - if (hand_side == UNKNOWN) { -#if defined(SPLIT_HAND_PIN) - // Test pin SPLIT_HAND_PIN for High/Low, if low it's right hand - setPinInput(SPLIT_HAND_PIN); - hand_side = readPin(SPLIT_HAND_PIN) ? LEFT : RIGHT; - return (hand_side == LEFT); -#elif defined(SPLIT_HAND_MATRIX_GRID) -# ifdef SPLIT_HAND_MATRIX_GRID_LOW_IS_RIGHT - hand_side = peek_matrix_intersection(SPLIT_HAND_MATRIX_GRID) ? LEFT : RIGHT; - return (hand_side == LEFT); -# else - hand_side = peek_matrix_intersection(SPLIT_HAND_MATRIX_GRID) ? RIGHT : LEFT; - return (hand_side == LEFT); -# endif -#elif defined(EE_HANDS) - hand_side = eeconfig_read_handedness() ? LEFT : RIGHT; - return (hand_side == LEFT); -#elif defined(MASTER_RIGHT) - hand_side = !is_keyboard_master() ? LEFT : RIGHT; - return (hand_side == LEFT); -#endif - hand_side = is_keyboard_master() ? LEFT : RIGHT; - return (hand_side == LEFT); - } else { - return (hand_side == LEFT); - } -} diff --git a/keyboards/bandominedoni/bandominedoni.h b/keyboards/bandominedoni/bandominedoni.h deleted file mode 100644 index 6011a2cc71..0000000000 --- a/keyboards/bandominedoni/bandominedoni.h +++ /dev/null @@ -1,85 +0,0 @@ -/* Copyright 2021 3araht - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include "quantum.h" - -/* This is a shortcut to help you visually see your layout. - * - * The first section contains all of the arguments representing the physical - * layout of the board and position of the keys. - * - * The second converts the arguments into a two-dimensional array which - * represents the switch matrix. - */ - -// oc: for Open Close selection pedal -// fn: function layer - -#define LAYOUT( \ - l00, l01, l02, l03, l04, \ - l10, l11, l12, l13, l14, l15, l16, \ - l20, l21, l22, l23, l24, l25, l26, \ - l30, l31, l32, l33, l34, l35, l36, \ - l40, l41, l42, l43, l44, l45, l46, l47, \ - \ - oc, r00, r01, r02, r03, fn, \ - r10, r11, r12, r13, r14, \ - r20, r21, r22, r23, r24, r25, \ - r30, r31, r32, r33, r34, r35, r36, r37, \ - r40, r41, r42, r43, r44, r45, r46, r47, \ - r50, r51, r52, r53, r54, r55, r56, r57, r58 \ -) { \ - { l40, l00, l01, l02, l03, l04, KC_NO }, \ - { l10, l11, l12, l13, l14, l15, l16 }, \ - { l20, l21, l22, l23, l24, l25, l26 }, \ - { l30, l31, l32, l33, l34, l35, l36 }, \ - { l41, l42, l43, l44, l45, l46, l47 }, \ - { KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO }, \ - { r50, r40, r31, r20, r10, r00, r30 }, \ - { r51, r41, r32, r21, r11, r01, oc }, \ - { r52, r42, r33, r22, r12, r02, fn }, \ - { r53, r43, r34, r23, r13, r03, r58 }, \ - { r54, r44, r35, r24, r14, r47, r57 }, \ - { r55, r45, r36, r25, r37, r46, r56 } \ -} - -// Uncomment below if a pedal used for Open/Close is normally-on type (such as Yamaha's.) -// #define PEDAL_NORMALLY_CLOSED - -#ifdef PEDAL_NORMALLY_CLOSED -# define MO_SWAP MO(_OPEN) -# define DF_SWAP DF(_CLOSE) -# define TG_SWAP TG(_OPEN) -#else -# define MO_SWAP MO(_CLOSE) -# define DF_SWAP DF(_OPEN) -# define TG_SWAP TG(_CLOSE) -#endif - -// Long press: go to _FN layer, tap: MUTE -#define FN_MUTE LT(_FN, KC_MUTE) -#define DF_QWER DF(_QWERTY) -#define MIS_EIS LT(_MISC,KC_LANG2) -#define MIS_KAN LT(_MISC,KC_LANG1) - - -// Overriding is_keyboard_left() in qmk_firmware/quantum/split_common/split_util.c to limit the handedness check only once. -// reason: bandoMIneDonI has no space on right hand side to use "SPLIT_HAND_MATRIX_GRID". -// However, It enables to decide the handedness by the HW by adding one condition: "not to press any keys (especially r30) dusing startup." -bool is_keyboard_left(void); - diff --git a/keyboards/bandominedoni/config.h b/keyboards/bandominedoni/config.h deleted file mode 100644 index 17f5675f60..0000000000 --- a/keyboards/bandominedoni/config.h +++ /dev/null @@ -1,258 +0,0 @@ -/* Copyright 2021 3araht - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 12 -#define MATRIX_COLS 7 - -/* - * Keyboard Matrix Assignments - * - * Change this to how you wired your keyboard - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom - * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) - * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) - * - */ -#define MATRIX_ROW_PINS { B5, B4, D7, F6, C6, D4 } -#define MATRIX_COL_PINS { D1, E6, F7, B1, B3, B2, D0 } - -#define MASTER_RIGHT -#ifndef MASTER_RIGHT -// SPLIT_HAND_MATRIX_GRID was initially designed to use with left hand side diode D35 mounted and not pressing K7 on the right hand side during boot. However when a USB cable is reconnected immediately, it fails. Decided to use "MASTER_RIGHT" to make it more reliable. -# define SPLIT_HAND_MATRIX_GRID B5, D0 -#endif - -/* COL2ROW, ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* - * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. - */ -#define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6 - -#define SPLIT_USB_DETECT - -//#define LED_NUM_LOCK_PIN B0 -//#define LED_CAPS_LOCK_PIN B1 -//#define LED_SCROLL_LOCK_PIN B2 -//#define LED_COMPOSE_PIN B3 -//#define LED_KANA_PIN B4 - -//#define BACKLIGHT_PIN B7 -//#define BACKLIGHT_LEVELS 3 -//#define BACKLIGHT_BREATHING - -#define RGB_DI_PIN D3 -//#ifdef RGB_DI_PIN -//# define RGBLED_NUM 16 -//# define RGBLIGHT_HUE_STEP 8 -//# define RGBLIGHT_SAT_STEP 8 -//# define RGBLIGHT_VAL_STEP 8 -//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ -//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ -/*== all animations enable ==*/ -//# define RGBLIGHT_ANIMATIONS -/*== or choose animations ==*/ -//# define RGBLIGHT_EFFECT_BREATHING -//# define RGBLIGHT_EFFECT_RAINBOW_MOOD -//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL -//# define RGBLIGHT_EFFECT_SNAKE -//# define RGBLIGHT_EFFECT_KNIGHT -//# define RGBLIGHT_EFFECT_CHRISTMAS -//# define RGBLIGHT_EFFECT_STATIC_GRADIENT -//# define RGBLIGHT_EFFECT_RGB_TEST -//# define RGBLIGHT_EFFECT_ALTERNATING -/*== customize breathing effect ==*/ -/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ -//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 -/*==== use exp() and sin() ====*/ -//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 -//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 -//#endif - -#ifdef RGB_MATRIX_ENABLE - -/* ws2812 RGB MATRIX */ -# define DRIVER_LED_TOTAL 76 - - // reacts to keypresses -# define RGB_MATRIX_KEYPRESSES - -// for all fingers used at once. -# define LED_HITS_TO_REMEMBER 10 - -# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 -# define RGB_MATRIX_STARTUP_SPD 127 -// the above brighness setting has no effect on rgb_matrix_set_color(). -// Use darker colors instead. -/* RGB darker COLORS */ -# define RGB_DARKWHITE 0x33, 0x33, 0x33 -# define RGB_DARKRED 0x33, 0x0, 0x0 -# define RGB_DARKCORAL 0x33, 0x18, 0xF -# define RGB_DARKORANGE 0x33, 0x19, 0x0 -# define RGB_DARKGOLDENROD 0x2B, 0x21, 0x6 -# define RGB_DARKGOLD 0x33, 0x2B, 0x0 -# define RGB_DARKYELLOW 0x33, 0x33, 0x0 -# define RGB_DARKCHARTREUSE 0x19, 0x33, 0x0 -# define RGB_DARKGREEN 0x0, 0x33, 0x0 -# define RGB_DARKSPRINGGREEN 0x0, 0x33, 0x19 -# define RGB_DARKTURQUOISE 0xE, 0x16, 0x15 -# define RGB_DARKTEAL 0x0, 0x19, 0x19 -# define RGB_DARKCYAN 0x0, 0x33, 0x33 -# define RGB_DARKAZURE 0x1E, 0x31, 0x33 -# define RGB_DARKBLUE 0x0, 0x0, 0x33 -# define RGB_DARKPURPLE 0x18, 0x0, 0x33 -# define RGB_DARKMAGENTA 0x33, 0x0, 0x33 -# define RGB_DARKPINK 0x33, 0x19, 0x26 - -// https://docs.qmk.fm/#/feature_rgb_matrix -// Enable suspend mode. -# define RGB_DISABLE_WHEN_USB_SUSPENDED true - -# ifdef CONSOLE_ENABLE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -# else -// #define ENABLE_RGB_MATRIX_ALPHAS_MODS -# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN -# define ENABLE_RGB_MATRIX_BREATHING -# define ENABLE_RGB_MATRIX_BAND_SAT -# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT -# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT -# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS -// #define ENABLE_RGB_MATRIX_TYPING_HEATMAP -# define ENABLE_RGB_MATRIX_DIGITAL_RAIN -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS -# define ENABLE_RGB_MATRIX_SPLASH -# define ENABLE_RGB_MATRIX_SOLID_SPLASH -// RAINDROPS don't match well with layer LED indicator (oc) using rgb_matrix_set_color(). -// #define ENABLE_RGB_MATRIX_RAINDROPS -// #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS -// Recommendend not to use these. -# ifndef VIA_ENABLE -# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT -# define ENABLE_RGB_MATRIX_BAND_VAL -# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL -# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL -# define ENABLE_RGB_MATRIX_CYCLE_ALL -# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN -# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON -# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN -# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL -# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL -# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL -# define ENABLE_RGB_MATRIX_DUAL_BEACON -# define ENABLE_RGB_MATRIX_RAINBOW_BEACON -# define ENABLE_RGB_MATRIX_HUE_BREATHING -# define ENABLE_RGB_MATRIX_HUE_PENDULUM -# define ENABLE_RGB_MATRIX_HUE_WAVE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS -# define ENABLE_RGB_MATRIX_MULTISPLASH -# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH -# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS -# endif -# endif // CONSOLE_ENABLE -#endif // RGB_MATRIX_ENABLE - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* define if matrix has ghost (lacks anti-ghosting diodes) */ -//#define MATRIX_HAS_GHOST - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -// #define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -// #define LOCKING_RESYNC_ENABLE - -/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. - * This is useful for the Windows task manager shortcut (ctrl+shift+esc). - */ -//#define GRAVE_ESC_CTRL_OVERRIDE - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER - -/* 2021/01/22 added to shrink firmware size */ -// NO_ACTION_TAPPING -1964 bytes, however, this disables Layer mods... -// #define NO_ACTION_TAPPING -// NO_ACTION_ONESHOT -388 bytes -#define NO_ACTION_ONESHOT - -/* Bootmagic Lite key configuration */ -//#define BOOTMAGIC_LITE_ROW 0 -//#define BOOTMAGIC_LITE_COLUMN 0 - -#ifdef MIDI_ENABLE -# define MIDI_ADVANCED -// Initial velocity value (avoid using 127 since it is used as a special number in some sound sources.) -# define MIDI_INITIAL_VELOCITY 117 -#endif // MIDI_ENABLE - -/* - * Encoder options - */ -#ifdef ENCODER_ENABLE -# define ENCODERS_PAD_A { } -# define ENCODERS_PAD_B { } -# define ENCODER_RESOLUTIONS { } -# define ENCODERS_PAD_A_RIGHT { F5 } -# define ENCODERS_PAD_B_RIGHT { F4 } -# define ENCODER_RESOLUTIONS_RIGHT { 4 } -# define TAP_CODE_DELAY 10 -#endif // ENCODER_ENABLE diff --git a/keyboards/bandominedoni/info.json b/keyboards/bandominedoni/info.json deleted file mode 100644 index f78621ec41..0000000000 --- a/keyboards/bandominedoni/info.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "keyboard_name": "bandominedoni", - "manufacturer": "3araht", - "url": "https://github.com/3araht", - "maintainer": "3araht", - "usb": { - "vid": "0xFEED", - "pid": "0xF4B5", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label": "l00", "x": 2, "y": 0.5}, - {"label": "l01", "x": 3, "y": 0.5}, - {"label": "l02", "x": 4, "y": 0.5}, - {"label": "l03", "x": 5, "y": 0.5}, - {"label": "l04", "x": 6, "y": 0.5}, - - {"label": "l10", "x": 0.5, "y": 1.5}, - {"label": "l11", "x": 1.5, "y": 1.5}, - {"label": "l12", "x": 2.5, "y": 1.5}, - {"label": "l13", "x": 3.5, "y": 1.5}, - {"label": "l14", "x": 4.5, "y": 1.5}, - {"label": "l15", "x": 5.5, "y": 1.5}, - {"label": "l16", "x": 6.5, "y": 1.5}, - - {"label": "l20", "x": 1, "y": 2.5}, - {"label": "l21", "x": 2, "y": 2.5}, - {"label": "l22", "x": 3, "y": 2.5}, - {"label": "l23", "x": 4, "y": 2.5}, - {"label": "l24", "x": 5, "y": 2.5}, - {"label": "l25", "x": 6, "y": 2.5}, - {"label": "l26", "x": 7, "y": 2.5}, - - {"label": "l30", "x": 0.5, "y": 3.5}, - {"label": "l31", "x": 1.5, "y": 3.5}, - {"label": "l32", "x": 2.5, "y": 3.5}, - {"label": "l33", "x": 3.5, "y": 3.5}, - {"label": "l34", "x": 4.5, "y": 3.5}, - {"label": "l35", "x": 5.5, "y": 3.5}, - {"label": "l36", "x": 6.5, "y": 3.5}, - - {"label": "l40", "x": 0, "y": 4.5}, - {"label": "l41", "x": 1, "y": 4.5}, - {"label": "l42", "x": 2, "y": 4.5}, - {"label": "l43", "x": 3, "y": 4.5}, - {"label": "l44", "x": 4, "y": 4.5}, - {"label": "l45", "x": 5, "y": 4.5}, - {"label": "l46", "x": 6, "y": 4.5}, - {"label": "l47", "x": 7, "y": 4.5}, - - {"label": "oc", "x": 9, "y": 0}, - - {"label": "r00", "x": 11.5, "y": 0}, - {"label": "r01", "x": 12.5, "y": 0}, - {"label": "r02", "x": 13.5, "y": 0}, - {"label": "r03", "x": 14.5, "y": 0}, - - {"label": "fn", "x": 17, "y": 0}, - - {"label": "r10", "x": 11, "y": 1}, - {"label": "r11", "x": 12, "y": 1}, - {"label": "r12", "x": 13, "y": 1}, - {"label": "r13", "x": 14, "y": 1}, - {"label": "r14", "x": 15, "y": 1}, - - {"label": "r20", "x": 10.5, "y": 2}, - {"label": "r21", "x": 11.5, "y": 2}, - {"label": "r22", "x": 12.5, "y": 2}, - {"label": "r23", "x": 13.5, "y": 2}, - {"label": "r24", "x": 14.5, "y": 2}, - {"label": "r25", "x": 15.5, "y": 2}, - - {"label": "r30", "x": 9, "y": 3}, - {"label": "r31", "x": 10, "y": 3}, - {"label": "r32", "x": 11, "y": 3}, - {"label": "r33", "x": 12, "y": 3}, - {"label": "r34", "x": 13, "y": 3}, - {"label": "r35", "x": 14, "y": 3}, - {"label": "r36", "x": 15, "y": 3}, - {"label": "r37", "x": 16, "y": 3}, - - {"label": "r40", "x": 9.5, "y": 4}, - {"label": "r41", "x": 10.5, "y": 4}, - {"label": "r42", "x": 11.5, "y": 4}, - {"label": "r43", "x": 12.5, "y": 4}, - {"label": "r44", "x": 13.5, "y": 4}, - {"label": "r45", "x": 14.5, "y": 4}, - {"label": "r46", "x": 15.5, "y": 4}, - {"label": "r47", "x": 16.5, "y": 4}, - - {"label": "r50", "x": 9, "y": 5}, - {"label": "r51", "x": 10, "y": 5}, - {"label": "r52", "x": 11, "y": 5}, - {"label": "r53", "x": 12, "y": 5}, - {"label": "r54", "x": 13, "y": 5}, - {"label": "r55", "x": 14, "y": 5}, - {"label": "r56", "x": 15, "y": 5}, - {"label": "r57", "x": 16, "y": 5}, - {"label": "r58", "x": 17, "y": 5} - ] - } - } -} diff --git a/keyboards/bandominedoni/keymaps/default/keymap.c b/keyboards/bandominedoni/keymaps/default/keymap.c deleted file mode 100644 index 90e3f3417e..0000000000 --- a/keyboards/bandominedoni/keymaps/default/keymap.c +++ /dev/null @@ -1,107 +0,0 @@ -/* Copyright 2021 3araht - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H -#include "version.h" - -// Defines names for use in layer keycodes and the keymap -enum layer_names { -#ifndef PEDAL_NORMALLY_CLOSED - _OPEN, -#endif - _CLOSE, -#ifdef PEDAL_NORMALLY_CLOSED - _OPEN, -#endif - _FN -}; - -enum custom_keycodes { - VERSION = SAFE_RANGE -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_OPEN] = LAYOUT( - MI_Gs_1, MI_As_1, MI_Cs_2, MI_F_2, MI_Gs_3, - MI_E_1, MI_A_1, MI_G_2, MI_Ds_2, MI_F_3, MI_As_2, MI_F_1, - MI_D_2, MI_A_2, MI_C_3, MI_E_3, MI_C_2, MI_G_1, TG_SWAP, - MI_E_2, MI_Gs_2, MI_B_2, MI_D_3, MI_Fs_3, MI_Cs_3, MI_Fs_1, - MI_D_1, MI_B_1, MI_G_3, MI_A_3, MI_Ds_3, MI_Fs_2, MI_Ds_1, MI_C_1, - - MO_SWAP, MI_B_5, MI_Gs_5, MI_G_5, MI_F_5, FN_MUTE, - MI_Cs_3, MI_A_5, MI_Fs_5, MI_E_5, MI_Ds_5, - MI_C_3, MI_D_3, MI_G_3, MI_As_4, MI_C_5, MI_D_5, - TG_SWAP, MI_B_2, MI_E_3, MI_Cs_4, MI_Fs_3, MI_A_3, MI_C_4, MI_E_4, - MI_A_2, MI_F_3, MI_As_3, MI_Gs_3, MI_B_3, MI_D_4, MI_Gs_4, MI_B_4, - MI_Gs_2, MI_As_2, MI_Ds_3, MI_F_4, MI_Ds_4, MI_Fs_4, MI_A_4, MI_Cs_5, MI_G_4 - ), - - [_CLOSE] = LAYOUT( - MI_Gs_1, MI_As_1, MI_Ds_2, MI_Ds_3, MI_G_3, - MI_D_1, MI_D_2, MI_As_2, MI_C_3, MI_Cs_2, MI_C_2, MI_Fs_1, - MI_G_1, MI_G_2, MI_B_2, MI_D_3, MI_F_3, MI_Fs_2, TG_SWAP, - MI_A_1, MI_E_2, MI_A_2, MI_Cs_3, MI_E_3, MI_Gs_2, MI_B_1, - MI_E_1, MI_E_2, MI_Fs_3, MI_Gs_3, MI_B_3, MI_F_2, MI_Cs_1, MI_F_1, - - MO_SWAP, MI_A_5, MI_Gs_5, MI_Fs_5, MI_F_5, FN_MUTE, - MI_C_3, MI_G_5, MI_As_4, MI_C_5, MI_Ds_5, - MI_D_3, MI_Cs_3, MI_Gs_3, MI_As_3, MI_C_4, MI_D_5, - TG_SWAP, MI_B_2, MI_Fs_3, MI_Fs_4, MI_G_3, MI_B_3, MI_D_4, MI_G_4, - MI_A_2, MI_F_3, MI_E_3, MI_A_3, MI_Cs_4, MI_E_4, MI_A_4, MI_Cs_5, - MI_Gs_2, MI_As_2, MI_Ds_3, MI_F_4, MI_E_4, MI_Gs_4, MI_B_4, MI_E_5, MI_Ds_4 - ), - - [_FN] = LAYOUT( - DF_SWAP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - - _______, MI_OCTD, MI_OCTU, MI_VELD, MI_VELU, _______, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, VERSION, - _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, - XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX - ) -}; - -#if defined(ENCODER_MAP_ENABLE) -const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = { - [_OPEN] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_CLOSE] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, - [_FN] = { ENCODER_CCW_CW(_______, _______) }, -}; -#endif - -void keyboard_post_init_user(void) { - // Set octave to MI_OCT_0 - midi_config.octave = MI_OCT_0 - MIDI_OCTAVE_MIN; - - // avoid using 127 since it is used as a special number in some sound sources. - midi_config.velocity = MIDI_INITIAL_VELOCITY; -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case VERSION: // Output firmware info. - if (record->event.pressed) { - SEND_STRING(QMK_KEYBOARD ":" QMK_KEYMAP " @ " QMK_VERSION " | " QMK_BUILDDATE); - } - break; - } - return true; -} diff --git a/keyboards/bandominedoni/keymaps/default/readme.md b/keyboards/bandominedoni/keymaps/default/readme.md deleted file mode 100644 index e6ec2ad10d..0000000000 --- a/keyboards/bandominedoni/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for bandominedoni diff --git a/keyboards/bandominedoni/keymaps/default/rules.mk b/keyboards/bandominedoni/keymaps/default/rules.mk deleted file mode 100644 index 8006608ea9..0000000000 --- a/keyboards/bandominedoni/keymaps/default/rules.mk +++ /dev/null @@ -1 +0,0 @@ -ENCODER_MAP_ENABLE = yes # replacing ENCODERS_CW_KEY method to this on 2022/08/31. diff --git a/keyboards/bandominedoni/keymaps/led/config.h b/keyboards/bandominedoni/keymaps/led/config.h deleted file mode 100644 index 04bd66bf1a..0000000000 --- a/keyboards/bandominedoni/keymaps/led/config.h +++ /dev/null @@ -1,18 +0,0 @@ -/* Copyright 2021 3araht - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - #pragma once - -#define DYNAMIC_KEYMAP_LAYER_COUNT 6 diff --git a/keyboards/bandominedoni/keymaps/led/keymap.c b/keyboards/bandominedoni/keymaps/led/keymap.c deleted file mode 100644 index 8659697a91..0000000000 --- a/keyboards/bandominedoni/keymaps/led/keymap.c +++ /dev/null @@ -1,254 +0,0 @@ -/* Copyright 2021 3araht - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H -#include "version.h" - -#define DF_COLE DF(_COLEMAK) - -#define _________________QWERTY_L1_________________ KC_Q, KC_W, KC_E, KC_R, KC_T -#define _________________QWERTY_L2_________________ KC_A, KC_S, KC_D, KC_F, KC_G -#define _________________QWERTY_L3_________________ KC_Z, KC_X, KC_C, KC_V, KC_B - -#define _________________QWERTY_R1_________________ KC_Y, KC_U, KC_I, KC_O, KC_P -#define _________________QWERTY_R2_________________ KC_H, KC_J, KC_K, KC_L, KC_SCLN -#define _________________QWERTY_R3_________________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH - -#define _________________COLEMAK_L1________________ KC_Q, KC_W, KC_F, KC_P, KC_G -#define _________________COLEMAK_L2________________ KC_A, KC_R, KC_S, KC_T, KC_D -#define _________________COLEMAK_L3________________ KC_Z, KC_X, KC_C, KC_V, KC_B - -#define _________________COLEMAK_R1________________ KC_J, KC_L, KC_U, KC_Y, KC_SCLN -#define _________________COLEMAK_R2________________ KC_H, KC_N, KC_E, KC_I, KC_O -#define _________________COLEMAK_R3________________ KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH - -#define _________________NUMBER_L________ |