diff --git a/.gitignore b/.gitignore index 34f1d9d..fbf203f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.bin *.hex +*.uf2 diff --git a/README.md b/README.md index 0275e7f..b7422fb 100644 --- a/README.md +++ b/README.md @@ -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" ``` -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 qmk flash -kb crkbd/rev1 -km christoph-cullmann ``` -or for the Planck +Planck ```zsh qmk flash -kb planck/rev6_drop -km christoph-cullmann ``` -or for the Ferris - -```zsh -qmk flash -kb ferris/sweep -km christoph-cullmann -``` - # Foundation Based on ideas and code from: diff --git a/common/keymap.h b/common/keymap.h index 42e5380..2af3c81 100644 --- a/common/keymap.h +++ b/common/keymap.h @@ -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); } -#ifndef NO_LED +#ifndef CC_NO_LED void keyboard_post_init_user(void) { // always use the same effect diff --git a/keyboards/ferris/keymaps/christoph-cullmann/keymap.c b/keyboards/ferris/keymaps/christoph-cullmann/keymap.c index daa693b..f4e9197 100644 --- a/keyboards/ferris/keymaps/christoph-cullmann/keymap.c +++ b/keyboards/ferris/keymaps/christoph-cullmann/keymap.c @@ -21,7 +21,7 @@ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 ) // no led -#define NO_LED +#define CC_NO_LED // our shared 42 keys keymap #include "common/keymap.h" diff --git a/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/config.h b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/config.h new file mode 100644 index 0000000..ae8e70b --- /dev/null +++ b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/config.h @@ -0,0 +1,9 @@ +/** + * SPDX-FileCopyrightText: 2024 Christoph Cullmann + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#pragma once + +// our shared config parts +#include "common/config.h" diff --git a/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c new file mode 100644 index 0000000..f4e9197 --- /dev/null +++ b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/keymap.c @@ -0,0 +1,27 @@ +/** + * SPDX-FileCopyrightText: 2024 Christoph Cullmann + * 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" diff --git a/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/rules.mk b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/rules.mk new file mode 100644 index 0000000..6b2cdc1 --- /dev/null +++ b/keyboards/splitkb/aurora/sweep/keymaps/christoph-cullmann/rules.mk @@ -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