summaryrefslogtreecommitdiff
path: root/keyboards/keebio
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2022-03-08 17:08:02 -0500
committerGitHub <noreply@github.com>2022-03-08 22:08:02 +0000
commit022e1fdac86c38136d6f818aec15d34b1ab92be5 (patch)
tree53ac1e741ad3c09bc811d9f5997dcb2c5e107ed6 /keyboards/keebio
parent3347b63d83d019219770f55627f3d5136806bb5c (diff)
downloadqmk_firmware-022e1fdac86c38136d6f818aec15d34b1ab92be5.tar.gz
qmk_firmware-022e1fdac86c38136d6f818aec15d34b1ab92be5.zip
Add Big Switch Seat (#16524)
* Add Big Switch Seat * Update keyboards/keebio/bigswitchseat/rules.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * Update keyboards/keebio/bigswitchseat/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/keebio')
-rw-r--r--keyboards/keebio/bigswitchseat/bigswitchseat.c4
-rw-r--r--keyboards/keebio/bigswitchseat/bigswitchseat.h12
-rw-r--r--keyboards/keebio/bigswitchseat/config.h86
-rw-r--r--keyboards/keebio/bigswitchseat/info.json10
-rw-r--r--keyboards/keebio/bigswitchseat/keymaps/default/keymap.c27
-rw-r--r--keyboards/keebio/bigswitchseat/keymaps/default/rules.mk1
-rw-r--r--keyboards/keebio/bigswitchseat/keymaps/via/keymap.c27
-rw-r--r--keyboards/keebio/bigswitchseat/keymaps/via/rules.mk2
-rw-r--r--keyboards/keebio/bigswitchseat/readme.md25
-rw-r--r--keyboards/keebio/bigswitchseat/rules.mk18
10 files changed, 212 insertions, 0 deletions
diff --git a/keyboards/keebio/bigswitchseat/bigswitchseat.c b/keyboards/keebio/bigswitchseat/bigswitchseat.c
new file mode 100644
index 0000000000..a322fdad62
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/bigswitchseat.c
@@ -0,0 +1,4 @@
+// Copyright 2021 Danny Nguyen (@nooges)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "bigswitchseat.h"
diff --git a/keyboards/keebio/bigswitchseat/bigswitchseat.h b/keyboards/keebio/bigswitchseat/bigswitchseat.h
new file mode 100644
index 0000000000..3f66c6bc3b
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/bigswitchseat.h
@@ -0,0 +1,12 @@
+// Copyright 2021 Danny Nguyen (@nooges)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "quantum.h"
+
+#define LAYOUT( \
+ k00 \
+) { \
+ { k00 } \
+}
diff --git a/keyboards/keebio/bigswitchseat/config.h b/keyboards/keebio/bigswitchseat/config.h
new file mode 100644
index 0000000000..f5558ca279
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/config.h
@@ -0,0 +1,86 @@
+// Copyright 2021 Danny Nguyen (@nooges)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xCB10
+#define PRODUCT_ID 0x1011
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Keebio
+#define PRODUCT Big Switch Seat
+
+/* key matrix size */
+#define MATRIX_ROWS 1
+#define MATRIX_COLS 1
+
+/*
+ * Keyboard Matrix Assignments
+ */
+
+#define MATRIX_ROW_PINS { E6 }
+#define MATRIX_COL_PINS { F0 }
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* define if matrix has ghost (lacks anti-ghosting diodes) */
+//#define MATRIX_HAS_GHOST
+
+/* 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
+
+/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
+ * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
+ */
+//#define GRAVE_ESC_CTRL_OVERRIDE
+
+/*
+ * Force NKRO
+ *
+ * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
+ * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
+ * makefile for this to work.)
+ *
+ * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
+ * until the next keyboard reset.
+ *
+ * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
+ * fully operational during normal computer usage.
+ *
+ * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
+ * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
+ * bootmagic, NKRO mode will always be enabled until it is toggled again during a
+ * power-up.
+ *
+ */
+//#define FORCE_NKRO
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+
+/* disable these deprecated features by default */
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION
+
+/* Bootmagic Lite key configuration */
+//#define BOOTMAGIC_LITE_ROW 0
+//#define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/keebio/bigswitchseat/info.json b/keyboards/keebio/bigswitchseat/info.json
new file mode 100644
index 0000000000..10328da26f
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/info.json
@@ -0,0 +1,10 @@
+{
+ "keyboard_name": "Big Switch Seat",
+ "url": "https://robotcandy.company/",
+ "maintainer": "nooges",
+ "layouts": {
+ "LAYOUT": {
+ "layout": [{"x": 0, "y": 0, "w": 4, "h": 4}]
+ }
+ }
+}
diff --git a/keyboards/keebio/bigswitchseat/keymaps/default/keymap.c b/keyboards/keebio/bigswitchseat/keymaps/default/keymap.c
new file mode 100644
index 0000000000..6d4378b995
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/keymaps/default/keymap.c
@@ -0,0 +1,27 @@
+// Copyright 2021 Danny Nguyen (@nooges)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _MAIN,
+ _FN1,
+ _FN2,
+ _FN3
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_MAIN] = LAYOUT(
+ KC_A
+ ),
+ [_FN1] = LAYOUT(
+ _______
+ ),
+ [_FN2] = LAYOUT(
+ _______
+ ),
+ [_FN3] = LAYOUT(
+ _______
+ )
+};
diff --git a/keyboards/keebio/bigswitchseat/keymaps/default/rules.mk b/keyboards/keebio/bigswitchseat/keymaps/default/rules.mk
new file mode 100644
index 0000000000..4da205a168
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/keymaps/default/rules.mk
@@ -0,0 +1 @@
+LTO_ENABLE = yes
diff --git a/keyboards/keebio/bigswitchseat/keymaps/via/keymap.c b/keyboards/keebio/bigswitchseat/keymaps/via/keymap.c
new file mode 100644
index 0000000000..6d4378b995
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/keymaps/via/keymap.c
@@ -0,0 +1,27 @@
+// Copyright 2021 Danny Nguyen (@nooges)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+// Defines names for use in layer keycodes and the keymap
+enum layer_names {
+ _MAIN,
+ _FN1,
+ _FN2,
+ _FN3
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_MAIN] = LAYOUT(
+ KC_A
+ ),
+ [_FN1] = LAYOUT(
+ _______
+ ),
+ [_FN2] = LAYOUT(
+ _______
+ ),
+ [_FN3] = LAYOUT(
+ _______
+ )
+};
diff --git a/keyboards/keebio/bigswitchseat/keymaps/via/rules.mk b/keyboards/keebio/bigswitchseat/keymaps/via/rules.mk
new file mode 100644
index 0000000000..36b7ba9cbc
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/keymaps/via/rules.mk
@@ -0,0 +1,2 @@
+VIA_ENABLE = yes
+LTO_ENABLE = yes
diff --git a/keyboards/keebio/bigswitchseat/readme.md b/keyboards/keebio/bigswitchseat/readme.md
new file mode 100644
index 0000000000..43e62d4e53
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/readme.md
@@ -0,0 +1,25 @@
+# Big Switch Seat
+
+PCB for the Big Switch.
+
+* Keyboard Maintainer: [Keebio](https://github.com/nooges)
+* Hardware Supported: Big Switch Seat PCB
+* Hardware Availability: [Robot Candy Company](https://robotcandy.company/)
+
+Make example for this keyboard (after setting up your build environment):
+
+ make keebio/bigswitchseat:default
+
+Flashing example for this keyboard:
+
+ make keebio/bigswitchseat:default:flash
+
+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
+* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
+* **Keycode in layout**: Press the key mapped to `RESET` if it is available
diff --git a/keyboards/keebio/bigswitchseat/rules.mk b/keyboards/keebio/bigswitchseat/rules.mk
new file mode 100644
index 0000000000..d6d12ae0db
--- /dev/null
+++ b/keyboards/keebio/bigswitchseat/rules.mk
@@ -0,0 +1,18 @@
+# MCU name
+MCU = atmega32u4
+
+# Bootloader selection
+BOOTLOADER = atmel-dfu
+
+# Build Options
+# change yes to no to disable
+#
+BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
+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
+NKRO_ENABLE = no # Enable N-Key Rollover
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+AUDIO_ENABLE = no # Audio output