Bastard Keyboards: upstream recent changes (#19083)
Co-authored-by: Simian <alex@Mandelbrot> Co-authored-by: Charly Delay <0xcharly@users.noreply.github.com> Co-authored-by: Alex Baldwin <alexbaldwin42@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Mini (3x6) Blackpill",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
},
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
}
|
||||
|
@@ -18,8 +18,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROWS 8 // Rows are doubled-up.
|
||||
#define MATRIX_COLS 6
|
||||
@@ -33,17 +31,10 @@
|
||||
#define ROTATIONAL_TRANSFORM_ANGLE -25
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGBLED_NUM 42
|
||||
#define RGBLED_SPLIT \
|
||||
{ 21, 21 }
|
||||
|
||||
/* RGB matrix support. */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
# define SPLIT_TRANSPORT_MIRROR
|
||||
# define RGBLED_NUM 42
|
||||
# define RGBLED_SPLIT \
|
||||
{ 21, 21 }
|
||||
# define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
# define RGB_MATRIX_SPLIT RGBLED_SPLIT
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
||||
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
#endif
|
||||
|
@@ -1,98 +1,98 @@
|
||||
{
|
||||
"url": "https://bastardkb.com",
|
||||
"usb": {
|
||||
"pid": "0x1834",
|
||||
"pid": "0x1834"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_charybdis_3x6": {
|
||||
"layout": [
|
||||
{"label":"L00", "x":0, "y":0},
|
||||
{"label":"L01", "x":1, "y":0},
|
||||
{"label":"L02", "x":2, "y":0},
|
||||
{"label":"L03", "x":3, "y":0},
|
||||
{"label":"L04", "x":4, "y":0},
|
||||
{"label":"L05", "x":5, "y":0},
|
||||
{"label":"R00", "x":11, "y":0},
|
||||
{"label":"R01", "x":12, "y":0},
|
||||
{"label":"R02", "x":13, "y":0},
|
||||
{"label":"R03", "x":14, "y":0},
|
||||
{"label":"R04", "x":15, "y":0},
|
||||
{"label":"R05", "x":16, "y":0},
|
||||
{"label":"L10", "x":0, "y":1},
|
||||
{"label":"L11", "x":1, "y":1},
|
||||
{"label":"L12", "x":2, "y":1},
|
||||
{"label":"L13", "x":3, "y":1},
|
||||
{"label":"L14", "x":4, "y":1},
|
||||
{"label":"L15", "x":5, "y":1},
|
||||
{"label":"R10", "x":11, "y":1},
|
||||
{"label":"R11", "x":12, "y":1},
|
||||
{"label":"R12", "x":13, "y":1},
|
||||
{"label":"R13", "x":14, "y":1},
|
||||
{"label":"R14", "x":15, "y":1},
|
||||
{"label":"R15", "x":16, "y":1},
|
||||
{"label":"L20", "x":0, "y":2},
|
||||
{"label":"L21", "x":1, "y":2},
|
||||
{"label":"L22", "x":2, "y":2},
|
||||
{"label":"L23", "x":3, "y":2},
|
||||
{"label":"L24", "x":4, "y":2},
|
||||
{"label":"L25", "x":5, "y":2},
|
||||
{"label":"R20", "x":11, "y":2},
|
||||
{"label":"R21", "x":12, "y":2},
|
||||
{"label":"R22", "x":13, "y":2},
|
||||
{"label":"R23", "x":14, "y":2},
|
||||
{"label":"R24", "x":15, "y":2},
|
||||
{"label":"R25", "x":16, "y":2},
|
||||
{"label":"L33", "x":5, "y":3},
|
||||
{"label":"L34", "x":6, "y":3},
|
||||
{"label":"L31", "x":7, "y":3},
|
||||
{"label":"R31", "x":9, "y":3},
|
||||
{"label":"R33", "x":10, "y":3}
|
||||
{ "label": "L00", "x": 0, "y": 0 },
|
||||
{ "label": "L01", "x": 1, "y": 0 },
|
||||
{ "label": "L02", "x": 2, "y": 0 },
|
||||
{ "label": "L03", "x": 3, "y": 0 },
|
||||
{ "label": "L04", "x": 4, "y": 0 },
|
||||
{ "label": "L05", "x": 5, "y": 0 },
|
||||
{ "label": "R00", "x": 11, "y": 0 },
|
||||
{ "label": "R01", "x": 12, "y": 0 },
|
||||
{ "label": "R02", "x": 13, "y": 0 },
|
||||
{ "label": "R03", "x": 14, "y": 0 },
|
||||
{ "label": "R04", "x": 15, "y": 0 },
|
||||
{ "label": "R05", "x": 16, "y": 0 },
|
||||
{ "label": "L10", "x": 0, "y": 1 },
|
||||
{ "label": "L11", "x": 1, "y": 1 },
|
||||
{ "label": "L12", "x": 2, "y": 1 },
|
||||
{ "label": "L13", "x": 3, "y": 1 },
|
||||
{ "label": "L14", "x": 4, "y": 1 },
|
||||
{ "label": "L15", "x": 5, "y": 1 },
|
||||
{ "label": "R10", "x": 11, "y": 1 },
|
||||
{ "label": "R11", "x": 12, "y": 1 },
|
||||
{ "label": "R12", "x": 13, "y": 1 },
|
||||
{ "label": "R13", "x": 14, "y": 1 },
|
||||
{ "label": "R14", "x": 15, "y": 1 },
|
||||
{ "label": "R15", "x": 16, "y": 1 },
|
||||
{ "label": "L20", "x": 0, "y": 2 },
|
||||
{ "label": "L21", "x": 1, "y": 2 },
|
||||
{ "label": "L22", "x": 2, "y": 2 },
|
||||
{ "label": "L23", "x": 3, "y": 2 },
|
||||
{ "label": "L24", "x": 4, "y": 2 },
|
||||
{ "label": "L25", "x": 5, "y": 2 },
|
||||
{ "label": "R20", "x": 11, "y": 2 },
|
||||
{ "label": "R21", "x": 12, "y": 2 },
|
||||
{ "label": "R22", "x": 13, "y": 2 },
|
||||
{ "label": "R23", "x": 14, "y": 2 },
|
||||
{ "label": "R24", "x": 15, "y": 2 },
|
||||
{ "label": "R25", "x": 16, "y": 2 },
|
||||
{ "label": "L33", "x": 5, "y": 3 },
|
||||
{ "label": "L34", "x": 6, "y": 3 },
|
||||
{ "label": "L31", "x": 7, "y": 3 },
|
||||
{ "label": "R31", "x": 9, "y": 3 },
|
||||
{ "label": "R33", "x": 10, "y": 3 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_split_3x6_3": {
|
||||
"layout": [
|
||||
{"label":"L00", "x":0, "y":0},
|
||||
{"label":"L01", "x":1, "y":0},
|
||||
{"label":"L02", "x":2, "y":0},
|
||||
{"label":"L03", "x":3, "y":0},
|
||||
{"label":"L04", "x":4, "y":0},
|
||||
{"label":"L05", "x":5, "y":0},
|
||||
{"label":"R00", "x":11, "y":0},
|
||||
{"label":"R01", "x":12, "y":0},
|
||||
{"label":"R02", "x":13, "y":0},
|
||||
{"label":"R03", "x":14, "y":0},
|
||||
{"label":"R04", "x":15, "y":0},
|
||||
{"label":"R05", "x":16, "y":0},
|
||||
{"label":"L10", "x":0, "y":1},
|
||||
{"label":"L11", "x":1, "y":1},
|
||||
{"label":"L12", "x":2, "y":1},
|
||||
{"label":"L13", "x":3, "y":1},
|
||||
{"label":"L14", "x":4, "y":1},
|
||||
{"label":"L15", "x":5, "y":1},
|
||||
{"label":"R10", "x":11, "y":1},
|
||||
{"label":"R11", "x":12, "y":1},
|
||||
{"label":"R12", "x":13, "y":1},
|
||||
{"label":"R13", "x":14, "y":1},
|
||||
{"label":"R14", "x":15, "y":1},
|
||||
{"label":"R15", "x":16, "y":1},
|
||||
{"label":"L20", "x":0, "y":2},
|
||||
{"label":"L21", "x":1, "y":2},
|
||||
{"label":"L22", "x":2, "y":2},
|
||||
{"label":"L23", "x":3, "y":2},
|
||||
{"label":"L24", "x":4, "y":2},
|
||||
{"label":"L25", "x":5, "y":2},
|
||||
{"label":"R20", "x":11, "y":2},
|
||||
{"label":"R21", "x":12, "y":2},
|
||||
{"label":"R22", "x":13, "y":2},
|
||||
{"label":"R23", "x":14, "y":2},
|
||||
{"label":"R24", "x":15, "y":2},
|
||||
{"label":"R25", "x":16, "y":2},
|
||||
{"label":"L33", "x":5, "y":3},
|
||||
{"label":"L34", "x":6, "y":3},
|
||||
{"label":"L31", "x":7, "y":3},
|
||||
{"label":"R33", "x":9, "y":3},
|
||||
{"label":"R34", "x":10, "y":3},
|
||||
{"label":"R31", "x":11, "y":3}
|
||||
{ "label": "L00", "x": 0, "y": 0 },
|
||||
{ "label": "L01", "x": 1, "y": 0 },
|
||||
{ "label": "L02", "x": 2, "y": 0 },
|
||||
{ "label": "L03", "x": 3, "y": 0 },
|
||||
{ "label": "L04", "x": 4, "y": 0 },
|
||||
{ "label": "L05", "x": 5, "y": 0 },
|
||||
{ "label": "R00", "x": 11, "y": 0 },
|
||||
{ "label": "R01", "x": 12, "y": 0 },
|
||||
{ "label": "R02", "x": 13, "y": 0 },
|
||||
{ "label": "R03", "x": 14, "y": 0 },
|
||||
{ "label": "R04", "x": 15, "y": 0 },
|
||||
{ "label": "R05", "x": 16, "y": 0 },
|
||||
{ "label": "L10", "x": 0, "y": 1 },
|
||||
{ "label": "L11", "x": 1, "y": 1 },
|
||||
{ "label": "L12", "x": 2, "y": 1 },
|
||||
{ "label": "L13", "x": 3, "y": 1 },
|
||||
{ "label": "L14", "x": 4, "y": 1 },
|
||||
{ "label": "L15", "x": 5, "y": 1 },
|
||||
{ "label": "R10", "x": 11, "y": 1 },
|
||||
{ "label": "R11", "x": 12, "y": 1 },
|
||||
{ "label": "R12", "x": 13, "y": 1 },
|
||||
{ "label": "R13", "x": 14, "y": 1 },
|
||||
{ "label": "R14", "x": 15, "y": 1 },
|
||||
{ "label": "R15", "x": 16, "y": 1 },
|
||||
{ "label": "L20", "x": 0, "y": 2 },
|
||||
{ "label": "L21", "x": 1, "y": 2 },
|
||||
{ "label": "L22", "x": 2, "y": 2 },
|
||||
{ "label": "L23", "x": 3, "y": 2 },
|
||||
{ "label": "L24", "x": 4, "y": 2 },
|
||||
{ "label": "L25", "x": 5, "y": 2 },
|
||||
{ "label": "R20", "x": 11, "y": 2 },
|
||||
{ "label": "R21", "x": 12, "y": 2 },
|
||||
{ "label": "R22", "x": 13, "y": 2 },
|
||||
{ "label": "R23", "x": 14, "y": 2 },
|
||||
{ "label": "R24", "x": 15, "y": 2 },
|
||||
{ "label": "R25", "x": 16, "y": 2 },
|
||||
{ "label": "L33", "x": 5, "y": 3 },
|
||||
{ "label": "L34", "x": 6, "y": 3 },
|
||||
{ "label": "L31", "x": 7, "y": 3 },
|
||||
{ "label": "R33", "x": 9, "y": 3 },
|
||||
{ "label": "R34", "x": 10, "y": 3 },
|
||||
{ "label": "R31", "x": 11, "y": 3 }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -1,54 +0,0 @@
|
||||
/**
|
||||
* Copyright 2022 Charly Delay <charly@codesink.dev> (@0xcharly)
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef TAPPING_TERM
|
||||
/**
|
||||
* \brief Configure the global tapping term (default: 200ms).
|
||||
*
|
||||
* If you have a lot of accidental mod activations, crank up the tapping term.
|
||||
*
|
||||
* See docs.qmk.fm/using-qmk/software-features/tap_hold#tapping-term
|
||||
*/
|
||||
# define TAPPING_TERM 200
|
||||
#endif // TAPPING_TERM
|
||||
|
||||
/* RGB Matrix. */
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// Disable control of RGB matrix by keycodes (must use firmware implementation
|
||||
// to control the feature).
|
||||
# define RGB_MATRIX_DISABLE_KEYCODES
|
||||
|
||||
// Limit maximum brightness to keep power consumption reasonable, and avoid
|
||||
// disconnects.
|
||||
# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 64
|
||||
|
||||
// Rainbow swirl as startup mode.
|
||||
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
|
||||
// Slow swirl at startup.
|
||||
# define RGB_MATRIX_STARTUP_SPD 32
|
||||
|
||||
// Startup values.
|
||||
# define RGB_MATRIX_STARTUP_HUE 0
|
||||
# define RGB_MATRIX_STARTUP_SAT 255
|
||||
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_MATRIX_STARTUP_HSV RGB_MATRIX_STARTUP_HUE, RGB_MATRIX_STARTUP_SAT, RGB_MATRIX_STARTUP_VAL
|
||||
#endif // RGB_MATRIX_ENABLE
|
@@ -24,17 +24,6 @@
|
||||
/* Disable unused features. */
|
||||
#define NO_ACTION_ONESHOT
|
||||
|
||||
#ifndef TAPPING_TERM
|
||||
/**
|
||||
* \brief Configure the global tapping term (default: 200ms).
|
||||
*
|
||||
* If you have a lot of accidental mod activations, crank up the tapping term.
|
||||
*
|
||||
* See docs.qmk.fm/using-qmk/software-features/tap_hold#tapping-term
|
||||
*/
|
||||
# define TAPPING_TERM 200
|
||||
#endif // TAPPING_TERM
|
||||
|
||||
/* Charybdis-specific features. */
|
||||
|
||||
#ifdef POINTING_DEVICE_ENABLE
|
||||
@@ -43,29 +32,3 @@
|
||||
// - `CHARYBDIS_AUTO_POINTER_LAYER_TRIGGER_THRESHOLD`
|
||||
// #define CHARYBDIS_AUTO_POINTER_LAYER_TRIGGER_ENABLE
|
||||
#endif // POINTING_DEVICE_ENABLE
|
||||
|
||||
/* RGB Matrix. */
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// Disable control of RGB matrix by keycodes (must use firmware implementation
|
||||
// to control the feature).
|
||||
# define RGB_MATRIX_DISABLE_KEYCODES
|
||||
|
||||
// Limit maximum brightness to keep power consumption reasonable, and avoid
|
||||
// disconnects.
|
||||
# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 64
|
||||
|
||||
// Rainbow swirl as startup mode.
|
||||
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
|
||||
// Slow swirl at startup.
|
||||
# define RGB_MATRIX_STARTUP_SPD 32
|
||||
|
||||
// Startup values.
|
||||
# define RGB_MATRIX_STARTUP_HUE 0
|
||||
# define RGB_MATRIX_STARTUP_SAT 255
|
||||
# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
||||
# define RGB_MATRIX_STARTUP_HSV RGB_MATRIX_STARTUP_HUE, RGB_MATRIX_STARTUP_SAT, RGB_MATRIX_STARTUP_VAL
|
||||
#endif // RGB_MATRIX_ENABLE
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Mini (3x6) Elite-C",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
},
|
||||
"device_version": "1.0.0"
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Mini (3x6) Elite-C",
|
||||
"usb": {
|
||||
"device_version": "2.0.0",
|
||||
},
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
|
@@ -21,14 +21,6 @@
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
// To use the handedness pin, resistors need to be installed on the adapter PCB.
|
||||
// If so, uncomment the following code, and undefine MASTER_RIGHT above.
|
||||
// #define SPLIT_HAND_PIN GP13
|
||||
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Mini (3x6) Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0",
|
||||
},
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
|
@@ -25,3 +25,11 @@
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
// To use the handedness pin, resistors need to be installed on the adapter PCB.
|
||||
// If so, uncomment the following code, and undefine MASTER_RIGHT above.
|
||||
// #define SPLIT_HAND_PIN GP13
|
||||
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
|
||||
|
@@ -25,3 +25,11 @@
|
||||
#define SPI_SCK_PIN GP22
|
||||
#define SPI_MOSI_PIN GP23
|
||||
#define POINTING_DEVICE_CS_PIN GP16
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
// To use the handedness pin, resistors need to be installed on the adapter PCB.
|
||||
// If so, uncomment the following code, and undefine MASTER_RIGHT above.
|
||||
// #define SPLIT_HAND_PIN GP15
|
||||
// #define SPLIT_HAND_PIN_LOW_IS_LEFT // High -> right, Low -> left.
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Mini (3x6) STeMCell",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user