prepare for Aurora Sweep

let's see if I can solder it...
This commit is contained in:
Christoph Cullmann 2024-12-13 22:22:05 +01:00
parent aff0953a93
commit 10e3e34f88
No known key found for this signature in database
7 changed files with 61 additions and 10 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
*.bin *.bin
*.hex *.hex
*.uf2

View file

@ -34,24 +34,32 @@ You need to have a locally setup QMK and use this repo as overlay:
qmk config user.overlay_dir="/data/home/cullmann/data/qmk/christoph-cullmann" qmk config user.overlay_dir="/data/home/cullmann/data/qmk/christoph-cullmann"
``` ```
To use my keymaps, do for the Corne To use my keymaps, one can do:
Aurora Sweep
```zsh
qmk flash -kb splitkb/aurora/sweep/rev1 -km christoph-cullmann
```
Ferris Sweep
```zsh
qmk flash -kb ferris/sweep -km christoph-cullmann
```
Corne
```zsh ```zsh
qmk flash -kb crkbd/rev1 -km christoph-cullmann qmk flash -kb crkbd/rev1 -km christoph-cullmann
``` ```
or for the Planck Planck
```zsh ```zsh
qmk flash -kb planck/rev6_drop -km christoph-cullmann qmk flash -kb planck/rev6_drop -km christoph-cullmann
``` ```
or for the Ferris
```zsh
qmk flash -kb ferris/sweep -km christoph-cullmann
```
# Foundation # Foundation
Based on ideas and code from: Based on ideas and code from:

View file

@ -107,7 +107,7 @@ bool get_chordal_hold(uint16_t tap_hold_keycode, keyrecord_t* tap_hold_record,
return get_chordal_hold_default(tap_hold_record, other_record); return get_chordal_hold_default(tap_hold_record, other_record);
} }
#ifndef NO_LED #ifndef CC_NO_LED
void keyboard_post_init_user(void) { void keyboard_post_init_user(void) {
// always use the same effect // always use the same effect

View file

@ -21,7 +21,7 @@ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29
) )
// no led // no led
#define NO_LED #define CC_NO_LED
// our shared 42 keys keymap // our shared 42 keys keymap
#include "common/keymap.h" #include "common/keymap.h"

View file

@ -0,0 +1,9 @@
/**
* SPDX-FileCopyrightText: 2024 Christoph Cullmann <christoph@cullmann.io>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
// our shared config parts
#include "common/config.h"

View file

@ -0,0 +1,27 @@
/**
* SPDX-FileCopyrightText: 2024 Christoph Cullmann <christoph@cullmann.io>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include QMK_KEYBOARD_H
// layout helper macro, we just use 42 keys
#undef LAYOUT
#define LAYOUT(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
K30, K31, K32, K33\
)\
LAYOUT_split_3x5_2(\
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09,\
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19,\
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29,\
K30, K31, K32, K33\
)
// no led
#define CC_NO_LED
// our shared 42 keys keymap
#include "common/keymap.h"

View file

@ -0,0 +1,6 @@
# include common settings
ROOT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
include ${ROOT_DIR}../../../../../../rules.mk
# we use an Liatris cpu
CONVERT_TO=liatris