summaryrefslogtreecommitdiff
path: root/keyboards/massdrop/thekey
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-05-25 23:08:12 +0100
committerGitHub <noreply@github.com>2023-05-25 23:08:12 +0100
commitb2e5017e74f22ea38a3a12e8b4a672ae7a077727 (patch)
tree3e4d30e82bbc7849ad9fd6941e64c1807836fdfb /keyboards/massdrop/thekey
parent873922d98fea19f872ed8c5c79a20ed575ccff44 (diff)
Move `thekey` to Drop vendor folder (#21032)
Diffstat (limited to 'keyboards/massdrop/thekey')
-rw-r--r--keyboards/massdrop/thekey/config.h24
-rw-r--r--keyboards/massdrop/thekey/info.json33
-rw-r--r--keyboards/massdrop/thekey/keymaps/default-bepo/keymap.c24
-rw-r--r--keyboards/massdrop/thekey/keymaps/default-macos/keymap.c23
-rw-r--r--keyboards/massdrop/thekey/keymaps/default/keymap.c23
-rw-r--r--keyboards/massdrop/thekey/keymaps/url-copy-paste-bepo/keymap.c41
-rw-r--r--keyboards/massdrop/thekey/keymaps/url-copy-paste-macos/keymap.c39
-rw-r--r--keyboards/massdrop/thekey/keymaps/url-copy-paste/keymap.c40
-rw-r--r--keyboards/massdrop/thekey/readme.md38
-rw-r--r--keyboards/massdrop/thekey/rules.mk12
10 files changed, 0 insertions, 297 deletions
diff --git a/keyboards/massdrop/thekey/config.h b/keyboards/massdrop/thekey/config.h
deleted file mode 100644
index 31d395f570..0000000000
--- a/keyboards/massdrop/thekey/config.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Copyright 2021 Joe Maples <joe@maples.dev>
- *
- * 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 RGBLED_NUM 2
-#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 */
diff --git a/keyboards/massdrop/thekey/info.json b/keyboards/massdrop/thekey/info.json
deleted file mode 100644
index 73b640b11c..0000000000
--- a/keyboards/massdrop/thekey/info.json
+++ /dev/null
@@ -1,33 +0,0 @@
-{
- "keyboard_name": "The Key",
- "manufacturer": "Drop",
- "url": "https://drop.com/buy/stack-overflow-the-key-macropad",
- "maintainer": "massdrop",
- "usb": {
- "vid": "0xFEED",
- "pid": "0x0000",
- "device_version": "0.0.1"
- },
- "matrix_pins": {
- "cols": ["D2", "D1", "D0"],
- "rows": ["D4"]
- },
- "diode_direction": "ROW2COL",
- "backlight": {
- "pin": "B6"
- },
- "ws2812": {
- "pin": "B1"
- },
- "processor": "atmega32u4",
- "bootloader": "atmel-dfu",
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"matrix": [0, 0], "x": 0, "y": 0},
- {"matrix": [0, 1], "x": 1, "y": 0},
- {"matrix": [0, 2], "x": 2, "y": 0}
- ]
- }
- }
-}
diff --git a/keyboards/massdrop/thekey/keymaps/default-bepo/keymap.c b/keyboards/massdrop/thekey/keymaps/default-bepo/keymap.c
deleted file mode 100644
index b9d419a086..0000000000
--- a/keyboards/massdrop/thekey/keymaps/default-bepo/keymap.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/* Copyright 2022 Benjamin Collet <benjamin.collet@protonmail.ch>
- *
- * 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 "keymap_bepo.h"
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
-
- [0] = LAYOUT(KC_LCTL, BP_C, BP_V),
-
-};
diff --git a/keyboards/massdrop/thekey/keymaps/default-macos/keymap.c b/keyboards/massdrop/thekey/keymaps/default-macos/keymap.c
deleted file mode 100644
index 7e389e304e..0000000000
--- a/keyboards/massdrop/thekey/keymaps/default-macos/keymap.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Joe Maples <joe@maples.dev>
- *
- * 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(KC_LGUI, KC_C, KC_V),
-
-};
diff --git a/keyboards/massdrop/thekey/keymaps/default/keymap.c b/keyboards/massdrop/thekey/keymaps/default/keymap.c
deleted file mode 100644
index 047def84b6..0000000000
--- a/keyboards/massdrop/thekey/keymaps/default/keymap.c
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Joe Maples <joe@maples.dev>
- *
- * 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(KC_LCTL, KC_C, KC_V),
-
-};
diff --git a/keyboards/massdrop/thekey/keymaps/url-copy-paste-bepo/keymap.c b/keyboards/massdrop/thekey/keymaps/url-copy-paste-bepo/keymap.c
deleted file mode 100644
index feafa02ac2..0000000000
--- a/keyboards/massdrop/thekey/keymaps/url-copy-paste-bepo/keymap.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/* Copyright 2022 Benjamin Collet <benjamin.collet@protonmail.ch>
- *
- * 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 "sendstring_bepo.h"
-
-enum custom_keycodes {
- TK_URL = SAFE_RANGE,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(TK_URL, C(BP_C), C(BP_V)),
-};
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case TK_URL:
- if (record->event.pressed) {
- // when keycode TK_URL is pressed
- SEND_STRING("https://stackoverflow.com/");
- }
- break;
- default:
- break;
- }
- return true;
-}
diff --git a/keyboards/massdrop/thekey/keymaps/url-copy-paste-macos/keymap.c b/keyboards/massdrop/thekey/keymaps/url-copy-paste-macos/keymap.c
deleted file mode 100644
index 57382dfc5f..0000000000
--- a/keyboards/massdrop/thekey/keymaps/url-copy-paste-macos/keymap.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* Copyright 2021 Joe Maples <joe@maples.dev>
- *
- * 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 custom_keycodes {
- TK_URL = SAFE_RANGE,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(TK_URL, G(KC_C), G(KC_V)),
-};
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case TK_URL:
- if (record->event.pressed) {
- // when keycode TK_URL is pressed
- SEND_STRING("https://stackoverflow.com/\n");
- }
- break;
- default:
- break;
- }
- return true;
-}
diff --git a/keyboards/massdrop/thekey/keymaps/url-copy-paste/keymap.c b/keyboards/massdrop/thekey/keymaps/url-copy-paste/keymap.c
deleted file mode 100644
index 18778d1946..0000000000
--- a/keyboards/massdrop/thekey/keymaps/url-copy-paste/keymap.c
+++ /dev/null
@@ -1,40 +0,0 @@
-/* Copyright 2021 Joe Maples <joe@maples.dev>
- *
- * 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 custom_keycodes {
- TK_URL = SAFE_RANGE,
-};
-
-const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = LAYOUT(TK_URL, C(KC_C), C(KC_V)),
-};
-
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- switch (keycode) {
- case TK_URL:
- if (record->event.pressed) {
- // when keycode TK_URL is pressed
- SEND_STRING("https://stackoverflow.com/");
- }
- break;
- default:
- break;
- }
- return true;
-}
diff --git a/keyboards/massdrop/thekey/readme.md b/keyboards/massdrop/thekey/readme.md
deleted file mode 100644
index 74eab45f5e..0000000000
--- a/keyboards/massdrop/thekey/readme.md
+++ /dev/null
@@ -1,38 +0,0 @@
-# The Key
-
-![The Key](https://i.imgur.com/hL5cRj9.jpg)
-
-
-The Stack Overflow "The Key" is a 3 button macropad based on atmega32u4 with Kailh Black Box switches.
-
-> Some say a programmer’s best solution is a simple two-step process: copy and paste. On April 1st, 2021, Stack Overflow proved it. On that fateful day, each time users went to copy a piece of code, they were met with a pop-up for a fake product. It was called The Key: an ultra-compact macropad advertised as the new (and only) way to copy and paste on the platform. As it turns out, roughly one fourth of Stack Overflow’s 15 million users tries to copy and paste within five minutes of visiting the site. An even greater number saw the joke and loved it, with many demanding that The Key be developed in earnest. So, naturally, we teamed up with Stack Overflow to make it happen. What started as an April Fool’s gag is now a full-fledged macropad—designed by our very own community member Cassidy, with a portion of proceeds benefiting digitalundivided.
-
-Keyboard Maintainer: [Drop / Massdrop](https://github.com/Massdrop/qmk_firmware)
-
-Hardware Supported: Massdrop, Inc. **The Key**
-
-Hardware Availability: Limited Release - https://drop.com/buy/stack-overflow-the-key-macropad
-
-
-Make example for this keyboard (after setting up your build environment):
-```bash
-# default provided by Drop / Stack Overflow
-make massdrop/thekey:default
-# common modification where C = CTRL+C, V = CTRL+V
-make massdrop/thekey:url-copy-paste
-```
-
-Flashing example for this keyboard:
-```bash
-# install in dfu mode
-make massdrop/thekey:default:dfu
-```
-
-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).
-Make example for this keyboard (after setting up your build environment):
-
-## Bootloader
-
-Enter the bootloader as follows:
-* **Bootmagic reset**: Hold down the "Stack Overflow" key, the "left-most" or furthest from the USB plug while inserting the USB cable for a few seconds. The LEDs will **NOT** turn on.
-* **Physical reset button**: Briefly press and hold the reset button while pluggin in the USB port. The LEDs on the back will **NOT** turn on. Depending on your case revision, you may have to remove the 4 screws on the back plate to access the switch OR you can use the associated access hole on newer releases.
diff --git a/keyboards/massdrop/thekey/rules.mk b/keyboards/massdrop/thekey/rules.mk
deleted file mode 100644
index b7e8d8e706..0000000000
--- a/keyboards/massdrop/thekey/rules.mk
+++ /dev/null
@@ -1,12 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output