aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/stream_cheap/2x4/config.h
diff options
context:
space:
mode:
authorKyle <12398294+hartk1213@users.noreply.github.com>2020-07-31 16:18:06 -0700
committerGitHub <noreply@github.com>2020-07-31 16:18:06 -0700
commitf3b518ae4082bd49335c1b60d2cfe89a500ad878 (patch)
tree7047294a64b7c7ea8e9d0d98fb643402cabecf1d /keyboards/handwired/stream_cheap/2x4/config.h
parentb70ac594c6c342357780ffa77f78f4ac67e25c2e (diff)
downloadfirmware-f3b518ae4082bd49335c1b60d2cfe89a500ad878.tar.gz
firmware-f3b518ae4082bd49335c1b60d2cfe89a500ad878.tar.bz2
firmware-f3b518ae4082bd49335c1b60d2cfe89a500ad878.zip
[Keyboard] Added a new handwired 2x3,2x4,2x5 keyboard called the Stream_cheap (#9871)
* Added a new handwired 2x3,2x4,2x5 keyboard called the Stream_cheap stream cheap is a diy version of the El Gato Stream deck minus the LCD keys but you can always get relegendable keycaps to change the icon if you want * added missing commas in info.json files * update config to change pin definition * changed keymap.c for 2x4 was trying to add macros and multi key commands to the keymap, i added 2 ctrl commands that have more than one key i.e. ctrl-k-c (visual studio comment hot key) and i added a test string to see how type out a string with the press of a button * testing more changes to the keymap to the 2x5 * Update keyboards/handwired/stream_cheap/2x3/2x3.c * Update keyboards/handwired/stream_cheap/2x3/config.h * Update keyboards/handwired/stream_cheap/2x3/rules.mk * Update keyboards/handwired/stream_cheap/2x5/config.h * Update keyboards/handwired/stream_cheap/2x5/info.json * Update keyboards/handwired/stream_cheap/2x3/config.h * Update keyboards/handwired/stream_cheap/2x3/info.json * Update keyboards/handwired/stream_cheap/2x4/config.h * Update keyboards/handwired/stream_cheap/2x4/info.json * Update keyboards/handwired/stream_cheap/2x4/keymaps/default/keymap.c * Update keyboards/handwired/stream_cheap/2x5/info.json * Update keyboards/handwired/stream_cheap/2x5/config.h * Update keyboards/handwired/stream_cheap/2x5/rules.mk * Update keyboards/handwired/stream_cheap/2x4/2x4.c * Update keyboards/handwired/stream_cheap/2x4/config.h * Update keyboards/handwired/stream_cheap/2x4/info.json * Update keyboards/handwired/stream_cheap/2x5/2x5.c * Update keyboards/handwired/stream_cheap/2x4/rules.mk * removed file as per request of user zvecr * removed line in rules.mk for 2x5 * Update keyboards/handwired/stream_cheap/2x5/keymaps/default/keymap.c * Apply suggestions from code review changes suggested in code review
Diffstat (limited to 'keyboards/handwired/stream_cheap/2x4/config.h')
-rw-r--r--keyboards/handwired/stream_cheap/2x4/config.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/handwired/stream_cheap/2x4/config.h b/keyboards/handwired/stream_cheap/2x4/config.h
new file mode 100644
index 000000000..14b4d9e36
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x4/config.h
@@ -0,0 +1,27 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x1214
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Kyle Hart
+#define PRODUCT Stream Cheap 2x4
+
+/* 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} }
+
+
+/* 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