diff options
Diffstat (limited to 'keyboards/handwired/6key')
-rw-r--r-- | keyboards/handwired/6key/6key.c | 24 | ||||
-rw-r--r-- | keyboards/handwired/6key/6key.h | 27 | ||||
-rw-r--r-- | keyboards/handwired/6key/config.h | 33 | ||||
-rw-r--r-- | keyboards/handwired/6key/info.json | 19 | ||||
-rw-r--r-- | keyboards/handwired/6key/keymaps/default/keymap.c | 32 | ||||
-rw-r--r-- | keyboards/handwired/6key/keymaps/via/keymap.c | 35 | ||||
-rw-r--r-- | keyboards/handwired/6key/keymaps/via/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/handwired/6key/readme.md | 13 | ||||
-rw-r--r-- | keyboards/handwired/6key/rules.mk | 19 |
9 files changed, 0 insertions, 204 deletions
diff --git a/keyboards/handwired/6key/6key.c b/keyboards/handwired/6key/6key.c deleted file mode 100644 index 22c766a30f..0000000000 --- a/keyboards/handwired/6key/6key.c +++ /dev/null @@ -1,24 +0,0 @@ - /* Copyright 2020 Bratzworth - * - * 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 "6key.h" - -bool dip_switch_update_kb(uint8_t index, bool active) { - if (!dip_switch_update_user(index, active)) { return false; } - if (index == 0) { - default_layer_set(1UL << (active ? 1 : 0)); - } - return true; -} diff --git a/keyboards/handwired/6key/6key.h b/keyboards/handwired/6key/6key.h deleted file mode 100644 index f63abc35d2..0000000000 --- a/keyboards/handwired/6key/6key.h +++ /dev/null @@ -1,27 +0,0 @@ - /* Copyright 2020 Bratzworth - * - * 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" - -#define LAYOUT( \ - k00, k01, k02, \ - k03, k04, k05 \ -) \ -{ \ - { k00, k01, k02 }, \ - { k03, k04, k05 } \ -} diff --git a/keyboards/handwired/6key/config.h b/keyboards/handwired/6key/config.h deleted file mode 100644 index 42d7a5cb32..0000000000 --- a/keyboards/handwired/6key/config.h +++ /dev/null @@ -1,33 +0,0 @@ - /* Copyright 2020 Bratzworth - * - * 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 2 -#define MATRIX_COLS 3 - -/* pin-out */ -#define MATRIX_ROW_PINS { B4, D0 } -#define MATRIX_COL_PINS { D3, D2, D1 } - -/* dip switch */ -#define DIP_SWITCH_PINS { C6 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW diff --git a/keyboards/handwired/6key/info.json b/keyboards/handwired/6key/info.json deleted file mode 100644 index b069f067c5..0000000000 --- a/keyboards/handwired/6key/info.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "keyboard_name": "6key", - "manufacturer": "bratzworth", - "url": "https://github.com/Bratzworth/6key", - "maintainer": "bratzworth", - "usb": { - "vid": "0xD143", - "pid": "0x0007", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, - {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1} - ] - } - } - } diff --git a/keyboards/handwired/6key/keymaps/default/keymap.c b/keyboards/handwired/6key/keymaps/default/keymap.c deleted file mode 100644 index ab93024064..0000000000 --- a/keyboards/handwired/6key/keymaps/default/keymap.c +++ /dev/null @@ -1,32 +0,0 @@ - /* Copyright 2020 Bratzworth - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ -#include QMK_KEYBOARD_H - -enum layers{ - _MAIN, - _FN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [_MAIN] = LAYOUT( - KC_Z, KC_Y, KC_A, - KC_C, KC_D, KC_S - ), - [_FN] = LAYOUT( - KC_F13, KC_F14, KC_F15, - KC_F16, KC_F17, KC_F18 - ) -}; diff --git a/keyboards/handwired/6key/keymaps/via/keymap.c b/keyboards/handwired/6key/keymaps/via/keymap.c deleted file mode 100644 index 4e1922da56..0000000000 --- a/keyboards/handwired/6key/keymaps/via/keymap.c +++ /dev/null @@ -1,35 +0,0 @@ - /* Copyright 2022 Bratzworth - * - * 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 - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( - LCTL(KC_Z), LCTL(KC_Y), KC_A, - KC_C, KC_D, KC_S - ), - [1] = LAYOUT( - KC_F13, KC_F14, KC_F15, - KC_F16, KC_F17, KC_F18 - ), - [2] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT( - KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/handwired/6key/keymaps/via/rules.mk b/keyboards/handwired/6key/keymaps/via/rules.mk deleted file mode 100644 index 36b7ba9cbc..0000000000 --- a/keyboards/handwired/6key/keymaps/via/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -VIA_ENABLE = yes -LTO_ENABLE = yes diff --git a/keyboards/handwired/6key/readme.md b/keyboards/handwired/6key/readme.md deleted file mode 100644 index ce647d7458..0000000000 --- a/keyboards/handwired/6key/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# 6key - -A 6-key macropad made by Bratzworth. - -* Keyboard Maintainer: [bratzworth](https://github.com/Bratzworth) -* Hardware Supported: Pro Micro ATmega32U4, Teensy 2.0 -* Hardware Availability: [bratzworth](https://github.com/Bratzworth/6key) - -Make example for this keyboard (after setting up your build environment): - - make handwired/6key:default - -See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/handwired/6key/rules.mk b/keyboards/handwired/6key/rules.mk deleted file mode 100644 index 3cb12386cc..0000000000 --- a/keyboards/handwired/6key/rules.mk +++ /dev/null @@ -1,19 +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 = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -AUDIO_ENABLE = no # Audio output -DIP_SWITCH_ENABLE = yes |