From dbe8098178abaf7bd95fc369904aecaac58a32d1 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 11:31:34 -0600 Subject: [PATCH 01/11] Streamcheap personal Signed-off-by: Luigi311 --- keyboards/handwired/stream_cheap/2x4/2x4.h | 10 ++++----- keyboards/handwired/stream_cheap/2x4/config.h | 16 +++++++++----- .../handwired/stream_cheap/2x4/info.json | 11 +++++++++- .../stream_cheap/2x4/keymaps/via/keymap.c | 22 +++++++++++++++++++ .../stream_cheap/2x4/keymaps/via/rules.mk | 9 ++++++++ keyboards/handwired/stream_cheap/2x4/rules.mk | 6 +++-- 6 files changed, 60 insertions(+), 14 deletions(-) create mode 100644 keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c create mode 100644 keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.h b/keyboards/handwired/stream_cheap/2x4/2x4.h index 07856044f24b..23b8208fb4f1 100644 --- a/keyboards/handwired/stream_cheap/2x4/2x4.h +++ b/keyboards/handwired/stream_cheap/2x4/2x4.h @@ -3,10 +3,10 @@ #include "quantum.h" #define LAYOUT_ortho_2x4(\ - K00, K01, K02,K03, \ - K04, K05, K06,K07 \ + K00, K01, K02, K03, \ + K04, K05, K06, K07 \ ) \ - { \ - { 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 index 14b4d9e36845..d720b0a95acd 100644 --- a/keyboards/handwired/stream_cheap/2x4/config.h +++ b/keyboards/handwired/stream_cheap/2x4/config.h @@ -3,19 +3,23 @@ #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1214 +#define VENDOR_ID 0x4C47 // LG +#define PRODUCT_ID 0x0001 #define DEVICE_VER 0x0001 -#define MANUFACTURER Kyle Hart -#define PRODUCT Stream Cheap 2x4 +#define MANUFACTURER Luigi311 +#define PRODUCT Stream Cheap /* key matrix size */ #define MATRIX_ROWS 2 #define MATRIX_COLS 4 /* define direct pins used */ -#define DIRECT_PINS { { B5,D7,C6,D1}, { B4,E6,D4,D0} } - +//Luigi311 +//#define DIRECT_PINS { { B4, E6, D4, D0}, { B5, D7, C6, D1} } +//Darklegacy +//#define DIRECT_PINS { { B4, D4, D7, D1}, { B5, C6, D0, E6} } +//Vancurls Craigerbomb Scuhzy +//#define DIRECT_PINS { { D7, E6, B3, B1}, { B5, B4, B2, B6} } /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/stream_cheap/2x4/info.json b/keyboards/handwired/stream_cheap/2x4/info.json index ef495dbf6feb..47bf4a1c9c89 100644 --- a/keyboards/handwired/stream_cheap/2x4/info.json +++ b/keyboards/handwired/stream_cheap/2x4/info.json @@ -1,9 +1,14 @@ { + "name": "Stream Cheap 2x4", "keyboard_name": "Stream Cheap 2x4", + "vendorId": "0x4C47", + "productId": "0x0001", + "lighting": "none", "url": "https://www.thingiverse.com/thing:4497991", "maintainer": "qmk", "width": 4, "height": 2, + "matrix": { "rows": 2, "cols": 4 }, "layouts": { "LAYOUT_ortho_2x4": { "layout": [ @@ -16,6 +21,10 @@ {"label":"K06", "x":2, "y":1}, {"label":"K07", "x":3, "y":1} ] - } + }, + "keymap": [ + ["0,0", "0,1", "0,2", "0,3"], + ["0,4", "0,5", "0,6", "0,7"] + ] } } diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c new file mode 100644 index 000000000000..92cec6b5c2a3 --- /dev/null +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c @@ -0,0 +1,22 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_ortho_2x4( + KC_F13, KC_F14, KC_F15, KC_F16, + KC_F17, KC_F18, KC_F19, KC_F20 + ), + [1] = LAYOUT_ortho_2x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_ortho_2x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = 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 new file mode 100644 index 000000000000..4a5fcf2c18e7 --- /dev/null +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk @@ -0,0 +1,9 @@ +# VIA support +VIA_ENABLE = yes + +LEADER_ENABLE = no +FAUXCLICKY_ENABLE = no +MIDI_ENABLE = no +BLUETOOTH_ENABLE = no +KEY_LOCK_ENABLE = no +TERMINAL_ENABLE = no \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/2x4/rules.mk b/keyboards/handwired/stream_cheap/2x4/rules.mk index e4ffb10d0494..cc9841947999 100644 --- a/keyboards/handwired/stream_cheap/2x4/rules.mk +++ b/keyboards/handwired/stream_cheap/2x4/rules.mk @@ -8,9 +8,9 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys +MOUSEKEY_ENABLE = no # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug +CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend @@ -20,3 +20,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow BLUETOOTH_ENABLE = no # Enable Bluetooth AUDIO_ENABLE = no # Audio output + +LTO_ENABLE = yes # Enable optimizations From 7248b165bd33a4158998ff35f8bc3aeeca25c1ae Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 12:24:57 -0600 Subject: [PATCH 02/11] Action: Add build Signed-off-by: Luigi311 --- .github/workflows/build.yml | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000000..3fd3e059da96 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,54 @@ +name: Build firmware for keyboards +on: + push: + paths-ignore: + - '**.md' + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + keyboard: + - planck/rev6 + - preonic/rev3 + - ergodox_ez + - clueboard/60 + - clueboard/17 + - atreus + keymap: + - default + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + persist-credentials: false + submodules: true + + - name: Build + id: build + run: | + TARGET="${{ matrix.keyboard }}" + + if [ -n "${{ matrix.keymap }}" ]; then + TARGET="${TARGET}:${{ matrix.keymap }}" + fi + + sed -i 's/run --rm -it/run --rm/' util/docker_build.sh + util/docker_build.sh ${TARGET} + + ls + + echo ::set-output name=artifact-name::${TARGET//[:<>|*?\\\/]/_} + echo "Artifact-name: ${{ steps.build.outputs.artifact-name }}" + + - name: Archive artifacts + uses: actions/upload-artifact@v2 + with: + name: "${{ steps.build.outputs.artifact-name }}" + path: | + *.hex + *.bin + continue-on-error: true From 68ac0e9965a8e0bb65fc03d2163e5ea4b8f24739 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 11:31:34 -0600 Subject: [PATCH 03/11] Streamcheap personal Signed-off-by: Luigi311 --- keyboards/handwired/stream_cheap/2x4/2x4.h | 10 ++++----- keyboards/handwired/stream_cheap/2x4/config.h | 16 +++++++++----- .../handwired/stream_cheap/2x4/info.json | 11 +++++++++- .../stream_cheap/2x4/keymaps/via/keymap.c | 22 +++++++++++++++++++ .../stream_cheap/2x4/keymaps/via/rules.mk | 9 ++++++++ keyboards/handwired/stream_cheap/2x4/rules.mk | 6 +++-- 6 files changed, 60 insertions(+), 14 deletions(-) create mode 100644 keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c create mode 100644 keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.h b/keyboards/handwired/stream_cheap/2x4/2x4.h index 07856044f24b..23b8208fb4f1 100644 --- a/keyboards/handwired/stream_cheap/2x4/2x4.h +++ b/keyboards/handwired/stream_cheap/2x4/2x4.h @@ -3,10 +3,10 @@ #include "quantum.h" #define LAYOUT_ortho_2x4(\ - K00, K01, K02,K03, \ - K04, K05, K06,K07 \ + K00, K01, K02, K03, \ + K04, K05, K06, K07 \ ) \ - { \ - { 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 index 14b4d9e36845..d720b0a95acd 100644 --- a/keyboards/handwired/stream_cheap/2x4/config.h +++ b/keyboards/handwired/stream_cheap/2x4/config.h @@ -3,19 +3,23 @@ #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1214 +#define VENDOR_ID 0x4C47 // LG +#define PRODUCT_ID 0x0001 #define DEVICE_VER 0x0001 -#define MANUFACTURER Kyle Hart -#define PRODUCT Stream Cheap 2x4 +#define MANUFACTURER Luigi311 +#define PRODUCT Stream Cheap /* key matrix size */ #define MATRIX_ROWS 2 #define MATRIX_COLS 4 /* define direct pins used */ -#define DIRECT_PINS { { B5,D7,C6,D1}, { B4,E6,D4,D0} } - +//Luigi311 +//#define DIRECT_PINS { { B4, E6, D4, D0}, { B5, D7, C6, D1} } +//Darklegacy +//#define DIRECT_PINS { { B4, D4, D7, D1}, { B5, C6, D0, E6} } +//Vancurls Craigerbomb Scuhzy +//#define DIRECT_PINS { { D7, E6, B3, B1}, { B5, B4, B2, B6} } /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/stream_cheap/2x4/info.json b/keyboards/handwired/stream_cheap/2x4/info.json index ef495dbf6feb..47bf4a1c9c89 100644 --- a/keyboards/handwired/stream_cheap/2x4/info.json +++ b/keyboards/handwired/stream_cheap/2x4/info.json @@ -1,9 +1,14 @@ { + "name": "Stream Cheap 2x4", "keyboard_name": "Stream Cheap 2x4", + "vendorId": "0x4C47", + "productId": "0x0001", + "lighting": "none", "url": "https://www.thingiverse.com/thing:4497991", "maintainer": "qmk", "width": 4, "height": 2, + "matrix": { "rows": 2, "cols": 4 }, "layouts": { "LAYOUT_ortho_2x4": { "layout": [ @@ -16,6 +21,10 @@ {"label":"K06", "x":2, "y":1}, {"label":"K07", "x":3, "y":1} ] - } + }, + "keymap": [ + ["0,0", "0,1", "0,2", "0,3"], + ["0,4", "0,5", "0,6", "0,7"] + ] } } diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c new file mode 100644 index 000000000000..92cec6b5c2a3 --- /dev/null +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c @@ -0,0 +1,22 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_ortho_2x4( + KC_F13, KC_F14, KC_F15, KC_F16, + KC_F17, KC_F18, KC_F19, KC_F20 + ), + [1] = LAYOUT_ortho_2x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_ortho_2x4( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = 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 new file mode 100644 index 000000000000..4a5fcf2c18e7 --- /dev/null +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/rules.mk @@ -0,0 +1,9 @@ +# VIA support +VIA_ENABLE = yes + +LEADER_ENABLE = no +FAUXCLICKY_ENABLE = no +MIDI_ENABLE = no +BLUETOOTH_ENABLE = no +KEY_LOCK_ENABLE = no +TERMINAL_ENABLE = no \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/2x4/rules.mk b/keyboards/handwired/stream_cheap/2x4/rules.mk index e4ffb10d0494..cc9841947999 100644 --- a/keyboards/handwired/stream_cheap/2x4/rules.mk +++ b/keyboards/handwired/stream_cheap/2x4/rules.mk @@ -8,9 +8,9 @@ BOOTLOADER = caterina # change yes to no to disable # BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration -MOUSEKEY_ENABLE = yes # Mouse keys +MOUSEKEY_ENABLE = no # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug +CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend @@ -20,3 +20,5 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow BLUETOOTH_ENABLE = no # Enable Bluetooth AUDIO_ENABLE = no # Audio output + +LTO_ENABLE = yes # Enable optimizations From c1d5554b0b865e64f352916dd3a218067caa272c Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 12:44:54 -0600 Subject: [PATCH 04/11] Update build.yml --- .github/workflows/build.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fd3e059da96..c85610788b58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,12 +11,7 @@ jobs: fail-fast: false matrix: keyboard: - - planck/rev6 - - preonic/rev3 - - ergodox_ez - - clueboard/60 - - clueboard/17 - - atreus + - handwired/stream_cheap/2x4 keymap: - default From a44cb762b88ec2ba4991a83a4aed260cd07dead1 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 13:57:45 -0600 Subject: [PATCH 05/11] Stream_Cheap: Add Zatarian Signed-off-by: Luigi311 --- .github/workflows/build.yml | 4 +- .../stream_cheap/Zatarian/Zatarian.c | 1 + .../stream_cheap/Zatarian/Zatarian.h | 12 +++++ .../handwired/stream_cheap/Zatarian/config.h | 25 +++++++++ .../handwired/stream_cheap/Zatarian/info.json | 24 +++++++++ .../Zatarian/keymaps/default/keymap.c | 51 +++++++++++++++++++ .../Zatarian/keymaps/via/keyboard.json | 24 +++++++++ .../Zatarian/keymaps/via/keymap.c | 22 ++++++++ .../Zatarian/keymaps/via/rules.mk | 9 ++++ .../handwired/stream_cheap/Zatarian/rules.mk | 24 +++++++++ 10 files changed, 194 insertions(+), 2 deletions(-) create mode 100644 keyboards/handwired/stream_cheap/Zatarian/Zatarian.c create mode 100644 keyboards/handwired/stream_cheap/Zatarian/Zatarian.h create mode 100644 keyboards/handwired/stream_cheap/Zatarian/config.h create mode 100644 keyboards/handwired/stream_cheap/Zatarian/info.json create mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/default/keymap.c create mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json create mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c create mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk create mode 100644 keyboards/handwired/stream_cheap/Zatarian/rules.mk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c85610788b58..5c14ba852bc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,9 @@ jobs: fail-fast: false matrix: keyboard: - - handwired/stream_cheap/2x4 + - handwired/stream_cheap/Zatarian keymap: - - default + - via steps: - uses: actions/checkout@v2 diff --git a/keyboards/handwired/stream_cheap/Zatarian/Zatarian.c b/keyboards/handwired/stream_cheap/Zatarian/Zatarian.c new file mode 100644 index 000000000000..f7af370eca0a --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/Zatarian.c @@ -0,0 +1 @@ +#include "Zatarian.h" diff --git a/keyboards/handwired/stream_cheap/Zatarian/Zatarian.h b/keyboards/handwired/stream_cheap/Zatarian/Zatarian.h new file mode 100644 index 000000000000..99790a97b387 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/Zatarian.h @@ -0,0 +1,12 @@ +#pragma once + +#include "quantum.h" + +#define LAYOUT_ortho_Zatarian(\ + K00, K01, K02, K03, \ + K04, K05, K06, K07 \ +) \ +{ \ + { K00, K01, K02, K03}, \ + { K04, K05, K06, K07} \ +} diff --git a/keyboards/handwired/stream_cheap/Zatarian/config.h b/keyboards/handwired/stream_cheap/Zatarian/config.h new file mode 100644 index 000000000000..8354f81de339 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/config.h @@ -0,0 +1,25 @@ +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x4C47 // LG +#define PRODUCT_ID 0x0001 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Luigi311 +#define PRODUCT Stream Cheap + +/* key matrix size */ +#define MATRIX_ROWS 2 +#define MATRIX_COLS 4 + +#define DIRECT_PINS { { B4, E6, D4, D0}, { B5, D7, C6, D1} } + +/* 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/Zatarian/info.json b/keyboards/handwired/stream_cheap/Zatarian/info.json new file mode 100644 index 000000000000..4bf497eb46a5 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/info.json @@ -0,0 +1,24 @@ +{ + "name": "Stream Cheap", + "keyboard_name": "Stream Cheap", + "vendorId": "0x4C47", + "productId": "0x0001", + "url": "https://www.thingiverse.com/thing:4497991", + "maintainer": "qmk", + "width": 4, + "height": 2, + "layouts": { + "LAYOUT_ortho_Zatarian": { + "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/Zatarian/keymaps/default/keymap.c b/keyboards/handwired/stream_cheap/Zatarian/keymaps/default/keymap.c new file mode 100644 index 000000000000..7d634167046f --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/keymaps/default/keymap.c @@ -0,0 +1,51 @@ +#include QMK_KEYBOARD_H + +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; +} + +#define LOCK LGUI(KC_L) +#define CUT LCTL(KC_X) +#define COPY LCTL(KC_C) +#define PASTE LCTL(KC_V) +#define FIND LCTL(KC_F) + +enum layers { + NORMAL_LAYER = 0, + SECOND_LAYER +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [NORMAL_LAYER] = LAYOUT_ortho_Zatarian( + VS_COMMENT, VS_UNCOMMENT, LOCK, TST_STRING, + KC_F9, KC_F10, KC_F11, TO(1) + ), + [SECOND_LAYER] = LAYOUT_ortho_Zatarian( + KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, + CUT, COPY, PASTE, TO(0) + ) +}; diff --git a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json new file mode 100644 index 000000000000..fc0c48b95ac9 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json @@ -0,0 +1,24 @@ +{ + "name": "Stream Cheap", + "vendorId": "0x4C47", + "productId": "0x0001", + "lighting": "none", + "matrix": {"rows": 2, "cols": 4}, + "layouts": { + "keymap": [ + {"name": "Stream Cheap"}, + [ + "0,0", + "0,1", + "0,2", + "0,3" + ], + [ + "1,0", + "1,1", + "1,2", + "1,3" + ] + ] + } +} \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c new file mode 100644 index 000000000000..f4366ed10b04 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c @@ -0,0 +1,22 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_ortho_Zatarian( + KC_F13, KC_F14, KC_F15, KC_F16, + KC_F17, KC_F18, KC_F19, KC_F20 + ), + [1] = LAYOUT_ortho_Zatarian( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_ortho_Zatarian( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_ortho_Zatarian( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk new file mode 100644 index 000000000000..4a5fcf2c18e7 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk @@ -0,0 +1,9 @@ +# VIA support +VIA_ENABLE = yes + +LEADER_ENABLE = no +FAUXCLICKY_ENABLE = no +MIDI_ENABLE = no +BLUETOOTH_ENABLE = no +KEY_LOCK_ENABLE = no +TERMINAL_ENABLE = no \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Zatarian/rules.mk b/keyboards/handwired/stream_cheap/Zatarian/rules.mk new file mode 100644 index 000000000000..cc9841947999 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Zatarian/rules.mk @@ -0,0 +1,24 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = caterina + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = yes # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output + +LTO_ENABLE = yes # Enable optimizations From 05cddc839f3de2ebf7ad758b1ac67cbb15d353d0 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 14:01:25 -0600 Subject: [PATCH 06/11] Stream_Cheap: Add Vancurls_Craigerbomb_Scuhzy Signed-off-by: Luigi311 --- .github/workflows/build.yml | 1 + .../Vancurls_Craigerbomb_Scuhzy.c | 1 + .../Vancurls_Craigerbomb_Scuhzy.h | 12 +++++ .../Vancurls_Craigerbomb_Scuhzy/config.h | 25 +++++++++ .../Vancurls_Craigerbomb_Scuhzy/info.json | 24 +++++++++ .../keymaps/default/keymap.c | 51 +++++++++++++++++++ .../keymaps/via/keyboard.json | 24 +++++++++ .../keymaps/via/keymap.c | 22 ++++++++ .../keymaps/via/rules.mk | 9 ++++ .../Vancurls_Craigerbomb_Scuhzy/rules.mk | 24 +++++++++ 10 files changed, 193 insertions(+) create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk create mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5c14ba852bc9..4531721895bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,7 @@ jobs: matrix: keyboard: - handwired/stream_cheap/Zatarian + - handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy keymap: - via diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c new file mode 100644 index 000000000000..ebbc05c55f30 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c @@ -0,0 +1 @@ +#include "Vancurls_Craigerbomb_Scuhzy.h" diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h new file mode 100644 index 000000000000..65c6d77059e5 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h @@ -0,0 +1,12 @@ +#pragma once + +#include "quantum.h" + +#define LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy(\ + K00, K01, K02, K03, \ + K04, K05, K06, K07 \ +) \ +{ \ + { K00, K01, K02, K03}, \ + { K04, K05, K06, K07} \ +} diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h new file mode 100644 index 000000000000..d9365a940648 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h @@ -0,0 +1,25 @@ +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x4C47 // LG +#define PRODUCT_ID 0x0001 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Luigi311 +#define PRODUCT Stream Cheap + +/* key matrix size */ +#define MATRIX_ROWS 2 +#define MATRIX_COLS 4 + +#define DIRECT_PINS { { D7, E6, B3, B1}, { B5, B4, B2, B6} } + +/* 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/Vancurls_Craigerbomb_Scuhzy/info.json b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json new file mode 100644 index 000000000000..1dab7e3fb370 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json @@ -0,0 +1,24 @@ +{ + "name": "Stream Cheap", + "keyboard_name": "Stream Cheap", + "vendorId": "0x4C47", + "productId": "0x0001", + "url": "https://www.thingiverse.com/thing:4497991", + "maintainer": "qmk", + "width": 4, + "height": 2, + "layouts": { + "LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy": { + "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/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c new file mode 100644 index 000000000000..7d634167046f --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c @@ -0,0 +1,51 @@ +#include QMK_KEYBOARD_H + +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; +} + +#define LOCK LGUI(KC_L) +#define CUT LCTL(KC_X) +#define COPY LCTL(KC_C) +#define PASTE LCTL(KC_V) +#define FIND LCTL(KC_F) + +enum layers { + NORMAL_LAYER = 0, + SECOND_LAYER +}; + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [NORMAL_LAYER] = LAYOUT_ortho_Zatarian( + VS_COMMENT, VS_UNCOMMENT, LOCK, TST_STRING, + KC_F9, KC_F10, KC_F11, TO(1) + ), + [SECOND_LAYER] = LAYOUT_ortho_Zatarian( + KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, + CUT, COPY, PASTE, TO(0) + ) +}; diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json new file mode 100644 index 000000000000..fc0c48b95ac9 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json @@ -0,0 +1,24 @@ +{ + "name": "Stream Cheap", + "vendorId": "0x4C47", + "productId": "0x0001", + "lighting": "none", + "matrix": {"rows": 2, "cols": 4}, + "layouts": { + "keymap": [ + {"name": "Stream Cheap"}, + [ + "0,0", + "0,1", + "0,2", + "0,3" + ], + [ + "1,0", + "1,1", + "1,2", + "1,3" + ] + ] + } +} \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c new file mode 100644 index 000000000000..c38626fd8d02 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c @@ -0,0 +1,22 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + + // Default layer + [0] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( + KC_F13, KC_F14, KC_F15, KC_F16, + KC_F17, KC_F18, KC_F19, KC_F20 + ), + [1] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [2] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), + [3] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, + KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS + ), +}; diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk new file mode 100644 index 000000000000..4a5fcf2c18e7 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk @@ -0,0 +1,9 @@ +# VIA support +VIA_ENABLE = yes + +LEADER_ENABLE = no +FAUXCLICKY_ENABLE = no +MIDI_ENABLE = no +BLUETOOTH_ENABLE = no +KEY_LOCK_ENABLE = no +TERMINAL_ENABLE = no \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk new file mode 100644 index 000000000000..cc9841947999 --- /dev/null +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk @@ -0,0 +1,24 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +BOOTLOADER = caterina + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = no # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = yes # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = yes # USB Nkey Rollover +BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +BLUETOOTH_ENABLE = no # Enable Bluetooth +AUDIO_ENABLE = no # Audio output + +LTO_ENABLE = yes # Enable optimizations From ac33dc287a0b51cb4e00f8795afaaf19c2edbdad Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Mon, 21 Jun 2021 14:07:29 -0600 Subject: [PATCH 07/11] Stream_Cheap: Clean up Signed-off-by: Luigi311 --- .../stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json | 3 --- .../stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk | 2 +- keyboards/handwired/stream_cheap/Zatarian/info.json | 3 --- keyboards/handwired/stream_cheap/Zatarian/rules.mk | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json index 1dab7e3fb370..219cc822dfb4 100644 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json @@ -1,8 +1,5 @@ { - "name": "Stream Cheap", "keyboard_name": "Stream Cheap", - "vendorId": "0x4C47", - "productId": "0x0001", "url": "https://www.thingiverse.com/thing:4497991", "maintainer": "qmk", "width": 4, diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk index cc9841947999..6ec1acd5344d 100644 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk +++ b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk @@ -10,7 +10,7 @@ BOOTLOADER = caterina BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration MOUSEKEY_ENABLE = no # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug +CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend diff --git a/keyboards/handwired/stream_cheap/Zatarian/info.json b/keyboards/handwired/stream_cheap/Zatarian/info.json index 4bf497eb46a5..78e00d08a5c5 100644 --- a/keyboards/handwired/stream_cheap/Zatarian/info.json +++ b/keyboards/handwired/stream_cheap/Zatarian/info.json @@ -1,8 +1,5 @@ { - "name": "Stream Cheap", "keyboard_name": "Stream Cheap", - "vendorId": "0x4C47", - "productId": "0x0001", "url": "https://www.thingiverse.com/thing:4497991", "maintainer": "qmk", "width": 4, diff --git a/keyboards/handwired/stream_cheap/Zatarian/rules.mk b/keyboards/handwired/stream_cheap/Zatarian/rules.mk index cc9841947999..6ec1acd5344d 100644 --- a/keyboards/handwired/stream_cheap/Zatarian/rules.mk +++ b/keyboards/handwired/stream_cheap/Zatarian/rules.mk @@ -10,7 +10,7 @@ BOOTLOADER = caterina BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration MOUSEKEY_ENABLE = no # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug +CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend From f6d1f7bb321926f607858cfb1862ab7cb9edc9b8 Mon Sep 17 00:00:00 2001 From: luigi311 Date: Sun, 5 Sep 2021 16:33:37 -0600 Subject: [PATCH 08/11] Stream_Cheap: Match all 3 variants, Update via json, Set to useful defaults for 2x4 via keymap --- keyboards/handwired/stream_cheap/2x3/config.h | 10 +++++----- keyboards/handwired/stream_cheap/2x4/config.h | 2 +- .../stream_cheap/2x4/keymaps/via/keymap.c | 19 ++++++++++++++++++- .../2x4/keymaps/via/stream_cheap_2x4.json | 2 +- keyboards/handwired/stream_cheap/2x5/config.h | 12 ++++++------ 5 files changed, 31 insertions(+), 14 deletions(-) diff --git a/keyboards/handwired/stream_cheap/2x3/config.h b/keyboards/handwired/stream_cheap/2x3/config.h index a142ec4a4e1e..229b769af12d 100644 --- a/keyboards/handwired/stream_cheap/2x3/config.h +++ b/keyboards/handwired/stream_cheap/2x3/config.h @@ -3,11 +3,11 @@ #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1213 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Kyle Hart -#define PRODUCT Stream Cheap 2x3 +#define VENDOR_ID 0x7363 // Stream Cheap +#define PRODUCT_ID 0x3233 // Product 23 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Stream Cheap +#define PRODUCT 2x3 /* key matrix size */ #define MATRIX_ROWS 2 diff --git a/keyboards/handwired/stream_cheap/2x4/config.h b/keyboards/handwired/stream_cheap/2x4/config.h index 432f23c7d90e..403f334a1da2 100644 --- a/keyboards/handwired/stream_cheap/2x4/config.h +++ b/keyboards/handwired/stream_cheap/2x4/config.h @@ -4,7 +4,7 @@ /* USB Device descriptor parameter */ #define VENDOR_ID 0x7363 // Stream Cheap -#define PRODUCT_ID 0x1214 +#define PRODUCT_ID 0x3234 // Product 24 #define DEVICE_VER 0x0001 #define MANUFACTURER Stream Cheap #define PRODUCT 2x4 diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c index 8824e214580e..4d392ae982f1 100644 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c @@ -18,4 +18,21 @@ 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_A, KC_A, KC_A, TO(3), KC_A, KC_A, KC_A, TO(1)), [SECOND_LAYER] = LAYOUT_ortho_2x4(KC_B, KC_B, KC_B, TO(0), KC_B, KC_B, KC_B, TO(2)), [THIRD_LAYER] = LAYOUT_ortho_2x4(KC_C, KC_C, KC_C, TO(1), KC_C, KC_C, KC_C, TO(3)), [FOURTH_LAYER] = LAYOUT_ortho_2x4(KC_D, KC_D, KC_D, TO(2), KC_D, KC_D, KC_D, TO(0))}; +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/stream_cheap_2x4.json b/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json index 78f41b174e2a..cb8de8cd30a3 100644 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json @@ -1,7 +1,7 @@ { "name": "Stream Cheap 2x4", "vendorId": "0x7363", - "productId": "0x3032", + "productId": "0x3234", "lighting": "none", "matrix": {"rows": 2, "cols": 4}, "layouts": { diff --git a/keyboards/handwired/stream_cheap/2x5/config.h b/keyboards/handwired/stream_cheap/2x5/config.h index cd69c632f1fb..199688ac0cb1 100644 --- a/keyboards/handwired/stream_cheap/2x5/config.h +++ b/keyboards/handwired/stream_cheap/2x5/config.h @@ -3,11 +3,11 @@ #include "config_common.h" /* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x1215 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Kyle Hart -#define PRODUCT Stream Cheap 2x5 +#define VENDOR_ID 0x7363 // Stream Cheap +#define PRODUCT_ID 0x3235 // Product 25 +#define DEVICE_VER 0x0001 +#define MANUFACTURER Stream Cheap +#define PRODUCT 2x5 /* key matrix size */ #define MATRIX_ROWS 2 @@ -15,7 +15,7 @@ /* define direct pins used */ #define DIRECT_PINS { { D1,C6,B4,B5,B2}, { D0,D4,D7,E6,B6} } -//#define DIRECT_PINS { { D1, C6, B4, B6, D0}, { D7, D4, B2, B5, E6} } + /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 From 3007316c3ab76402e0c9d962f0dfc002b73d6249 Mon Sep 17 00:00:00 2001 From: luigi311 Date: Mon, 6 Sep 2021 13:48:10 -0600 Subject: [PATCH 09/11] Match productID to previous naming convention --- keyboards/handwired/stream_cheap/2x3/config.h | 2 +- keyboards/handwired/stream_cheap/2x4/config.h | 2 +- .../stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json | 2 +- keyboards/handwired/stream_cheap/2x5/config.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/keyboards/handwired/stream_cheap/2x3/config.h b/keyboards/handwired/stream_cheap/2x3/config.h index 229b769af12d..5e571e356ae1 100644 --- a/keyboards/handwired/stream_cheap/2x3/config.h +++ b/keyboards/handwired/stream_cheap/2x3/config.h @@ -4,7 +4,7 @@ /* USB Device descriptor parameter */ #define VENDOR_ID 0x7363 // Stream Cheap -#define PRODUCT_ID 0x3233 // Product 23 +#define PRODUCT_ID 0x1213 #define DEVICE_VER 0x0001 #define MANUFACTURER Stream Cheap #define PRODUCT 2x3 diff --git a/keyboards/handwired/stream_cheap/2x4/config.h b/keyboards/handwired/stream_cheap/2x4/config.h index 403f334a1da2..432f23c7d90e 100644 --- a/keyboards/handwired/stream_cheap/2x4/config.h +++ b/keyboards/handwired/stream_cheap/2x4/config.h @@ -4,7 +4,7 @@ /* USB Device descriptor parameter */ #define VENDOR_ID 0x7363 // Stream Cheap -#define PRODUCT_ID 0x3234 // Product 24 +#define PRODUCT_ID 0x1214 #define DEVICE_VER 0x0001 #define MANUFACTURER Stream Cheap #define PRODUCT 2x4 diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json b/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json index cb8de8cd30a3..3b52a0979bfc 100644 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json +++ b/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json @@ -1,7 +1,7 @@ { "name": "Stream Cheap 2x4", "vendorId": "0x7363", - "productId": "0x3234", + "productId": "0x1214", "lighting": "none", "matrix": {"rows": 2, "cols": 4}, "layouts": { diff --git a/keyboards/handwired/stream_cheap/2x5/config.h b/keyboards/handwired/stream_cheap/2x5/config.h index 199688ac0cb1..e7a73107b97a 100644 --- a/keyboards/handwired/stream_cheap/2x5/config.h +++ b/keyboards/handwired/stream_cheap/2x5/config.h @@ -4,7 +4,7 @@ /* USB Device descriptor parameter */ #define VENDOR_ID 0x7363 // Stream Cheap -#define PRODUCT_ID 0x3235 // Product 25 +#define PRODUCT_ID 0x1215 #define DEVICE_VER 0x0001 #define MANUFACTURER Stream Cheap #define PRODUCT 2x5 From c93db28632a149a61bc752304fe919c5a7df862e Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Wed, 27 Oct 2021 12:38:48 -0600 Subject: [PATCH 10/11] Delete stream_cheap_2x4.json --- .../2x4/keymaps/via/stream_cheap_2x4.json | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json b/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json deleted file mode 100644 index 3b52a0979bfc..000000000000 --- a/keyboards/handwired/stream_cheap/2x4/keymaps/via/stream_cheap_2x4.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Stream Cheap 2x4", - "vendorId": "0x7363", - "productId": "0x1214", - "lighting": "none", - "matrix": {"rows": 2, "cols": 4}, - "layouts": { - "keymap": [ - {"name": "Stream Cheap 2x4"}, - [ - "0,0", - "0,1", - "0,2", - "0,3" - ], - [ - "1,0", - "1,1", - "1,2", - "1,3" - ] - ] - } -} From c01c0b596b81759788616dd2367ba7830f8e5d29 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Tue, 9 Nov 2021 12:41:51 -0700 Subject: [PATCH 11/11] Revert "Merge branch 'luigi311' into stream_cheap_via" This reverts commit f2885345df58d238d8f14c240a74094b11e297cb, reversing changes made to c93db28632a149a61bc752304fe919c5a7df862e. --- .github/workflows/build.yml | 50 ------------------ keyboards/handwired/stream_cheap/2x4/2x4.h | 6 +-- keyboards/handwired/stream_cheap/2x4/config.h | 10 ++-- .../handwired/stream_cheap/2x4/info.json | 11 +--- keyboards/handwired/stream_cheap/2x4/rules.mk | 2 +- .../Vancurls_Craigerbomb_Scuhzy.c | 1 - .../Vancurls_Craigerbomb_Scuhzy.h | 12 ----- .../Vancurls_Craigerbomb_Scuhzy/config.h | 25 --------- .../Vancurls_Craigerbomb_Scuhzy/info.json | 21 -------- .../keymaps/default/keymap.c | 51 ------------------- .../keymaps/via/keyboard.json | 24 --------- .../keymaps/via/keymap.c | 22 -------- .../keymaps/via/rules.mk | 9 ---- .../Vancurls_Craigerbomb_Scuhzy/rules.mk | 24 --------- .../stream_cheap/Zatarian/Zatarian.c | 1 - .../stream_cheap/Zatarian/Zatarian.h | 12 ----- .../handwired/stream_cheap/Zatarian/config.h | 25 --------- .../handwired/stream_cheap/Zatarian/info.json | 21 -------- .../Zatarian/keymaps/default/keymap.c | 51 ------------------- .../Zatarian/keymaps/via/keyboard.json | 24 --------- .../Zatarian/keymaps/via/keymap.c | 22 -------- .../Zatarian/keymaps/via/rules.mk | 9 ---- .../handwired/stream_cheap/Zatarian/rules.mk | 24 --------- 23 files changed, 9 insertions(+), 448 deletions(-) delete mode 100644 .github/workflows/build.yml delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk delete mode 100644 keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/Zatarian.c delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/Zatarian.h delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/config.h delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/info.json delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/default/keymap.c delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk delete mode 100644 keyboards/handwired/stream_cheap/Zatarian/rules.mk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 4531721895bf..000000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: Build firmware for keyboards -on: - push: - paths-ignore: - - '**.md' - -jobs: - build: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - keyboard: - - handwired/stream_cheap/Zatarian - - handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy - keymap: - - via - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 1 - persist-credentials: false - submodules: true - - - name: Build - id: build - run: | - TARGET="${{ matrix.keyboard }}" - - if [ -n "${{ matrix.keymap }}" ]; then - TARGET="${TARGET}:${{ matrix.keymap }}" - fi - - sed -i 's/run --rm -it/run --rm/' util/docker_build.sh - util/docker_build.sh ${TARGET} - - ls - - echo ::set-output name=artifact-name::${TARGET//[:<>|*?\\\/]/_} - echo "Artifact-name: ${{ steps.build.outputs.artifact-name }}" - - - name: Archive artifacts - uses: actions/upload-artifact@v2 - with: - name: "${{ steps.build.outputs.artifact-name }}" - path: | - *.hex - *.bin - continue-on-error: true diff --git a/keyboards/handwired/stream_cheap/2x4/2x4.h b/keyboards/handwired/stream_cheap/2x4/2x4.h index 9fc3f7d1c448..37d37af728d8 100644 --- a/keyboards/handwired/stream_cheap/2x4/2x4.h +++ b/keyboards/handwired/stream_cheap/2x4/2x4.h @@ -6,7 +6,7 @@ K00, K01, K02, K03, \ K04, K05, K06, K07 \ ) \ -{ \ - { 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 index b58c2cc61317..432f23c7d90e 100644 --- a/keyboards/handwired/stream_cheap/2x4/config.h +++ b/keyboards/handwired/stream_cheap/2x4/config.h @@ -14,12 +14,10 @@ #define MATRIX_COLS 4 /* define direct pins used */ -//Luigi311 -//#define DIRECT_PINS { { B4, E6, D4, D0}, { B5, D7, C6, D1} } -//Darklegacy -//#define DIRECT_PINS { { B4, D4, D7, D1}, { B5, C6, D0, E6} } -//Vancurls Craigerbomb Scuhzy -//#define DIRECT_PINS { { D7, E6, B3, B1}, { B5, B4, B2, B6} } +#define DIRECT_PINS \ + { \ + {D1, D0, D4, C6}, { D7, E6, B4, B5 } \ + } /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/handwired/stream_cheap/2x4/info.json b/keyboards/handwired/stream_cheap/2x4/info.json index 47bf4a1c9c89..ef495dbf6feb 100644 --- a/keyboards/handwired/stream_cheap/2x4/info.json +++ b/keyboards/handwired/stream_cheap/2x4/info.json @@ -1,14 +1,9 @@ { - "name": "Stream Cheap 2x4", "keyboard_name": "Stream Cheap 2x4", - "vendorId": "0x4C47", - "productId": "0x0001", - "lighting": "none", "url": "https://www.thingiverse.com/thing:4497991", "maintainer": "qmk", "width": 4, "height": 2, - "matrix": { "rows": 2, "cols": 4 }, "layouts": { "LAYOUT_ortho_2x4": { "layout": [ @@ -21,10 +16,6 @@ {"label":"K06", "x":2, "y":1}, {"label":"K07", "x":3, "y":1} ] - }, - "keymap": [ - ["0,0", "0,1", "0,2", "0,3"], - ["0,4", "0,5", "0,6", "0,7"] - ] + } } } diff --git a/keyboards/handwired/stream_cheap/2x4/rules.mk b/keyboards/handwired/stream_cheap/2x4/rules.mk index 6fde796182c6..75ba55e53d22 100644 --- a/keyboards/handwired/stream_cheap/2x4/rules.mk +++ b/keyboards/handwired/stream_cheap/2x4/rules.mk @@ -10,7 +10,7 @@ BOOTLOADER = caterina BOOTMAGIC_ENABLE = lite # Enable Bootmagic Lite MOUSEKEY_ENABLE = yes # Mouse keys EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug +CONSOLE_ENABLE = no # Console for debug COMMAND_ENABLE = no # Commands for debug and configuration # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c deleted file mode 100644 index ebbc05c55f30..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.c +++ /dev/null @@ -1 +0,0 @@ -#include "Vancurls_Craigerbomb_Scuhzy.h" diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h deleted file mode 100644 index 65c6d77059e5..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/Vancurls_Craigerbomb_Scuhzy.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy(\ - K00, K01, K02, K03, \ - K04, K05, K06, K07 \ -) \ -{ \ - { K00, K01, K02, K03}, \ - { K04, K05, K06, K07} \ -} diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h deleted file mode 100644 index d9365a940648..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/config.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4C47 // LG -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Luigi311 -#define PRODUCT Stream Cheap - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 4 - -#define DIRECT_PINS { { D7, E6, B3, B1}, { B5, B4, B2, B6} } - -/* 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/Vancurls_Craigerbomb_Scuhzy/info.json b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json deleted file mode 100644 index 219cc822dfb4..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/info.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "keyboard_name": "Stream Cheap", - "url": "https://www.thingiverse.com/thing:4497991", - "maintainer": "qmk", - "width": 4, - "height": 2, - "layouts": { - "LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy": { - "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/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c deleted file mode 100644 index 7d634167046f..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/default/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ -#include QMK_KEYBOARD_H - -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; -} - -#define LOCK LGUI(KC_L) -#define CUT LCTL(KC_X) -#define COPY LCTL(KC_C) -#define PASTE LCTL(KC_V) -#define FIND LCTL(KC_F) - -enum layers { - NORMAL_LAYER = 0, - SECOND_LAYER -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [NORMAL_LAYER] = LAYOUT_ortho_Zatarian( - VS_COMMENT, VS_UNCOMMENT, LOCK, TST_STRING, - KC_F9, KC_F10, KC_F11, TO(1) - ), - [SECOND_LAYER] = LAYOUT_ortho_Zatarian( - KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, - CUT, COPY, PASTE, TO(0) - ) -}; diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json deleted file mode 100644 index fc0c48b95ac9..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keyboard.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Stream Cheap", - "vendorId": "0x4C47", - "productId": "0x0001", - "lighting": "none", - "matrix": {"rows": 2, "cols": 4}, - "layouts": { - "keymap": [ - {"name": "Stream Cheap"}, - [ - "0,0", - "0,1", - "0,2", - "0,3" - ], - [ - "1,0", - "1,1", - "1,2", - "1,3" - ] - ] - } -} \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c deleted file mode 100644 index c38626fd8d02..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/keymap.c +++ /dev/null @@ -1,22 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - // Default layer - [0] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( - KC_F13, KC_F14, KC_F15, KC_F16, - KC_F17, KC_F18, KC_F19, KC_F20 - ), - [1] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_ortho_Vancurls_Craigerbomb_Scuhzy( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk deleted file mode 100644 index 4a5fcf2c18e7..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/keymaps/via/rules.mk +++ /dev/null @@ -1,9 +0,0 @@ -# VIA support -VIA_ENABLE = yes - -LEADER_ENABLE = no -FAUXCLICKY_ENABLE = no -MIDI_ENABLE = no -BLUETOOTH_ENABLE = no -KEY_LOCK_ENABLE = no -TERMINAL_ENABLE = no \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk b/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk deleted file mode 100644 index 6ec1acd5344d..000000000000 --- a/keyboards/handwired/stream_cheap/Vancurls_Craigerbomb_Scuhzy/rules.mk +++ /dev/null @@ -1,24 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration -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 -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -BLUETOOTH_ENABLE = no # Enable Bluetooth -AUDIO_ENABLE = no # Audio output - -LTO_ENABLE = yes # Enable optimizations diff --git a/keyboards/handwired/stream_cheap/Zatarian/Zatarian.c b/keyboards/handwired/stream_cheap/Zatarian/Zatarian.c deleted file mode 100644 index f7af370eca0a..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/Zatarian.c +++ /dev/null @@ -1 +0,0 @@ -#include "Zatarian.h" diff --git a/keyboards/handwired/stream_cheap/Zatarian/Zatarian.h b/keyboards/handwired/stream_cheap/Zatarian/Zatarian.h deleted file mode 100644 index 99790a97b387..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/Zatarian.h +++ /dev/null @@ -1,12 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_Zatarian(\ - K00, K01, K02, K03, \ - K04, K05, K06, K07 \ -) \ -{ \ - { K00, K01, K02, K03}, \ - { K04, K05, K06, K07} \ -} diff --git a/keyboards/handwired/stream_cheap/Zatarian/config.h b/keyboards/handwired/stream_cheap/Zatarian/config.h deleted file mode 100644 index 8354f81de339..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/config.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4C47 // LG -#define PRODUCT_ID 0x0001 -#define DEVICE_VER 0x0001 -#define MANUFACTURER Luigi311 -#define PRODUCT Stream Cheap - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 4 - -#define DIRECT_PINS { { B4, E6, D4, D0}, { B5, D7, C6, D1} } - -/* 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/Zatarian/info.json b/keyboards/handwired/stream_cheap/Zatarian/info.json deleted file mode 100644 index 78e00d08a5c5..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/info.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "keyboard_name": "Stream Cheap", - "url": "https://www.thingiverse.com/thing:4497991", - "maintainer": "qmk", - "width": 4, - "height": 2, - "layouts": { - "LAYOUT_ortho_Zatarian": { - "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/Zatarian/keymaps/default/keymap.c b/keyboards/handwired/stream_cheap/Zatarian/keymaps/default/keymap.c deleted file mode 100644 index 7d634167046f..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/keymaps/default/keymap.c +++ /dev/null @@ -1,51 +0,0 @@ -#include QMK_KEYBOARD_H - -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; -} - -#define LOCK LGUI(KC_L) -#define CUT LCTL(KC_X) -#define COPY LCTL(KC_C) -#define PASTE LCTL(KC_V) -#define FIND LCTL(KC_F) - -enum layers { - NORMAL_LAYER = 0, - SECOND_LAYER -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [NORMAL_LAYER] = LAYOUT_ortho_Zatarian( - VS_COMMENT, VS_UNCOMMENT, LOCK, TST_STRING, - KC_F9, KC_F10, KC_F11, TO(1) - ), - [SECOND_LAYER] = LAYOUT_ortho_Zatarian( - KC_MUTE, KC_VOLD, KC_VOLU, KC_MPLY, - CUT, COPY, PASTE, TO(0) - ) -}; diff --git a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json deleted file mode 100644 index fc0c48b95ac9..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keyboard.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "Stream Cheap", - "vendorId": "0x4C47", - "productId": "0x0001", - "lighting": "none", - "matrix": {"rows": 2, "cols": 4}, - "layouts": { - "keymap": [ - {"name": "Stream Cheap"}, - [ - "0,0", - "0,1", - "0,2", - "0,3" - ], - [ - "1,0", - "1,1", - "1,2", - "1,3" - ] - ] - } -} \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c deleted file mode 100644 index f4366ed10b04..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/keymap.c +++ /dev/null @@ -1,22 +0,0 @@ -#include QMK_KEYBOARD_H - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - - // Default layer - [0] = LAYOUT_ortho_Zatarian( - KC_F13, KC_F14, KC_F15, KC_F16, - KC_F17, KC_F18, KC_F19, KC_F20 - ), - [1] = LAYOUT_ortho_Zatarian( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [2] = LAYOUT_ortho_Zatarian( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), - [3] = LAYOUT_ortho_Zatarian( - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, - KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS - ), -}; diff --git a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk b/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk deleted file mode 100644 index 4a5fcf2c18e7..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/keymaps/via/rules.mk +++ /dev/null @@ -1,9 +0,0 @@ -# VIA support -VIA_ENABLE = yes - -LEADER_ENABLE = no -FAUXCLICKY_ENABLE = no -MIDI_ENABLE = no -BLUETOOTH_ENABLE = no -KEY_LOCK_ENABLE = no -TERMINAL_ENABLE = no \ No newline at end of file diff --git a/keyboards/handwired/stream_cheap/Zatarian/rules.mk b/keyboards/handwired/stream_cheap/Zatarian/rules.mk deleted file mode 100644 index 6ec1acd5344d..000000000000 --- a/keyboards/handwired/stream_cheap/Zatarian/rules.mk +++ /dev/null @@ -1,24 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration -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 -# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE -SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend -# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work -NKRO_ENABLE = yes # USB Nkey Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow -BLUETOOTH_ENABLE = no # Enable Bluetooth -AUDIO_ENABLE = no # Audio output - -LTO_ENABLE = yes # Enable optimizations