forked from mirror/qmk_firmware
Compare commits
77 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
571a9794af | ||
|
|
8e50f1c5f5 | ||
|
|
6543065180 | ||
|
|
51360f3d54 | ||
|
|
5c817bffe9 | ||
|
|
0f97402d21 | ||
|
|
35f460643a | ||
|
|
5373376020 | ||
|
|
e67e690cf3 | ||
|
|
1130834513 | ||
|
|
4c5e0606fe | ||
|
|
99174edf0a | ||
|
|
fecfb176b4 | ||
|
|
582f879d6f | ||
|
|
411ed54b0a | ||
|
|
70b9cec3f2 | ||
|
|
e25672baef | ||
|
|
e444cf9578 | ||
|
|
7cf3dd7b8d | ||
|
|
7578daaf16 | ||
|
|
812468abb4 | ||
|
|
2792ee6573 | ||
|
|
29b8bbc4a0 | ||
|
|
9c2703cab0 | ||
|
|
291f988423 | ||
|
|
48a80a502d | ||
|
|
06593acc7d | ||
|
|
89399b5494 | ||
|
|
15ef0a7e3c | ||
|
|
68f550a3f2 | ||
|
|
6d0f944e5e | ||
|
|
25790fc886 | ||
|
|
b8532d100d | ||
|
|
1431f314a4 | ||
|
|
bf2ed0174b | ||
|
|
96ba554ca8 | ||
|
|
57f9a2ad6d | ||
|
|
7c72c5e436 | ||
|
|
608ed489de | ||
|
|
57351e4a37 | ||
|
|
143b7a3c3d | ||
|
|
89fdafc27d | ||
|
|
96cd333371 | ||
|
|
99cd0b13e1 | ||
|
|
ba6ee29040 | ||
|
|
f4a4d841e5 | ||
|
|
de92e8b3b0 | ||
|
|
e4f4e0a307 | ||
|
|
069e6a259a | ||
|
|
88d8817397 | ||
|
|
1df41e6db1 | ||
|
|
5447b075f9 | ||
|
|
fa56e51894 | ||
|
|
1215fc2a78 | ||
|
|
6e6039995b | ||
|
|
071268633d | ||
|
|
261e7668c6 | ||
|
|
d30bf44a60 | ||
|
|
ebcbbfc1e8 | ||
|
|
acca2eb963 | ||
|
|
bb3d694875 | ||
|
|
405aa7b2ed | ||
|
|
760e5c2ee1 | ||
|
|
3fa1e8e273 | ||
|
|
0e93b0d59b | ||
|
|
2709b6ed61 | ||
|
|
92fadf0110 | ||
|
|
92354b2ca8 | ||
|
|
af14b212b9 | ||
|
|
ea1a6975a8 | ||
|
|
2f92880578 | ||
|
|
4d1b1bc534 | ||
|
|
1dd77d9944 | ||
|
|
d878edfaad | ||
|
|
ee772ad165 | ||
|
|
6af12001eb | ||
|
|
03d7c31e6c |
11
.github/workflows/auto_tag.yml
vendored
11
.github/workflows/auto_tag.yml
vendored
@@ -5,12 +5,13 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- quantum/**/*
|
||||
- tmk_core/**/*
|
||||
- builddefs/**/*
|
||||
- drivers/**/*
|
||||
- tests/**/*
|
||||
- util/**/*
|
||||
- platforms/**/*
|
||||
- quantum/**/*
|
||||
- tests/**/*
|
||||
- tmk_core/**/*
|
||||
- util/**/*
|
||||
- Makefile
|
||||
- '*.mk'
|
||||
|
||||
@@ -27,7 +28,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Bump version and push tag
|
||||
uses: anothrNick/github-tag-action@1.52.0
|
||||
uses: anothrNick/github-tag-action@1.54.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
DEFAULT_BUMP: 'patch'
|
||||
|
||||
@@ -367,6 +367,10 @@ ifneq ($(findstring STM32F401, $(MCU)),)
|
||||
|
||||
# Bootloader address for STM32 DFU
|
||||
STM32_BOOTLOADER_ADDRESS ?= 0x1FFF0000
|
||||
|
||||
# Revert to legacy wear-leveling driver until ChibiOS's EFL driver is fixed with 128kB and 384kB variants.
|
||||
EEPROM_DRIVER ?= wear_leveling
|
||||
WEAR_LEVELING_DRIVER ?= legacy
|
||||
endif
|
||||
|
||||
ifneq ($(findstring STM32F405, $(MCU)),)
|
||||
|
||||
@@ -245,6 +245,7 @@
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["x", "y"],
|
||||
"properties": {
|
||||
"label": {
|
||||
"type": "string",
|
||||
|
||||
@@ -356,8 +356,6 @@ qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
|
||||
And then simply use `TD(X_CTL)` anywhere in your keymap.
|
||||
|
||||
If you want to implement this in your userspace, then you may want to check out how [DanielGGordon](https://github.com/qmk/qmk_firmware/tree/master/users/gordon) has implemented this in their userspace.
|
||||
|
||||
> In this configuration "hold" takes place **after** tap dance timeout. To achieve instant hold, remove `state->interrupted` checks in conditions. As a result you may use comfortable longer tapping periods to have more time for taps and not to wait too long for holds (try starting with doubled `TAPPING_TERM`).
|
||||
|
||||
#### Example 5: Using tap dance for advanced mod-tap and layer-tap keys :id=example-5
|
||||
|
||||
@@ -340,8 +340,6 @@ qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
|
||||
これで、キーマップのどこでも簡単に `TD(X_CTL)` マクロが使えます。
|
||||
|
||||
もし、この機能をユーザスペースで実現したい場合、 [DanielGGordon](https://github.com/qmk/qmk_firmware/tree/master/users/gordon) がユーザスペースでどのように実装しているか確認してください。
|
||||
|
||||
> この設定の "hold" は、タップダンスのタイムアウト(`ACTION_TAP_DANCE_FN_ADVANCED_TIME` 参照)の **後** に起こります。即座に "hold" を得るためには、条件から `state->interrupted` の確認を除きます。結果として、複数回のタップのための時間をより多く持つことで快適な長いタップの期限を使うことができ、そして、"hold" のために長く待たないようにすることができます(2倍の `TAPPING TERM` で開始してみてください)。
|
||||
|
||||
#### 例5: タップダンスを高度なモッドタップとレイヤータップキーに使う :id=example-5
|
||||
|
||||
@@ -9,6 +9,12 @@ More info: https://geekhack.org/index.php?topic=103627.0
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make 4pplet/aekiso60/rev_a:default
|
||||
make 4pplet/aekiso60/rev_b:default
|
||||
|
||||
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).
|
||||
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).
|
||||
|
||||
How to enter bootloader (DFU):
|
||||
* Tap the physical reset button or short the reset-header (labled RESET) on tha back of the PCB for keyboard to enter DFU. When in DFU, it's ready to flash the firmware.
|
||||
|
||||
Alternative option if the firmware is already pre-flashed:
|
||||
* Unplug your keyboard, hold down the Spacebar and B at the same time, plug in your keyboard and wait a second before releasing the keys. The keyboard will enter DFU and is ready to flash the firmware.
|
||||
|
||||
20
keyboards/4pplet/aekiso60/rev_a/readme.md
Normal file
20
keyboards/4pplet/aekiso60/rev_a/readme.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# AEKISO60
|
||||
|
||||
A 60% PCB enabling use of ISO AEK keycaps and ALPS switches
|
||||
|
||||
More info: https://geekhack.org/index.php?topic=103627.0
|
||||
|
||||
* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
|
||||
* Hardware Supported: AEKISO60 Rev A
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make 4pplet/aekiso60/rev_a:default
|
||||
|
||||
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).
|
||||
|
||||
How to enter bootloader (DFU):
|
||||
* Tap the physical reset button or short the reset-header (labled RESET) on tha back of the PCB for keyboard to enter DFU. When in DFU, it's ready to flash the firmware.
|
||||
|
||||
Alternative option if the firmware is already pre-flashed:
|
||||
* Unplug your keyboard, hold down the Spacebar and B at the same time, plug in your keyboard and wait a second before releasing the keys. The keyboard will enter DFU and is ready to flash the firmware.
|
||||
57
keyboards/4pplet/aekiso60/rev_b/config.h
Normal file
57
keyboards/4pplet/aekiso60/rev_b/config.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <mail@4pplet.com>
|
||||
|
||||
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
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 14
|
||||
// ROWS: Top to bottom, COLS: Left to right
|
||||
|
||||
#define MATRIX_ROW_PINS {B15,A9,B7,A1,A2}
|
||||
#define MATRIX_COL_PINS {A3,A4,F1,F0,C15,C14,C13,B9,B8,B6,B5,B4,B3,A15}
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Set 0 if debouncing isn't needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
#define QMK_ESC_OUTPUT A3 // usually COL
|
||||
#define QMK_ESC_INPUT B14 // usually ROW
|
||||
|
||||
#define RGBLED_NUM 12
|
||||
#define WS2812_EXTERNAL_PULLUP
|
||||
#define RGB_DI_PIN A8
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
#define RGBLIGHT_EFFECT_KNIGHT
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
|
||||
#define LED_CAPS_LOCK_PIN A10
|
||||
|
||||
#define BACKLIGHT_LEVELS 5
|
||||
85
keyboards/4pplet/aekiso60/rev_b/info.json
Normal file
85
keyboards/4pplet/aekiso60/rev_b/info.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"keyboard_name": "AEKISO60 Rev B",
|
||||
"manufacturer": "4pplet",
|
||||
"url": "",
|
||||
"maintainer": "4pplet",
|
||||
"usb": {
|
||||
"vid": "0x4444",
|
||||
"pid": "0x0011",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [
|
||||
{"x":0, "y":0, "w":1.25},
|
||||
{"x":1.25, "y":0},
|
||||
{"x":2.25, "y":0},
|
||||
{"x":3.25, "y":0},
|
||||
{"x":4.25, "y":0},
|
||||
{"x":5.25, "y":0},
|
||||
{"x":6.25, "y":0},
|
||||
{"x":7.25, "y":0},
|
||||
{"x":8.25, "y":0},
|
||||
{"x":9.25, "y":0},
|
||||
{"x":10.25, "y":0},
|
||||
{"x":11.25, "y":0},
|
||||
{"x":12.25, "y":0},
|
||||
{"x":13.25, "y":0, "w":1.75},
|
||||
|
||||
{"x":0, "y":1, "w":1.75},
|
||||
{"x":1.75, "y":1},
|
||||
{"x":2.75, "y":1},
|
||||
{"x":3.75, "y":1},
|
||||
{"x":4.75, "y":1},
|
||||
{"x":5.75, "y":1},
|
||||
{"x":6.75, "y":1},
|
||||
{"x":7.75, "y":1},
|
||||
{"x":8.75, "y":1},
|
||||
{"x":9.75, "y":1},
|
||||
{"x":10.75, "y":1},
|
||||
{"x":11.75, "y":1},
|
||||
{"x":12.75, "y":1},
|
||||
|
||||
{"x":0, "y":2, "w":2},
|
||||
{"x":2, "y":2},
|
||||
{"x":3, "y":2},
|
||||
{"x":4, "y":2},
|
||||
{"x":5, "y":2},
|
||||
{"x":6, "y":2},
|
||||
{"x":7, "y":2},
|
||||
{"x":8, "y":2},
|
||||
{"x":9, "y":2},
|
||||
{"x":10, "y":2},
|
||||
{"x":11, "y":2},
|
||||
{"x":12, "y":2},
|
||||
{"x":13, "y":2},
|
||||
{"x":14, "y":1, "h":2},
|
||||
|
||||
{"x":0, "y":3, "w":1.5},
|
||||
{"x":1.5, "y":3},
|
||||
{"x":2.5, "y":3},
|
||||
{"x":3.5, "y":3},
|
||||
{"x":4.5, "y":3},
|
||||
{"x":5.5, "y":3},
|
||||
{"x":6.5, "y":3},
|
||||
{"x":7.5, "y":3},
|
||||
{"x":8.5, "y":3},
|
||||
{"x":9.5, "y":3},
|
||||
{"x":10.5, "y":3},
|
||||
{"x":11.5, "y":3},
|
||||
{"x":12.5, "y":3, "w":1.5},
|
||||
{"x":14, "y":3},
|
||||
|
||||
{"x":0, "y":4, "w":1.5},
|
||||
{"x":1.5, "y":4, "w":1.25},
|
||||
{"x":2.75, "y":4, "w":1.5},
|
||||
{"x":4.25, "y":4, "w":2.75},
|
||||
{"x":7, "y":4},
|
||||
{"x":8, "y":4, "w":2.75},
|
||||
{"x":10.75, "y":4, "w":1.5},
|
||||
{"x":12.25, "y":4, "w":1.25},
|
||||
{"x":13.5, "y":4, "w":1.5}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
21
keyboards/4pplet/aekiso60/rev_b/readme.md
Normal file
21
keyboards/4pplet/aekiso60/rev_b/readme.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# AEKISO60
|
||||
|
||||
A 60% PCB enabling use of ISO AEK keycaps and ALPS switches
|
||||
|
||||
More info: https://geekhack.org/index.php?topic=103627.0
|
||||
|
||||
* Keyboard Maintainer: [4pplet](https://github.com/4pplet)
|
||||
* Hardware Supported: AEKISO60
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make 4pplet/aekiso60/rev_a:default
|
||||
make 4pplet/aekiso60/rev_b:default
|
||||
|
||||
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).
|
||||
|
||||
How to enter bootloader (DFU):
|
||||
* Tap the physical reset button or short the reset-header (labled RESET) on tha back of the PCB for keyboard to enter DFU. When in DFU, it's ready to flash the firmware.
|
||||
|
||||
Alternative option if the firmware is already pre-flashed:
|
||||
* Unplug your keyboard, hold down the Spacebar and B at the same time, plug in your keyboard and wait a second before releasing the keys. The keyboard will enter DFU and is ready to flash the firmware.
|
||||
19
keyboards/4pplet/aekiso60/rev_b/rev_b.c
Normal file
19
keyboards/4pplet/aekiso60/rev_b/rev_b.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <4pplet@protonmail.com>
|
||||
|
||||
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/>.
|
||||
*/
|
||||
#include "rev_b.h"
|
||||
|
||||
|
||||
48
keyboards/4pplet/aekiso60/rev_b/rev_b.h
Normal file
48
keyboards/4pplet/aekiso60/rev_b/rev_b.h
Normal file
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
Copyright 2022 Stefan Sundin "4pplet" <4pplet@protonmail.com>
|
||||
|
||||
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
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
/* LAYOUT_all
|
||||
* ┌────┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬──────┐
|
||||
* │00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0a │0b │0c │0d │
|
||||
* ├────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬────┤
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1a │1b │1c │ │
|
||||
* ├──────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┐1d │
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2a │2b │2c │ │
|
||||
* ├─────┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴───┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3a │3b │3c │3d │
|
||||
* ├─────┼───┴┬──┴──┬┴───┴───┴─┬─┴─┬─┴───┴───┴┬──┴──┬┴───┬─┴───┤
|
||||
* │40 │41 │43 │44 │45 │46 │48 │4a │4b │
|
||||
* └─────┴────┴─────┴──────────┴───┴──────────┴─────┴────┴─────┘
|
||||
*/
|
||||
#define LAYOUT_all( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k1d, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \
|
||||
k40, k41, k43, k44, k45, k46, k48, k4a, k4b \
|
||||
) \
|
||||
{ \
|
||||
{k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d}, \
|
||||
{k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d}, \
|
||||
{k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, KC_NO},\
|
||||
{k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d}, \
|
||||
{k40, k41, KC_NO, k43, k44, k45, k46, KC_NO, k48, KC_NO, k4a, k4b, KC_NO, KC_NO} \
|
||||
}
|
||||
24
keyboards/4pplet/aekiso60/rev_b/rules.mk
Normal file
24
keyboards/4pplet/aekiso60/rev_b/rules.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
# MCU name
|
||||
MCU = STM32F072
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = stm32-dfu
|
||||
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
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
|
||||
NKRO_ENABLE = yes # Enable N-Key Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
# Wildcard to allow APM32 MCU
|
||||
DFU_SUFFIX_ARGS = -p FFFF -v FFFF
|
||||
|
||||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
@@ -51,73 +51,77 @@
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{ "label": "k00", "matrix": [0, 0], "w": 1, "x": 0, "y": 0 },
|
||||
{ "label": "k01", "matrix": [0, 1], "w": 1, "x": 1, "y": 0 },
|
||||
{ "label": "k02", "matrix": [0, 2], "w": 1, "x": 2, "y": 0 },
|
||||
{ "label": "k03", "matrix": [0, 3], "w": 1, "x": 3, "y": 0 },
|
||||
{ "label": "k04", "matrix": [0, 4], "w": 1, "x": 4, "y": 0 },
|
||||
{ "label": "k05", "matrix": [0, 5], "w": 1, "x": 5, "y": 0 },
|
||||
{ "label": "k06", "matrix": [0, 6], "w": 1, "x": 6, "y": 0 },
|
||||
{ "label": "k07", "matrix": [0, 7], "w": 1, "x": 7, "y": 0 },
|
||||
{ "label": "k08", "matrix": [0, 8], "w": 1, "x": 8, "y": 0 },
|
||||
{ "label": "k09", "matrix": [0, 9], "w": 1, "x": 9, "y": 0 },
|
||||
{ "label": "k0a", "matrix": [0, 10], "w": 1, "x": 10, "y": 0 },
|
||||
{ "label": "k0b", "matrix": [0, 11], "w": 1, "x": 11, "y": 0 },
|
||||
{ "label": "k0c", "matrix": [0, 12], "w": 1, "x": 12, "y": 0 },
|
||||
{ "label": "k0d", "matrix": [0, 13], "w": 1, "x": 13, "y": 0 },
|
||||
{ "label": "k10", "matrix": [1, 0], "w": 1, "x": 14, "y": 0 },
|
||||
{ "label": "k11", "matrix": [1, 1], "w": 1, "x": 15, "y": 0 },
|
||||
{ "label": "k12", "matrix": [1, 2], "w": 1, "x": 16, "y": 0 },
|
||||
{ "label": "k13", "matrix": [1, 3], "w": 1, "x": 17, "y": 0 },
|
||||
{ "label": "k14", "matrix": [1, 4], "w": 1, "x": 18, "y": 0 },
|
||||
{ "label": "k15", "matrix": [1, 5], "w": 1, "x": 19, "y": 0 },
|
||||
{ "label": "k16", "matrix": [1, 6], "w": 1, "x": 20, "y": 0 },
|
||||
{ "label": "k17", "matrix": [1, 7], "w": 1, "x": 21, "y": 0 },
|
||||
{ "label": "k18", "matrix": [1, 8], "w": 1, "x": 22, "y": 0 },
|
||||
{ "label": "k19", "matrix": [1, 9], "w": 1, "x": 23, "y": 0 },
|
||||
{ "label": "k1a", "matrix": [1, 10], "w": 1, "x": 24, "y": 0 },
|
||||
{ "label": "k1b", "matrix": [1, 11], "w": 1, "x": 25, "y": 0 },
|
||||
{ "label": "k1c", "matrix": [1, 12], "w": 1, "x": 26, "y": 0 },
|
||||
{ "label": "k1d", "matrix": [1, 13], "w": 1, "x": 27, "y": 0 },
|
||||
{ "label": "k20", "matrix": [2, 0], "w": 1, "x": 28, "y": 0 },
|
||||
{ "label": "k21", "matrix": [2, 1], "w": 1, "x": 29, "y": 0 },
|
||||
{ "label": "k22", "matrix": [2, 2], "w": 1, "x": 30, "y": 0 },
|
||||
{ "label": "k23", "matrix": [2, 3], "w": 1, "x": 31, "y": 0 },
|
||||
{ "label": "k24", "matrix": [2, 4], "w": 1, "x": 32, "y": 0 },
|
||||
{ "label": "k25", "matrix": [2, 5], "w": 1, "x": 33, "y": 0 },
|
||||
{ "label": "k26", "matrix": [2, 6], "w": 1, "x": 34, "y": 0 },
|
||||
{ "label": "k27", "matrix": [2, 7], "w": 1, "x": 35, "y": 0 },
|
||||
{ "label": "k28", "matrix": [2, 8], "w": 1, "x": 36, "y": 0 },
|
||||
{ "label": "k29", "matrix": [2, 9], "w": 1, "x": 37, "y": 0 },
|
||||
{ "label": "k2a", "matrix": [2, 10], "w": 1, "x": 38, "y": 0 },
|
||||
{ "label": "k2b", "matrix": [2, 11], "w": 1, "x": 39, "y": 0 },
|
||||
{ "label": "k2c", "matrix": [2, 12], "w": 1, "x": 40, "y": 0 },
|
||||
{ "label": "k2d", "matrix": [2, 13], "w": 1, "x": 41, "y": 0 },
|
||||
{ "label": "k30", "matrix": [3, 0], "w": 1, "x": 42, "y": 0 },
|
||||
{ "label": "k31", "matrix": [3, 1], "w": 1, "x": 43, "y": 0 },
|
||||
{ "label": "k32", "matrix": [3, 2], "w": 1, "x": 44, "y": 0 },
|
||||
{ "label": "k33", "matrix": [3, 3], "w": 1, "x": 45, "y": 0 },
|
||||
{ "label": "k34", "matrix": [3, 4], "w": 1, "x": 46, "y": 0 },
|
||||
{ "label": "k35", "matrix": [3, 5], "w": 1, "x": 47, "y": 0 },
|
||||
{ "label": "k36", "matrix": [3, 6], "w": 1, "x": 48, "y": 0 },
|
||||
{ "label": "k37", "matrix": [3, 7], "w": 1, "x": 49, "y": 0 },
|
||||
{ "label": "k38", "matrix": [3, 8], "w": 1, "x": 50, "y": 0 },
|
||||
{ "label": "k39", "matrix": [3, 9], "w": 1, "x": 51, "y": 0 },
|
||||
{ "label": "k3a", "matrix": [3, 10], "w": 1, "x": 52, "y": 0 },
|
||||
{ "label": "k3b", "matrix": [3, 11], "w": 1, "x": 53, "y": 0 },
|
||||
{ "label": "k3c", "matrix": [3, 12], "w": 1, "x": 54, "y": 0 },
|
||||
{ "label": "k3d", "matrix": [3, 13], "w": 1, "x": 55, "y": 0 },
|
||||
{ "label": "k40", "matrix": [4, 0], "w": 1, "x": 56, "y": 0 },
|
||||
{ "label": "k41", "matrix": [4, 1], "w": 1, "x": 57, "y": 0 },
|
||||
{ "label": "k42", "matrix": [4, 2], "w": 1, "x": 58, "y": 0 },
|
||||
{ "label": "k43", "matrix": [4, 3], "w": 1, "x": 59, "y": 0 },
|
||||
{ "label": "k46", "matrix": [4, 6], "w": 1, "x": 60, "y": 0 },
|
||||
{ "label": "k49", "matrix": [4, 9], "w": 1, "x": 61, "y": 0 },
|
||||
{ "label": "k4a", "matrix": [4, 10], "w": 1, "x": 62, "y": 0 },
|
||||
{ "label": "k4b", "matrix": [4, 11], "w": 1, "x": 63, "y": 0 },
|
||||
{ "label": "k4c", "matrix": [4, 12], "w": 1, "x": 64, "y": 0 },
|
||||
{ "label": "k4d", "matrix": [4, 13], "w": 1, "x": 65, "y": 0 }
|
||||
{ "label": "Esc", "matrix": [0, 0], "x": 0, "y": 0 },
|
||||
{ "label": "1!", "matrix": [0, 1], "x": 1, "y": 0 },
|
||||
{ "label": "2@", "matrix": [0, 2], "x": 2, "y": 0 },
|
||||
{ "label": "3#", "matrix": [0, 3], "x": 3, "y": 0 },
|
||||
{ "label": "4$", "matrix": [0, 4], "x": 4, "y": 0 },
|
||||
{ "label": "5%", "matrix": [0, 5], "x": 5, "y": 0 },
|
||||
{ "label": "6^", "matrix": [0, 6], "x": 6, "y": 0 },
|
||||
{ "label": "7&", "matrix": [0, 7], "x": 7, "y": 0 },
|
||||
{ "label": "8*", "matrix": [0, 8], "x": 8, "y": 0 },
|
||||
{ "label": "9(", "matrix": [0, 9], "x": 9, "y": 0 },
|
||||
{ "label": "0)", "matrix": [0, 10], "x": 10, "y": 0 },
|
||||
{ "label": "-_", "matrix": [0, 11], "x": 11, "y": 0 },
|
||||
{ "label": "=+", "matrix": [0, 12], "x": 12, "y": 0 },
|
||||
{ "label": "Delete", "matrix": [0, 13], "x": 13, "y": 0, "w": 1.5 },
|
||||
|
||||
{ "label": "Tab", "matrix": [1, 0], "x": 0, "y": 1, "w": 1.5 },
|
||||
{ "label": "Q", "matrix": [1, 1], "x": 1.5, "y": 1 },
|
||||
{ "label": "W", "matrix": [1, 2], "x": 2.5, "y": 1 },
|
||||
{ "label": "E", "matrix": [1, 3], "x": 3.5, "y": 1 },
|
||||
{ "label": "R", "matrix": [1, 4], "x": 4.5, "y": 1 },
|
||||
{ "label": "T", "matrix": [1, 5], "x": 5.5, "y": 1 },
|
||||
{ "label": "Y", "matrix": [1, 6], "x": 6.5, "y": 1 },
|
||||
{ "label": "U", "matrix": [1, 7], "x": 7.5, "y": 1 },
|
||||
{ "label": "I", "matrix": [1, 8], "x": 8.5, "y": 1 },
|
||||
{ "label": "O", "matrix": [1, 9], "x": 9.5, "y": 1 },
|
||||
{ "label": "P", "matrix": [1, 10], "x": 10.5, "y": 1 },
|
||||
{ "label": "[{", "matrix": [1, 11], "x": 11.5, "y": 1 },
|
||||
{ "label": "]}", "matrix": [1, 12], "x": 12.5, "y": 1 },
|
||||
{ "label": "\\|", "matrix": [1, 13], "x": 13.5, "y": 1 },
|
||||
|
||||
{ "label": "Ctrl", "matrix": [2, 0], "x": 0, "y": 2, "w": 1.75 },
|
||||
{ "label": "A", "matrix": [2, 1], "x": 1.75, "y": 2 },
|
||||
{ "label": "S", "matrix": [2, 2], "x": 2.75, "y": 2 },
|
||||
{ "label": "D", "matrix": [2, 3], "x": 3.75, "y": 2 },
|
||||
{ "label": "F", "matrix": [2, 4], "x": 4.75, "y": 2 },
|
||||
{ "label": "G", "matrix": [2, 5], "x": 5.75, "y": 2 },
|
||||
{ "label": "H", "matrix": [2, 6], "x": 6.75, "y": 2 },
|
||||
{ "label": "J", "matrix": [2, 7], "x": 7.75, "y": 2 },
|
||||
{ "label": "K", "matrix": [2, 8], "x": 8.75, "y": 2 },
|
||||
{ "label": "L", "matrix": [2, 9], "x": 9.75, "y": 2 },
|
||||
{ "label": ";:", "matrix": [2, 10], "x": 10.75, "y": 2 },
|
||||
{ "label": "'\"", "matrix": [2, 11], "x": 11.75, "y": 2 },
|
||||
{ "label": "#~", "matrix": [2, 12], "x": 12.75, "y": 2, "w": 0.75 },
|
||||
{ "label": "Enter", "matrix": [2, 13], "x": 13.5, "y": 2 },
|
||||
|
||||
{ "label": "Shift", "matrix": [3, 0], "x": 0, "y": 3, "w": 1.25 },
|
||||
{ "label": "\\|", "matrix": [3, 1], "x": 1.25, "y": 3 },
|
||||
{ "label": "Z", "matrix": [3, 2], "x": 2.25, "y": 3 },
|
||||
{ "label": "X", "matrix": [3, 3], "x": 3.25, "y": 3 },
|
||||
{ "label": "C", "matrix": [3, 4], "x": 4.25, "y": 3 },
|
||||
{ "label": "V", "matrix": [3, 5], "x": 5.25, "y": 3 },
|
||||
{ "label": "B", "matrix": [3, 6], "x": 6.25, "y": 3 },
|
||||
{ "label": "N", "matrix": [3, 7], "x": 7.25, "y": 3 },
|
||||
{ "label": "M", "matrix": [3, 8], "x": 8.25, "y": 3 },
|
||||
{ "label": ",<", "matrix": [3, 9], "x": 9.25, "y": 3 },
|
||||
{ "label": ".>", "matrix": [3, 10], "x": 10.25, "y": 3 },
|
||||
{ "label": "/?", "matrix": [3, 11], "x": 11.25, "y": 3 },
|
||||
{ "label": "Shift", "matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.25 },
|
||||
{ "label": "Fn", "matrix": [3, 13], "x": 13.5, "y": 3 },
|
||||
|
||||
{ "label": "Caps Lock", "matrix": [4, 0], "x": 0, "y": 4 },
|
||||
{ "label": "Alt", "matrix": [4, 1], "x": 1, "y": 4 },
|
||||
{ "label": "GUI", "matrix": [4, 2], "x": 2, "y": 4, "w": 1.75 },
|
||||
{ "label": "`~", "matrix": [4, 3], "x": 3.75, "y": 4 },
|
||||
{ "label": "Space", "matrix": [4, 6], "x": 4.75, "y": 4, "w": 4.75 },
|
||||
{ "label": "\\|", "matrix": [4, 9], "x": 9.5, "y": 4 },
|
||||
{ "label": "\u2190", "matrix": [4, 10], "x": 10.5, "y": 4 },
|
||||
{ "label": "\u2192", "matrix": [4, 11], "x": 11.5, "y": 4 },
|
||||
{ "label": "\u2193", "matrix": [4, 12], "x": 12.5, "y": 4 },
|
||||
{ "label": "\u2191", "matrix": [4, 13], "x": 13.5, "y": 4 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,37 +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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_DRIVER SPID0
|
||||
#define SPI_MISO_PIN GP20
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
@@ -1,6 +0,0 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See https://github.com/plut0nium/0xB2/#releases to figure out the right version
|
||||
for you (v2 and v3) supported.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -20,6 +20,16 @@
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* 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
|
||||
@@ -29,7 +39,10 @@
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_DRIVER SPID0
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MISO_PIN GP20
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
5
keyboards/bastardkb/charybdis/3x5/v2/splinky_2/readme.md
Normal file
5
keyboards/bastardkb/charybdis/3x5/v2/splinky_2/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
@@ -35,5 +35,3 @@ POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
DEFAULT_FOLDER = bastardkb/charybdis/3x5/v2/splinky/v3
|
||||
50
keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h
Normal file
50
keyboards/bastardkb/charybdis/3x5/v2/splinky_3/config.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* 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.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* 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
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
6
keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json
Normal file
6
keyboards/bastardkb/charybdis/3x5/v2/splinky_3/info.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Nano (3x5) Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
5
keyboards/bastardkb/charybdis/3x5/v2/splinky_3/readme.md
Normal file
5
keyboards/bastardkb/charybdis/3x5/v2/splinky_3/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
@@ -28,11 +28,10 @@ RGB_MATRIX_ENABLE = yes # Enable keyboard RGB matrix functionality
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
LAYOUTS = split_3x5_3
|
||||
|
||||
POINTING_DEVICE_ENABLE = yes # Enable trackball
|
||||
POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
DEFAULT_FOLDER = bastardkb/charybdis/4x6/v2/splinky/v3
|
||||
@@ -1,6 +0,0 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See https://github.com/plut0nium/0xB2/#releases to figure out the right version
|
||||
for you (v2 and v3) supported.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
50
keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h
Normal file
50
keyboards/bastardkb/charybdis/3x6/v2/splinky_2/config.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* 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
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_DRIVER SPID0
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MISO_PIN GP20
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
5
keyboards/bastardkb/charybdis/3x6/v2/splinky_2/readme.md
Normal file
5
keyboards/bastardkb/charybdis/3x6/v2/splinky_2/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
@@ -35,5 +35,3 @@ POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
DEFAULT_FOLDER = bastardkb/charybdis/3x6/v2/splinky/v3
|
||||
50
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h
Normal file
50
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/config.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* 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.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* 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
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
6
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json
Normal file
6
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/info.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis Mini (3x6) Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
@@ -17,17 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#include_next "mcuconf.h"
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
#undef RP_SPI_USE_SPI0
|
||||
#define RP_SPI_USE_SPI0 TRUE
|
||||
5
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/readme.md
Normal file
5
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
37
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/rules.mk
Normal file
37
keyboards/bastardkb/charybdis/3x6/v2/splinky_3/rules.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = rp2040
|
||||
|
||||
# RP2040-specific options
|
||||
ALLOW_WARNINGS = yes
|
||||
PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS.
|
||||
|
||||
# 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
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
LAYOUTS = split_3x6_3
|
||||
|
||||
POINTING_DEVICE_ENABLE = yes # Enable trackball
|
||||
POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
@@ -1,6 +0,0 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See https://github.com/plut0nium/0xB2/#releases to figure out the right version
|
||||
for you (v2 and v3) supported.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -20,6 +20,16 @@
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP29, GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* 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
|
||||
@@ -29,7 +39,10 @@
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_DRIVER SPID0
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MISO_PIN GP20
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
@@ -17,17 +17,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#include_next "mcuconf.h"
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
#undef RP_SPI_USE_SPI0
|
||||
#define RP_SPI_USE_SPI0 TRUE
|
||||
5
keyboards/bastardkb/charybdis/4x6/v2/splinky_2/readme.md
Normal file
5
keyboards/bastardkb/charybdis/4x6/v2/splinky_2/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
36
keyboards/bastardkb/charybdis/4x6/v2/splinky_2/rules.mk
Normal file
36
keyboards/bastardkb/charybdis/4x6/v2/splinky_2/rules.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = rp2040
|
||||
|
||||
# RP2040-specific options
|
||||
ALLOW_WARNINGS = yes
|
||||
PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS.
|
||||
|
||||
# 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
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
POINTING_DEVICE_ENABLE = yes # Enable trackball
|
||||
POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
50
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h
Normal file
50
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/config.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP29, GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* 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.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* 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
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
6
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json
Normal file
6
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/info.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Charybdis (4x6) Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
23
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/mcuconf.h
Normal file
23
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/mcuconf.h
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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
|
||||
|
||||
#include_next "mcuconf.h"
|
||||
|
||||
#undef RP_SPI_USE_SPI0
|
||||
#define RP_SPI_USE_SPI0 TRUE
|
||||
5
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/readme.md
Normal file
5
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
36
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/rules.mk
Normal file
36
keyboards/bastardkb/charybdis/4x6/v2/splinky_3/rules.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = rp2040
|
||||
|
||||
# RP2040-specific options
|
||||
ALLOW_WARNINGS = yes
|
||||
PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS.
|
||||
|
||||
# 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
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
POINTING_DEVICE_ENABLE = yes # Enable trackball
|
||||
POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
@@ -1,6 +0,0 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See https://github.com/plut0nium/0xB2/#releases to figure out the right version
|
||||
for you (v2 and v3) supported.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -18,14 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP29, GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
@@ -33,3 +30,14 @@
|
||||
// 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
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
5
keyboards/bastardkb/scylla/v2/splinky_2/readme.md
Normal file
5
keyboards/bastardkb/scylla/v2/splinky_2/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
@@ -31,5 +31,3 @@ SPLIT_KEYBOARD = yes
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
DEFAULT_FOLDER = bastardkb/scylla/v2/splinky/v3
|
||||
@@ -18,14 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP29, GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_SCK_PIN GP22
|
||||
#define SPI_MOSI_PIN GP23
|
||||
#define POINTING_DEVICE_CS_PIN GP16
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
@@ -33,3 +30,14 @@
|
||||
// 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.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
6
keyboards/bastardkb/scylla/v2/splinky_3/info.json
Normal file
6
keyboards/bastardkb/scylla/v2/splinky_3/info.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Scylla Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
5
keyboards/bastardkb/scylla/v2/splinky_3/readme.md
Normal file
5
keyboards/bastardkb/scylla/v2/splinky_3/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
33
keyboards/bastardkb/scylla/v2/splinky_3/rules.mk
Normal file
33
keyboards/bastardkb/scylla/v2/splinky_3/rules.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = rp2040
|
||||
|
||||
# RP2040-specific options
|
||||
ALLOW_WARNINGS = yes
|
||||
PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS.
|
||||
|
||||
# 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
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
@@ -1,6 +0,0 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See https://github.com/plut0nium/0xB2/#releases to figure out the right version
|
||||
for you (v2 and v3) supported.
|
||||
@@ -1,30 +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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* 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.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -1,30 +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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* 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,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -18,14 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
@@ -33,3 +30,14 @@
|
||||
// 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
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
5
keyboards/bastardkb/skeletyl/v2/splinky_2/readme.md
Normal file
5
keyboards/bastardkb/skeletyl/v2/splinky_2/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
@@ -32,5 +32,3 @@ LAYOUTS = split_3x5_3
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
DEFAULT_FOLDER = bastardkb/skeletyl/v2/splinky/v3
|
||||
@@ -18,14 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_SCK_PIN GP22
|
||||
#define SPI_MOSI_PIN GP23
|
||||
#define POINTING_DEVICE_CS_PIN GP16
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
@@ -33,3 +30,14 @@
|
||||
// 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.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
6
keyboards/bastardkb/skeletyl/v2/splinky_3/info.json
Normal file
6
keyboards/bastardkb/skeletyl/v2/splinky_3/info.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "Skeletyl Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
5
keyboards/bastardkb/skeletyl/v2/splinky_3/readme.md
Normal file
5
keyboards/bastardkb/skeletyl/v2/splinky_3/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
34
keyboards/bastardkb/skeletyl/v2/splinky_3/rules.mk
Normal file
34
keyboards/bastardkb/skeletyl/v2/splinky_3/rules.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = rp2040
|
||||
|
||||
# RP2040-specific options
|
||||
ALLOW_WARNINGS = yes
|
||||
PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS.
|
||||
|
||||
# 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
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
LAYOUTS = split_3x5_3
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
@@ -1,6 +0,0 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See https://github.com/plut0nium/0xB2/#releases to figure out the right version
|
||||
for you (v2 and v3) supported.
|
||||
@@ -1,30 +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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* 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.
|
||||
@@ -1,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -1,30 +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
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* 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,2 +0,0 @@
|
||||
# Intentionally blank so that QMK detects this folder as a valid keyboard
|
||||
# parameter.
|
||||
@@ -18,14 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP15, GP6, GP7, GP8 }
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_SCK_PIN GP18
|
||||
#define SPI_MOSI_PIN GP19
|
||||
#define POINTING_DEVICE_CS_PIN GP14
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
@@ -33,3 +30,14 @@
|
||||
// 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
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
5
keyboards/bastardkb/tbkmini/v2/splinky_2/readme.md
Normal file
5
keyboards/bastardkb/tbkmini/v2/splinky_2/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
@@ -32,5 +32,3 @@ LAYOUTS = split_3x6_3
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
|
||||
DEFAULT_FOLDER = bastardkb/tbkmini/v2/splinky/v3
|
||||
@@ -18,14 +18,11 @@
|
||||
#pragma once
|
||||
|
||||
/* Key matrix configuration. */
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ GP26, GP5, GP4, GP9 }
|
||||
#define MATRIX_COL_PINS \
|
||||
{ GP27, GP28, GP21, GP6, GP7, GP8 }
|
||||
|
||||
/* SPI & PMW3360 settings. */
|
||||
#define SPI_SCK_PIN GP22
|
||||
#define SPI_MOSI_PIN GP23
|
||||
#define POINTING_DEVICE_CS_PIN GP16
|
||||
|
||||
/* Handedness. */
|
||||
#define MASTER_RIGHT
|
||||
|
||||
@@ -33,3 +30,14 @@
|
||||
// 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.
|
||||
|
||||
/* serial.c configuration (for split keyboard). */
|
||||
#define SOFT_SERIAL_PIN GP1
|
||||
|
||||
/* RGB settings. */
|
||||
#define RGB_DI_PIN GP0
|
||||
|
||||
/* Reset. */
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP17
|
||||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U
|
||||
6
keyboards/bastardkb/tbkmini/v2/splinky_3/info.json
Normal file
6
keyboards/bastardkb/tbkmini/v2/splinky_3/info.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"keyboard_name": "TBK Mini Splinky",
|
||||
"usb": {
|
||||
"device_version": "2.0.0"
|
||||
}
|
||||
}
|
||||
5
keyboards/bastardkb/tbkmini/v2/splinky_3/readme.md
Normal file
5
keyboards/bastardkb/tbkmini/v2/splinky_3/readme.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Splinky controller
|
||||
|
||||
The splinky is a Pro-Micro/Elite-C replacement with USB-C and RP2040.
|
||||
|
||||
See [plut0nium/0xB2](https://github.com/plut0nium/0xB2/#releases) to figure out the right version for you (v2 or v3).
|
||||
34
keyboards/bastardkb/tbkmini/v2/splinky_3/rules.mk
Normal file
34
keyboards/bastardkb/tbkmini/v2/splinky_3/rules.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
# MCU name
|
||||
MCU = RP2040
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = rp2040
|
||||
|
||||
# RP2040-specific options
|
||||
ALLOW_WARNINGS = yes
|
||||
PICO_INTRINSICS_ENABLED = no # ATM Unsupported by ChibiOS.
|
||||
|
||||
# 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
|
||||
RGB_MATRIX_DRIVER = WS2812
|
||||
|
||||
SPLIT_KEYBOARD = yes
|
||||
LAYOUTS = split_3x6_3
|
||||
|
||||
SERIAL_DRIVER = vendor
|
||||
WS2812_DRIVER = vendor
|
||||
@@ -2,12 +2,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
|
||||
#define RGB_MATRIX_LED_COUNT 70
|
||||
#define RGB_MATRIX_SPLIT { 35, 35 }
|
||||
#define ENABLE_RGB_MATRIX_ALPHAS_MODS
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
||||
#define ENABLE_RGB_MATRIX_BREATHING
|
||||
#define ENABLE_RGB_MATRIX_BAND_SAT
|
||||
#define ENABLE_RGB_MATRIX_BAND_VAL
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgb_matrix": true,
|
||||
"oled": true
|
||||
"oled": true,
|
||||
"encoder": true
|
||||
},
|
||||
"url": "https://boardsource.xyz/projects/60de24d6847112054777bbdd",
|
||||
"usb": {
|
||||
@@ -20,15 +21,18 @@
|
||||
"split": {
|
||||
"enabled": true
|
||||
},
|
||||
"encoder": {
|
||||
"enabled": true
|
||||
},
|
||||
"matrix_size": {
|
||||
"cols": 6,
|
||||
"rows": 10
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812",
|
||||
"split_count": [35, 35],
|
||||
"max_brightness": 150,
|
||||
"animations": {
|
||||
"alphas_mods": true,
|
||||
"gradient_up_down": true,
|
||||
"gradient_left_right": true,
|
||||
"breathing": true,
|
||||
"band_sat": true,
|
||||
"band_val": true
|
||||
},
|
||||
"layout": [
|
||||
{ "flags": 2, "x": 86, "y": 55 },
|
||||
{ "flags": 2, "x": 51, "y": 55 },
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
enum layers {
|
||||
_QWERTY,
|
||||
_RAISE,
|
||||
_LOWER,
|
||||
_RAISE,
|
||||
_ADJUST
|
||||
};
|
||||
|
||||
@@ -102,3 +102,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
_______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
||||
|
||||
#ifdef ENCODER_MAP_ENABLE
|
||||
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
|
||||
[_QWERTY] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_PGUP, KC_PGDN) },
|
||||
[_LOWER] = { ENCODER_CCW_CW(RGB_RMOD, RGB_MOD), ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
|
||||
[_RAISE] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI), ENCODER_CCW_CW(RGB_HUD, RGB_HUI) },
|
||||
[_ADJUST] = { ENCODER_CCW_CW(_______, _______), ENCODER_CCW_CW(_______, _______) }
|
||||
};
|
||||
#endif
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
VIA_ENABLE = yes
|
||||
VIA_ENABLE = yes
|
||||
ENCODER_MAP_ENABLE = yes
|
||||
|
||||
@@ -9,3 +9,4 @@
|
||||
#define I2C_DRIVER I2CD2
|
||||
#define I2C1_SDA_PIN GP22
|
||||
#define I2C1_SCL_PIN GP23
|
||||
#define RGB_DI_PIN GP29
|
||||
|
||||
@@ -5,10 +5,6 @@
|
||||
"rows": ["GP14", "GP15", "GP16", "GP17", "GP18"]
|
||||
},
|
||||
"processor": "RP2040",
|
||||
"rgblight": {
|
||||
"pin": "GP29",
|
||||
"led_count": 70
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{ "pin_a": "GP8", "pin_b": "GP9" }
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
#include "modelm101.h"
|
||||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
void led_init_ports(void) {
|
||||
/* Setting status LEDs pins to output and +5V (off) */
|
||||
setPinOutput(B4);
|
||||
setPinOutput(B5);
|
||||
@@ -25,22 +25,12 @@ void keyboard_pre_init_kb(void) {
|
||||
writePinHigh(B6);
|
||||
}
|
||||
|
||||
void led_set_kb(uint8_t usb_led) {
|
||||
if (usb_led & (1<<USB_LED_NUM_LOCK)) {
|
||||
writePinLow(B4);
|
||||
} else {
|
||||
writePinHigh(B4);
|
||||
bool led_update_kb(led_t led_state) {
|
||||
bool res = led_update_user(led_state);
|
||||
if(res) {
|
||||
writePin(B4, !led_state.num_lock);
|
||||
writePin(B6, !led_state.caps_lock);
|
||||
writePin(B5, !led_state.scroll_lock);
|
||||
}
|
||||
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
|
||||
writePinLow(B6);
|
||||
} else {
|
||||
writePinHigh(B6);
|
||||
}
|
||||
if (usb_led & (1<<USB_LED_SCROLL_LOCK)) {
|
||||
writePinLow(B5);
|
||||
} else {
|
||||
writePinHigh(B5);
|
||||
}
|
||||
|
||||
led_set_user(usb_led);
|
||||
return res;
|
||||
}
|
||||
|
||||
39
keyboards/cosmo65/config.h
Normal file
39
keyboards/cosmo65/config.h
Normal file
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
Copyright 2022 BentoBox Studio
|
||||
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
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* RGB Lighting */
|
||||
#define RGB_DI_PIN F7
|
||||
#define RGBLED_NUM 16
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
||||
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
#define RGBLIGHT_EFFECT_SNAKE
|
||||
#define RGBLIGHT_EFFECT_KNIGHT
|
||||
#define RGBLIGHT_EFFECT_CHRISTMAS
|
||||
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 5
|
||||
#define MATRIX_COLS 14
|
||||
|
||||
/* keyboard matrix assignments */
|
||||
#define MATRIX_ROW_PINS { D5, D0, F0, F5, F4 }
|
||||
#define MATRIX_COL_PINS { E6, D4, D6, D7, B4, B5, B6, C6, C7, D1, D2, D3, F1, F6 }
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
31
keyboards/cosmo65/cosmo65.h
Normal file
31
keyboards/cosmo65/cosmo65.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
Copyright 2022 BentoBox Studio
|
||||
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
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, k013, \
|
||||
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112, k113, \
|
||||
k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212, \
|
||||
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312, \
|
||||
k40, k41, k42, k43, k44, k45, k46, k49, k410, k411, k412, k413 \
|
||||
) { \
|
||||
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k010, k011, k012, k013 }, \
|
||||
{ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k110, k111, k112, k113 }, \
|
||||
{ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k210, k211, k212, KC_NO }, \
|
||||
{ k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k310, k311, k312, KC_NO }, \
|
||||
{ k40, k41, k42, k43, k44, k45, k46, KC_NO, KC_NO, k49, k410, k411, k412, k413 } \
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user