diff options
Diffstat (limited to 'keyboards/handwired/stream_cheap/2x4')
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/2x4.c | 1 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/2x4.h | 12 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/config.h | 22 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/info.json | 25 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/keymaps/default/keymap.c | 46 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c | 38 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/readme.md | 3 | ||||
-rw-r--r-- | keyboards/handwired/stream_cheap/2x4/rules.mk | 19 |
9 files changed, 0 insertions, 167 deletions
diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.c b/keyboards/handwired/stream_cheap/2x4/2x4.c deleted file mode 100644 index a0519d21b7..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/2x4.c +++ /dev/null @@ -1 +0,0 @@ -#include "2x4.h" diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.h b/keyboards/handwired/stream_cheap/2x4/2x4.h deleted file mode 100644 index 37d37af728..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/2x4.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_2x4(\ - K00, K01, K02, K03, \ - K04, K05, K06, K07 \ -) \ - { \ - { K00,K01,K02,K03}, \ - { K04,K05,K06,K07} \ -} diff --git a/keyboards/handwired/stream_cheap/2x4/config.h b/keyboards/handwired/stream_cheap/2x4/config.h deleted file mode 100644 index 41e30a6dc1..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/config.h +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 4 - -/* define direct pins used */ -#define DIRECT_PINS \ - { \ - {D1, D0, D4, C6}, { D7, E6, B4, B5 } \ - } - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -#define LOCKING_SUPPORT_ENABLE - -/* Locking resynchronize hack */ -#define LOCKING_RESYNC_ENABLE diff --git a/keyboards/handwired/stream_cheap/2x4/info.json b/keyboards/handwired/stream_cheap/2x4/info.json deleted file mode 100644 index 441a68caaa..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/info.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "keyboard_name": "2x4", - "manufacturer": "Stream Cheap", - "url": "https://www.thingiverse.com/thing:4497991", - "maintainer": "qmk", - "usb": { - "vid": "0x7363", - "pid": "0x1214", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT_ortho_2x4": { - "layout": [ - {"label":"K00", "x":0, "y":0}, - {"label":"K01", "x":1, "y":0}, - {"label":"K02", "x":2, "y":0}, - {"label":"K03", "x":3, "y":0}, - {"label":"K04", "x":0, "y":1}, - {"label":"K05", "x":1, "y":1}, - {"label":"K06", "x":2, "y":1}, - {"label":"K07", "x":3, "y":1} - ] - } - } -} diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/default/keymap.c b/keyboards/handwired/stream_cheap/2x4/keymaps/default/keymap.c deleted file mode 100644 index 541642f959..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/default/keymap.c +++ /dev/null @@ -1,46 +0,0 @@ -#include QMK_KEYBOARD_H - - -enum layers { - NORMAL_LAYER = 0, - SECOND_LAYER -}; - -enum custom_keycode { - VS_COMMENT = SAFE_RANGE, - VS_UNCOMMENT, - TST_STRING -}; - - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case VS_COMMENT: - if (record->event.pressed) { - SEND_STRING(SS_LCTL("kc")); - } - break; - case VS_UNCOMMENT: - if (record->event.pressed) { - SEND_STRING(SS_LCTL("ku")); - } - break; - case TST_STRING: - if (record->event.pressed) { - SEND_STRING("12345\n"); - } - break; - - } - return true; -} -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [NORMAL_LAYER] = LAYOUT_ortho_2x4( - VS_COMMENT, VS_UNCOMMENT, TST_STRING, KC_4, - KC_5, KC_6, KC_7, TO(1) - ), - [SECOND_LAYER] = LAYOUT_ortho_2x4( - KC_A, KC_B, KC_C, KC_D, - KC_E, KC_F, KC_G, TO(0) - ) -}; diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c deleted file mode 100644 index 4d392ae982..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c +++ /dev/null @@ -1,38 +0,0 @@ -/* Copyright 2021 Matthias Liffers - * - * 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 { NORMAL_LAYER, SECOND_LAYER, THIRD_LAYER, FOURTH_LAYER }; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [NORMAL_LAYER] = LAYOUT_ortho_2x4( - KC_F13, KC_F14, KC_F15, KC_F16, - KC_F17, KC_F18, KC_F19, KC_F20 - ), - [SECOND_LAYER] = LAYOUT_ortho_2x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [THIRD_LAYER] = LAYOUT_ortho_2x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [FOURTH_LAYER] = LAYOUT_ortho_2x4( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ) -}; diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk b/keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk deleted file mode 100644 index 1e5b99807c..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk +++ /dev/null @@ -1 +0,0 @@ -VIA_ENABLE = yes diff --git a/keyboards/handwired/stream_cheap/2x4/readme.md b/keyboards/handwired/stream_cheap/2x4/readme.md deleted file mode 100644 index d15fcaeaf2..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/readme.md +++ /dev/null @@ -1,3 +0,0 @@ -# Stream Cheap - -An ortholinear macropad, 2x4 configuration. diff --git a/keyboards/handwired/stream_cheap/2x4/rules.mk b/keyboards/handwired/stream_cheap/2x4/rules.mk deleted file mode 100644 index 6dac16c3e4..0000000000 --- a/keyboards/handwired/stream_cheap/2x4/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 -LTO_ENABLE = yes # Enable optimizations |