@ -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) | |||
}; |
@ -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) | |||
}; |
@ -0,0 +1 @@ | |||
VIA_ENABLE = yes |
@ -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} | |||
] | |||
} | |||
} | |||
} |
@ -0,0 +1 @@ | |||
# This file intentionally left blank |
@ -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} |
@ -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} | |||
] | |||
} | |||
} | |||
} |
@ -0,0 +1 @@ | |||
# This file intentionally left blank |
@ -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 */ |
@ -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} | |||
] | |||
} | |||
} | |||
} |
@ -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), | |||
}; |
@ -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 |
@ -1,37 +0,0 @@ | |||
/* Copyright 2022 Jason Wihardja | |||
* | |||
* 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 5 | |||
#define RGBLIGHT_LED_MAP {4, 0, 1, 2, 3} | |||
#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 | |||
#define RGBLIGHT_EFFECT_TWINKLE | |||
#define RGBLIGHT_HUE_STEP 10 | |||
#define RGBLIGHT_SAT_STEP 10 | |||
#define RGBLIGHT_VAL_STEP 15 | |||
#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 */ | |||
#define RGBLIGHT_LAYERS /* Enable lighting layers */ | |||
#define RGBLIGHT_LAYER_BLINK /* Enable lighting layer blink */ |
@ -1,30 +0,0 @@ | |||
{ | |||
"keyboard_name": "The Key V2", | |||
"manufacturer": "Drop", | |||
"url": "https://drop.com/buy/stack-overflow-the-key-v2-macropad", | |||
"maintainer": "massdrop", | |||
"usb": { | |||
"vid": "0xFEED", | |||
"pid": "0x0000", | |||
"device_version": "0.0.2" | |||
}, | |||
"ws2812": { | |||
"pin": "B1" | |||
}, | |||
"matrix_pins": { | |||
"cols": ["D2", "D1", "D0"], | |||
"rows": ["D4"] | |||
}, | |||
"diode_direction": "ROW2COL", | |||
"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} | |||
] | |||
} | |||
} | |||
} |
@ -1,39 +0,0 @@ | |||
/* Copyright 2022 Jason Wihardja | |||
* | |||
* 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; | |||
} |
@ -1,40 +0,0 @@ | |||
/* Copyright 2022 Jason Wihardja | |||
* | |||
* 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; | |||
} |
@ -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 = 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 = yes # Enable keyboard RGB underglow | |||
AUDIO_ENABLE = no # Audio output |