Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BastardKB: upstream charybdis/4x6 #23811

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove legacy variants of bastardkb/charybdis/4x6
  • Loading branch information
finrod09 committed May 28, 2024
commit d58d1eaf447c2a85b798576a99c63d48344fd35f
55 changes: 0 additions & 55 deletions keyboards/bastardkb/charybdis/4x6/blackpill/config.h

This file was deleted.

27 changes: 0 additions & 27 deletions keyboards/bastardkb/charybdis/4x6/blackpill/halconf.h

This file was deleted.

38 changes: 0 additions & 38 deletions keyboards/bastardkb/charybdis/4x6/blackpill/keyboard.json

This file was deleted.

45 changes: 0 additions & 45 deletions keyboards/bastardkb/charybdis/4x6/blackpill/mcuconf.h

This file was deleted.

3 changes: 0 additions & 3 deletions keyboards/bastardkb/charybdis/4x6/blackpill/readme.md

This file was deleted.

6 changes: 0 additions & 6 deletions keyboards/bastardkb/charybdis/4x6/blackpill/rules.mk

This file was deleted.

24 changes: 23 additions & 1 deletion keyboards/bastardkb/charybdis/4x6/config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
* Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly)
* 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
Expand All @@ -20,3 +20,25 @@

/* Trackball angle adjustment. */
#define ROTATIONAL_TRANSFORM_ANGLE -25

/* 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.

/* VBUS detection. */
#define USB_VBUS_PIN GP19

/* SPI & PMW3360 settings. */
#define SPI_DRIVER SPID0
#define SPI_SCK_PIN GP22
#define SPI_MISO_PIN GP20
#define SPI_MOSI_PIN GP23
#define POINTING_DEVICE_CS_PIN GP16

/* Reset. */
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
17 changes: 16 additions & 1 deletion keyboards/bastardkb/charybdis/4x6/info.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
{
"keyboard_name": "Charybdis (4x6) Splinky",
"manufacturer": "Bastard Keyboards",
"url": "https://bastardkb.com/charybdis",
"usb": {
"device_version": "2.0.0",
"pid": "0x1833",
"vid": "0xA8F8"
},
"rgb_matrix": {
"split_count": [29, 29]
"split_count": [29, 29],
"driver": "ws2812"
},
"matrix_pins": {
"cols": ["GP27", "GP28", "GP21", "GP6", "GP7", "GP8"],
"rows": ["GP29", "GP26", "GP5", "GP4", "GP9"]
},
"diode_direction": "ROW2COL",
"split": {
"soft_serial_pin": "GP1",
"bootmagic": {
"matrix": [5, 0]
}
},
"ws2812": {
"pin": "GP0",
"driver": "vendor"
},
"processor": "RP2040",
"bootloader": "rp2040",
"layout_aliases": {
"LAYOUT_charybdis_4x6": "LAYOUT"
},
Expand Down
25 changes: 24 additions & 1 deletion keyboards/bastardkb/charybdis/4x6/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
DEFAULT_FOLDER = bastardkb/charybdis/4x6/v2/splinky_3
# 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 = no # 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

AUDIO_SUPPORTED = no # Audio is not supported
RGB_MATRIX_SUPPORTED = yes # RGB matrix is supported and enabled by default
RGBLIGHT_SUPPORTED = yes # RGB underglow is supported, but not enabled by default
RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality

SPLIT_KEYBOARD = yes

POINTING_DEVICE_ENABLE = yes # Enable trackball
POINTING_DEVICE_DRIVER = pmw3360

SERIAL_DRIVER = vendor
25 changes: 0 additions & 25 deletions keyboards/bastardkb/charybdis/4x6/v1/elitec/config.h

This file was deleted.

39 changes: 0 additions & 39 deletions keyboards/bastardkb/charybdis/4x6/v1/elitec/keyboard.json

This file was deleted.

4 changes: 0 additions & 4 deletions keyboards/bastardkb/charybdis/4x6/v1/elitec/rules.mk

This file was deleted.

24 changes: 0 additions & 24 deletions keyboards/bastardkb/charybdis/4x6/v2/elitec/config.h

This file was deleted.

Loading