Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move thekey to Drop vendor folder #21032

Merged
merged 3 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions data/mappings/keyboard_aliases.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,12 @@
"m3n3van": {
"target": "matthewdias/m3n3van"
},
"massdrop/thekey": {
"target": "drop/thekey/v1"
},
"massdrop/thekey_v2": {
"target": "drop/thekey/v2"
},
"mechmini/v1": {
"target": "mechkeys/mechmini/v1"
},
Expand Down
7 changes: 7 additions & 0 deletions keyboards/drop/thekey/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2023 Massdrop, Inc.
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(KC_LCTL, KC_C, KC_V)
};
7 changes: 7 additions & 0 deletions keyboards/drop/thekey/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright 2023 Massdrop, Inc.
// SPDX-License-Identifier: GPL-2.0-or-later
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(KC_LCTL, KC_C, KC_V)
};
1 change: 1 addition & 0 deletions keyboards/drop/thekey/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
59 changes: 59 additions & 0 deletions keyboards/drop/thekey/v1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"keyboard_name": "The Key",
"manufacturer": "Drop Inc.",
"url": "https://drop.com/buy/stack-overflow-the-key-macropad",
"maintainer": "zvecr",
"usb": {
"vid": "0x359B",
"pid": "0x0002",
"device_version": "1.0.0"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"backlight": true,
"rgblight": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {
"cols": ["D2", "D1", "D0"],
"rows": ["D4"]
},
"diode_direction": "ROW2COL",
"backlight": {
"pin": "B6",
"breathing": true
},
"rgblight": {
"led_count": 2,
"sleep": true,
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": true,
"snake": true,
"static_gradient": true,
"twinkle": true
}
},
"ws2812": {
"pin": "B1"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,31 @@

![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

* Keyboard Maintainer: [zvecr](https://github.com/zvecr)
* Hardware Supported: Drop **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
```

# default provided by Drop / Stack Overflow
make drop/thekey/v1:default
# common modification where C = CTRL+C, V = CTRL+V
make drop/thekey/v1:url-copy-paste

Flashing example for this keyboard:
```bash
# install in dfu mode
make massdrop/thekey:default:dfu
```

make drop/thekey/v1:default:flash

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:
Enter the bootloader in 3 ways:

* **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.
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
1 change: 1 addition & 0 deletions keyboards/drop/thekey/v1/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
5 changes: 5 additions & 0 deletions keyboards/drop/thekey/v2/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Copyright 2023 Massdrop, Inc.
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once

#define RGBLIGHT_LED_MAP {4, 0, 1, 2, 3}
54 changes: 54 additions & 0 deletions keyboards/drop/thekey/v2/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"keyboard_name": "The Key V2",
"manufacturer": "Drop Inc.",
"url": "https://drop.com/buy/stack-overflow-the-key-v2-macropad",
"maintainer": "zvecr",
"usb": {
"vid": "0x359B",
"pid": "0x000E",
"device_version": "2.0.0"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"rgblight": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {
"cols": ["D2", "D1", "D0"],
"rows": ["D4"]
},
"diode_direction": "ROW2COL",
"rgblight": {
"led_count": 5,
"sleep": true,
"animations": {
"alternating": true,
"breathing": true,
"christmas": true,
"knight": true,
"rainbow_mood": true,
"rainbow_swirl": true,
"rgb_test": true,
"snake": true,
"static_gradient": true,
"twinkle": true
}
},
"ws2812": {
"pin": "B1"
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0, "y": 0},
{"matrix": [0, 1], "x": 1, "y": 0},
{"matrix": [0, 2], "x": 2, "y": 0}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#pragma once

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT(KC_LCTL, KC_C, KC_V),

};
#define RGBLIGHT_LAYERS /* Enable lighting layers */
#define RGBLIGHT_LAYER_BLINK /* Enable lighting layer blink */
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H
#pragma once

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {

[0] = LAYOUT(KC_LGUI, KC_C, KC_V),

};
#define RGBLIGHT_LAYERS /* Enable lighting layers */
#define RGBLIGHT_LAYER_BLINK /* Enable lighting layer blink */
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,32 @@

![The Key V2](https://massdrop-s3.imgix.net/product-images/stack-overflow-the-key-v2-macropad/FP/vSqOp9eUQNGXW4zl3EVQ_7528-copy-pdp.jpg)


The Stack Overflow "The Key V2" is a 3 button macropad based on atmega32u4 with hot-swappble Kailh Black Box switches.

> Last year, we brought Stack Overflow’s iconic April Fool’s joke to life. Advertised as the new (and only) way to copy and paste on the site, it was an ultra-compact macropad called The Key. The punchline-turned product was a huge hit, selling over 10K units and earning a nearly 5-star average review. Now, we’re back with a second act: The Key V2. The same size as its portable predecessor, this punchline-turned-product has a few notable changes—including an acrylic case to accent its two built-in RGB LEDs. Plus, we made it hot-swappable, so you can easily change out the switches for a truly custom experience. And just like the original, a portion of all proceeds from The Key V2 will go to the data-driven social startup digitalundivided.

Keyboard Maintainer: [Drop / Massdrop](https://github.com/Massdrop/qmk_firmware)
* Keyboard Maintainer: [zvecr](https://github.com/zvecr)
* Hardware Supported: Drop **The Key V2**
* Hardware Availability: Limited Release - https://drop.com/buy/stack-overflow-the-key-v2-macropad

Hardware Supported: Massdrop, Inc. **The Key V2**
Make example for this keyboard (after setting up your build environment):

Hardware Availability: Limited Release - https://drop.com/buy/stack-overflow-the-key-v2-macropad
# default provided by Drop / Stack Overflow
make drop/thekey/v2:default
# common modification where C = CTRL+C, V = CTRL+V
make drop/thekey/v2:url-copy-paste

Flashing example for this keyboard:

Make example for this keyboard (after setting up your build environment):
```bash
# default provided by Drop / Stack Overflow
make massdrop/thekey_v2:default
# common modification where C = CTRL+C, V = CTRL+V
make massdrop/thekey_v2:url-copy-paste
```
make drop/thekey/v2:default:flash

Flashing example for this keyboard:
```bash
# install in dfu mode
make massdrop/thekey_v2: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:
Enter the bootloader in 3 ways:

* **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.
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
1 change: 1 addition & 0 deletions keyboards/drop/thekey/v2/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
24 changes: 0 additions & 24 deletions keyboards/massdrop/thekey/config.h

This file was deleted.

33 changes: 0 additions & 33 deletions keyboards/massdrop/thekey/info.json

This file was deleted.

23 changes: 0 additions & 23 deletions keyboards/massdrop/thekey/keymaps/default/keymap.c

This file was deleted.

12 changes: 0 additions & 12 deletions keyboards/massdrop/thekey/rules.mk

This file was deleted.

Loading