diff options
| author | Luigi311 <luigi311.lg@gmail.com> | 2021-11-10 09:27:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-10 08:27:55 -0800 |
| commit | 3de700847e21ade4eead405e968f5ef30fcb8aac (patch) | |
| tree | 4b645c2409f93653643f4dc8afb19dfd8e9e1267 | |
| parent | 4ee91f236b91c99a27a845e7ec25e1f1829ec6c7 (diff) | |
| download | qmk_firmware-3de700847e21ade4eead405e968f5ef30fcb8aac.tar.gz qmk_firmware-3de700847e21ade4eead405e968f5ef30fcb8aac.zip | |
[Keyboard] Stream cheap via fixes/updates (#14325)
| -rw-r--r-- | keyboards/handwired/stream_cheap/2x3/config.h | 10 | ||||
| -rw-r--r-- | keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c | 19 | ||||
| -rw-r--r-- | keyboards/handwired/stream_cheap/2x5/config.h | 12 |
3 files changed, 29 insertions, 12 deletions
diff --git a/keyboards/handwired/stream_cheap/2x3/config.h b/keyboards/handwired/stream_cheap/2x3/config.h index a142ec4a4..5e571e356 100644 --- a/keyboards/handwired/stream_cheap/2x3/config.h +++ b/keyboards/handwired/stream_cheap/2x3/config.h | |||
| @@ -3,11 +3,11 @@ | |||
| 3 | #include "config_common.h" | 3 | #include "config_common.h" |
| 4 | 4 | ||
| 5 | /* USB Device descriptor parameter */ | 5 | /* USB Device descriptor parameter */ |
| 6 | #define VENDOR_ID 0xFEED | 6 | #define VENDOR_ID 0x7363 // Stream Cheap |
| 7 | #define PRODUCT_ID 0x1213 | 7 | #define PRODUCT_ID 0x1213 |
| 8 | #define DEVICE_VER 0x0001 | 8 | #define DEVICE_VER 0x0001 |
| 9 | #define MANUFACTURER Kyle Hart | 9 | #define MANUFACTURER Stream Cheap |
| 10 | #define PRODUCT Stream Cheap 2x3 | 10 | #define PRODUCT 2x3 |
| 11 | 11 | ||
| 12 | /* key matrix size */ | 12 | /* key matrix size */ |
| 13 | #define MATRIX_ROWS 2 | 13 | #define MATRIX_ROWS 2 |
diff --git a/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c b/keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c index 8824e2145..4d392ae98 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 @@ | |||
| 18 | 18 | ||
| 19 | enum layers { NORMAL_LAYER, SECOND_LAYER, THIRD_LAYER, FOURTH_LAYER }; | 19 | enum layers { NORMAL_LAYER, SECOND_LAYER, THIRD_LAYER, FOURTH_LAYER }; |
| 20 | 20 | ||
| 21 | 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))}; | 21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 22 | [NORMAL_LAYER] = LAYOUT_ortho_2x4( | ||
| 23 | KC_F13, KC_F14, KC_F15, KC_F16, | ||
| 24 | KC_F17, KC_F18, KC_F19, KC_F20 | ||
| 25 | ), | ||
| 26 | [SECOND_LAYER] = LAYOUT_ortho_2x4( | ||
| 27 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 28 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 29 | ), | ||
| 30 | [THIRD_LAYER] = LAYOUT_ortho_2x4( | ||
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 33 | ), | ||
| 34 | [FOURTH_LAYER] = LAYOUT_ortho_2x4( | ||
| 35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 37 | ) | ||
| 38 | }; | ||
diff --git a/keyboards/handwired/stream_cheap/2x5/config.h b/keyboards/handwired/stream_cheap/2x5/config.h index cd69c632f..e7a73107b 100644 --- a/keyboards/handwired/stream_cheap/2x5/config.h +++ b/keyboards/handwired/stream_cheap/2x5/config.h | |||
| @@ -3,11 +3,11 @@ | |||
| 3 | #include "config_common.h" | 3 | #include "config_common.h" |
| 4 | 4 | ||
| 5 | /* USB Device descriptor parameter */ | 5 | /* USB Device descriptor parameter */ |
| 6 | #define VENDOR_ID 0xFEED | 6 | #define VENDOR_ID 0x7363 // Stream Cheap |
| 7 | #define PRODUCT_ID 0x1215 | 7 | #define PRODUCT_ID 0x1215 |
| 8 | #define DEVICE_VER 0x0001 | 8 | #define DEVICE_VER 0x0001 |
| 9 | #define MANUFACTURER Kyle Hart | 9 | #define MANUFACTURER Stream Cheap |
| 10 | #define PRODUCT Stream Cheap 2x5 | 10 | #define PRODUCT 2x5 |
| 11 | 11 | ||
| 12 | /* key matrix size */ | 12 | /* key matrix size */ |
| 13 | #define MATRIX_ROWS 2 | 13 | #define MATRIX_ROWS 2 |
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | /* define direct pins used */ | 16 | /* define direct pins used */ |
| 17 | #define DIRECT_PINS { { D1,C6,B4,B5,B2}, { D0,D4,D7,E6,B6} } | 17 | #define DIRECT_PINS { { D1,C6,B4,B5,B2}, { D0,D4,D7,E6,B6} } |
| 18 | //#define DIRECT_PINS { { D1, C6, B4, B6, D0}, { D7, D4, B2, B5, E6} } | 18 | |
| 19 | /* Set 0 if debouncing isn't needed */ | 19 | /* Set 0 if debouncing isn't needed */ |
| 20 | #define DEBOUNCE 5 | 20 | #define DEBOUNCE 5 |
| 21 | 21 | ||
