summaryrefslogtreecommitdiff
path: root/keyboards/handwired/stream_cheap/2x3
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/stream_cheap/2x3')
-rw-r--r--keyboards/handwired/stream_cheap/2x3/2x3.c1
-rw-r--r--keyboards/handwired/stream_cheap/2x3/2x3.h11
-rw-r--r--keyboards/handwired/stream_cheap/2x3/config.h27
-rw-r--r--keyboards/handwired/stream_cheap/2x3/info.json19
-rw-r--r--keyboards/handwired/stream_cheap/2x3/keymaps/default/keymap.c21
-rw-r--r--keyboards/handwired/stream_cheap/2x3/rules.mk22
6 files changed, 101 insertions, 0 deletions
diff --git a/keyboards/handwired/stream_cheap/2x3/2x3.c b/keyboards/handwired/stream_cheap/2x3/2x3.c
new file mode 100644
index 0000000000..6889747873
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x3/2x3.c
@@ -0,0 +1 @@
+#include "2x3.h"
diff --git a/keyboards/handwired/stream_cheap/2x3/2x3.h b/keyboards/handwired/stream_cheap/2x3/2x3.h
new file mode 100644
index 0000000000..12e9a46096
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x3/2x3.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT_ortho_2x3( \
+ K00, K01, K02, \
+ K03, K04, K05 \
+) { \
+ { K00, K01, K02}, \
+ { K03, K04, K05} \
+}
diff --git a/keyboards/handwired/stream_cheap/2x3/config.h b/keyboards/handwired/stream_cheap/2x3/config.h
new file mode 100644
index 0000000000..a142ec4a4e
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x3/config.h
@@ -0,0 +1,27 @@
+#pragma once
+
+#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
+
+/* key matrix size */
+#define MATRIX_ROWS 2
+#define MATRIX_COLS 3
+
+/* define direct pins used */
+#define DIRECT_PINS { { D1,C6,B4}, { D0,D4,D7} }
+
+
+/* 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/2x3/info.json b/keyboards/handwired/stream_cheap/2x3/info.json
new file mode 100644
index 0000000000..cdf5e1392f
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x3/info.json
@@ -0,0 +1,19 @@
+{
+ "keyboard_name": "Stream Cheap 2x3",
+ "url": "https://www.thingiverse.com/thing:4497991",
+ "maintainer": "qmk",
+ "width": 3,
+ "height": 2,
+ "layouts": {
+ "LAYOUT_ortho_2x3": {
+ "layout": [
+ {"label":"K00", "x":0, "y":0},
+ {"label":"K01", "x":1, "y":0},
+ {"label":"K02", "x":2, "y":0},
+ {"label":"K03", "x":0, "y":1},
+ {"label":"K04", "x":1, "y":1},
+ {"label":"K05", "x":2, "y":1}
+ ]
+ }
+ }
+}
diff --git a/keyboards/handwired/stream_cheap/2x3/keymaps/default/keymap.c b/keyboards/handwired/stream_cheap/2x3/keymaps/default/keymap.c
new file mode 100644
index 0000000000..5ef589f6a3
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x3/keymaps/default/keymap.c
@@ -0,0 +1,21 @@
+#include QMK_KEYBOARD_H
+
+enum layers {
+ NORMAL_LAYER = 0,
+ SECOND_LAYER
+};
+
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [NORMAL_LAYER] = LAYOUT_ortho_2x3(
+ KC_1, KC_2, KC_3,
+ KC_4, KC_5, TO(1)
+ ),
+ [SECOND_LAYER] = LAYOUT_ortho_2x3(
+ KC_A, KC_B, KC_C,
+ KC_D, KC_E, TO(0)
+ )
+};
+
diff --git a/keyboards/handwired/stream_cheap/2x3/rules.mk b/keyboards/handwired/stream_cheap/2x3/rules.mk
new file mode 100644
index 0000000000..e4ffb10d04
--- /dev/null
+++ b/keyboards/handwired/stream_cheap/2x3/rules.mk
@@ -0,0 +1,22 @@
+# 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 = 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
+# 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