Skip to content

Commit

Permalink
[Keyboard] Stream cheap via fixes/updates (#14325)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luigi311 authored Nov 10, 2021
1 parent 4ee91f2 commit 3de7008
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
10 changes: 5 additions & 5 deletions keyboards/handwired/stream_cheap/2x3/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 0x1213
#define DEVICE_VER 0x0001
#define MANUFACTURER Stream Cheap
#define PRODUCT 2x3

/* key matrix size */
#define MATRIX_ROWS 2
Expand Down
19 changes: 18 additions & 1 deletion keyboards/handwired/stream_cheap/2x4/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
};
12 changes: 6 additions & 6 deletions keyboards/handwired/stream_cheap/2x5/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
#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 0x1215
#define DEVICE_VER 0x0001
#define MANUFACTURER Stream Cheap
#define PRODUCT 2x5

/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 5

/* 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

Expand Down

0 comments on commit 3de7008

Please sign in to comment.