diff options
Diffstat (limited to 'keyboards/ferris/sweep')
-rw-r--r-- | keyboards/ferris/sweep/config.h | 57 | ||||
-rw-r--r-- | keyboards/ferris/sweep/info.json | 9 | ||||
-rw-r--r-- | keyboards/ferris/sweep/readme.md | 68 | ||||
-rw-r--r-- | keyboards/ferris/sweep/rules.mk | 21 | ||||
-rw-r--r-- | keyboards/ferris/sweep/sweep.c | 33 | ||||
-rw-r--r-- | keyboards/ferris/sweep/sweep.h | 48 |
6 files changed, 0 insertions, 236 deletions
diff --git a/keyboards/ferris/sweep/config.h b/keyboards/ferris/sweep/config.h deleted file mode 100644 index 1708ec6e2b..0000000000 --- a/keyboards/ferris/sweep/config.h +++ /dev/null @@ -1,57 +0,0 @@ -/* Copyright 2018-2020 -ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> -David Philip Barr <@davidphilipbarr> -Pierre Chevalier <pierrechevalier83@gmail.com> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 8 -#define MATRIX_COLS 5 - -#define DIRECT_PINS { \ - { E6, F7, F6, F5, F4 }, \ - { B1, B3, B2, B6, D3 }, \ - { D1, D0, D4, C6, D7 }, \ - { B4, B5, NO_PIN, NO_PIN, NO_PIN } \ -} - -#define DIRECT_PINS_RIGHT { \ - { F4, F5, F6, F7, E6 }, \ - { D3, B6, B2, B3, B1 }, \ - { D7, C6, D4, D0, D1 }, \ - { B5, B4, NO_PIN, NO_PIN, NO_PIN } \ -} - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* Serial settings */ -#define USE_SERIAL -/* serial.c configuration for split keyboard */ -#define SOFT_SERIAL_PIN D2 - -#define EE_HANDS - -/* Top left key on left half */ -#define BOOTMAGIC_LITE_ROW 0 -#define BOOTMAGIC_LITE_COLUMN 0 -/* Top right key on right half */ -#define BOOTMAGIC_LITE_ROW_RIGHT 4 -#define BOOTMAGIC_LITE_COLUMN_RIGHT 4 diff --git a/keyboards/ferris/sweep/info.json b/keyboards/ferris/sweep/info.json deleted file mode 100644 index fc53028c34..0000000000 --- a/keyboards/ferris/sweep/info.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "keyboard_name": "Ferris sweep", - "manufacturer": "DPB", - "usb": { - "vid": "0xC2AB", - "pid": "0x3939", - "device_version": "0.0.1" - } -} diff --git a/keyboards/ferris/sweep/readme.md b/keyboards/ferris/sweep/readme.md deleted file mode 100644 index b6dd436a8b..0000000000 --- a/keyboards/ferris/sweep/readme.md +++ /dev/null @@ -1,68 +0,0 @@ -# Ferris sweep - -![Ferris sweep, top view](https://i.imgur.com/5qCZUv6h.jpg) -![Ferris sweep, bottom view](https://i.imgur.com/ZC47CJth.jpg) - -A version of the Ferris keyboard that uses a daughterboard, designed by the fantastic @davidphilipbarr with some input from @pierrechevalier83 for the copper pad. All PCB files are available on the [project's github page](https://github.com/davidphilipbarr/Sweep) - -## Keyboard Info - -* Keyboard Maintainer: [Pierre Chevalier](https://github.com/pierrechevalier83) -* Hardware Supported: [Sweep](https://github.com/davidphilipbarr/Sweep) (all versions) -* Hardware Availability: Print the PCB with gerber files from the repository - -Make example for this keyboard (after setting up your build environment): - - make ferris/sweep:default - -See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). - -## Setting Handedness - -Firmware uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default and it must be *configured once* on each side. The make commands for Pro micros are: - - make ferris/sweep:default:avrdude-split-left - make ferris/sweep:default:avrdude-split-right - -For Elite-C or compatible controllers using `DFU` bootloader, add the line `BOOTLOADER = atmel-dfu` into the user keymap `rules.mk` file and use the following make commands: - - make ferris/sweep:default:dfu-split-left - make ferris/sweep:default:dfu-split-right - -[QMK Toolbox](http://qmk.fm/toolbox) can also be used to set EEPROM handedness. Place the controller in bootloader mode and select menu option Tools -> EEPROM -> Set Left/Right Hand - -### RP2040 Controllers - -Pro Micro RP2040 controllers are supported with [QMK Converters](https://docs.qmk.fm/#/feature_converters). The make command example with handedness setting for Adafruit's KB2040 are: - - make CONVERT_TO=kb2040 ferris/sweep:default:uf2-split-left - make CONVERT_TO=kb2040 ferris/sweep:default:uf2-split-right - -## Bootloader - -Enter the bootloader in 3 ways: - -* **Bootmagic reset**: Hold down the top left key on the left half (or the top right key on the right half) and plug in the controller on that side. -* **Physical reset button**: Briefly press the reset button soldered on the PCB. -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is configured. - -## Swapped Pins - -If you printed one of the PCB variant with swapped letters `Q` and `B` / `P` and `N`, add the following code to your keymap's `config.h` to swap pins `E6` and `D7` in the firmware: -```c -#undef DIRECT_PINS -#define DIRECT_PINS { \ - { D7, F7, F6, F5, F4 }, \ - { B1, B3, B2, B6, D3 }, \ - { D1, D0, D4, C6, E6 }, \ - { B4, B5, NO_PIN, NO_PIN, NO_PIN } \ -} -#undef DIRECT_PINS_RIGHT -#define DIRECT_PINS_RIGHT { \ - { F4, F5, F6, F7, D7 }, \ - { D3, B6, B2, B3, B1 }, \ - { E6, C6, D4, D0, D1 }, \ - { B5, B4, NO_PIN, NO_PIN, NO_PIN } \ -} -``` - diff --git a/keyboards/ferris/sweep/rules.mk b/keyboards/ferris/sweep/rules.mk deleted file mode 100644 index ffc17739f7..0000000000 --- a/keyboards/ferris/sweep/rules.mk +++ /dev/null @@ -1,21 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -UNICODE_ENABLE = yes # Unicode -AUDIO_ENABLE = no # Audio output -SPLIT_KEYBOARD = yes # Use shared split_common code -LAYOUTS = split_3x5_2 diff --git a/keyboards/ferris/sweep/sweep.c b/keyboards/ferris/sweep/sweep.c deleted file mode 100644 index 98467f18ae..0000000000 --- a/keyboards/ferris/sweep/sweep.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include "sweep.h" - -#ifdef SWAP_HANDS_ENABLE -__attribute__ ((weak)) -const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { - // Left - {{4, 4}, {3, 4}, {2, 4}, {1, 4}, {0, 4}}, - {{4, 5}, {3, 5}, {2, 5}, {1, 5}, {0, 5}}, - {{4, 6}, {3, 6}, {2, 6}, {1, 6}, {0, 6}}, - {{1, 7}, {0, 7}, {2, 7}, {3, 7}, {4, 7}}, - // Right - {{4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}}, - {{4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}}, - {{4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}}, - {{1, 3}, {0, 3}, {2, 3}, {3, 3}, {4, 3}} -}; -#endif - diff --git a/keyboards/ferris/sweep/sweep.h b/keyboards/ferris/sweep/sweep.h deleted file mode 100644 index ebfa4ede1d..0000000000 --- a/keyboards/ferris/sweep/sweep.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#include "quantum.h" - -/* This 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. - */ - -// readability -#define ___ KC_NO - -#define LAYOUT_split_3x5_2( \ - L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \ - L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \ - L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \ - L16, L17, R16, R17 \ - ) \ - { \ - { L01, L02, L03, L04, L05 }, \ - { L06, L07, L08, L09, L10 }, \ - { L11, L12, L13, L14, L15 }, \ - { L16, L17, ___, ___ , ___}, \ - { R01, R02, R03, R04, R05 }, \ - { R06, R07, R08, R09, R10 }, \ - { R11, R12, R13, R14, R15 }, \ - { R16, R17, ___, ___, ___ } \ - } - -#define LAYOUT LAYOUT_split_3x5_2 |