mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-14 12:34:39 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
41225620c2
10 changed files with 212 additions and 0 deletions
4
keyboards/keebio/bigswitchseat/bigswitchseat.c
Normal file
4
keyboards/keebio/bigswitchseat/bigswitchseat.c
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
// Copyright 2021 Danny Nguyen (@nooges)
|
||||||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
#include "bigswitchseat.h"
|
12
keyboards/keebio/bigswitchseat/bigswitchseat.h
Normal file
12
keyboards/keebio/bigswitchseat/bigswitchseat.h
Normal file
|
@ -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 } \
|
||||||
|
}
|
86
keyboards/keebio/bigswitchseat/config.h
Normal file
86
keyboards/keebio/bigswitchseat/config.h
Normal file
|
@ -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
|
10
keyboards/keebio/bigswitchseat/info.json
Normal file
10
keyboards/keebio/bigswitchseat/info.json
Normal file
|
@ -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}]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
27
keyboards/keebio/bigswitchseat/keymaps/default/keymap.c
Normal file
27
keyboards/keebio/bigswitchseat/keymaps/default/keymap.c
Normal file
|
@ -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(
|
||||||
|
_______
|
||||||
|
)
|
||||||
|
};
|
1
keyboards/keebio/bigswitchseat/keymaps/default/rules.mk
Normal file
1
keyboards/keebio/bigswitchseat/keymaps/default/rules.mk
Normal file
|
@ -0,0 +1 @@
|
||||||
|
LTO_ENABLE = yes
|
27
keyboards/keebio/bigswitchseat/keymaps/via/keymap.c
Normal file
27
keyboards/keebio/bigswitchseat/keymaps/via/keymap.c
Normal file
|
@ -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(
|
||||||
|
_______
|
||||||
|
)
|
||||||
|
};
|
2
keyboards/keebio/bigswitchseat/keymaps/via/rules.mk
Normal file
2
keyboards/keebio/bigswitchseat/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
VIA_ENABLE = yes
|
||||||
|
LTO_ENABLE = yes
|
25
keyboards/keebio/bigswitchseat/readme.md
Normal file
25
keyboards/keebio/bigswitchseat/readme.md
Normal file
|
@ -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
|
18
keyboards/keebio/bigswitchseat/rules.mk
Normal file
18
keyboards/keebio/bigswitchseat/rules.mk
Normal file
|
@ -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
|
Loading…
Reference in a new issue