share more code

This commit is contained in:
Christoph Cullmann 2023-10-03 15:30:08 +02:00
parent 7d77543667
commit 504f362d96
9 changed files with 31 additions and 67 deletions

View file

@ -20,3 +20,10 @@ Layout with 34 keys, using Canary with thumb e hack:
LH/RH: 42.13% | 57.87% LH/RH: 42.13% | 57.87%
The ; in the layout is used to switch to some magic layer. The ; in the layout is used to switch to some magic layer.
ATM this needs to be cloned to
/home/cullmann/install/qmk/christoph-cullmann
to work properly.

View file

@ -30,7 +30,7 @@
// details see https://precondition.github.io/home-row-mods // details see https://precondition.github.io/home-row-mods
// the default is 200 // the default is 200
#define TAPPING_TERM 180 #define TAPPING_TERM 175
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. // Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
#define QUICK_TAP_TERM 0 #define QUICK_TAP_TERM 0

14
common/rules.mk Normal file
View file

@ -0,0 +1,14 @@
# allow to use 'qmk console'
CONSOLE_ENABLE = yes
# Enable N-Key Rollover
NKRO_ENABLE = yes
# less features we don't use
MOUSEKEY_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
# add achordion to improve home row modifiers
SRC += /home/cullmann/install/qmk/christoph-cullmann/common/achordion.c

View file

@ -17,4 +17,4 @@
#pragma once #pragma once
// our shared config parts // our shared config parts
#include "../common/config.h" #include "/home/cullmann/install/qmk/christoph-cullmann/common/config.h"

View file

@ -1,25 +1,5 @@
# properly optimize # include common settings
LTO_ENABLE = yes include /home/cullmann/install/qmk/christoph-cullmann/common/rules.mk
# less debugging features
COMMAND_ENABLE = no
CONSOLE_ENABLE = no
# Enable N-Key Rollover
NKRO_ENABLE = yes
# less features we don't use
MOUSEKEY_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
# more responsive debouncing: https://michael.stapelberg.ch/posts/2021-05-08-keyboard-input-latency-qmk-kinesis/
# sym_eager_pk does do some key chatter
DEBOUNCE_TYPE = asym_eager_defer_pk
# add achordion to improve home row modifiers
SRC += ../common/achordion.c
# build # build
# qmk compile -kb ferris/sweep -km christoph-cullmann # qmk compile -kb ferris/sweep -km christoph-cullmann

View file

@ -17,7 +17,7 @@
#pragma once #pragma once
// our shared config parts // our shared config parts
#include "../common/config.h" #include "/home/cullmann/install/qmk/christoph-cullmann/common/config.h"
// //
// audio configuration // audio configuration

View file

@ -1,25 +1,5 @@
# properly optimize # include common settings
LTO_ENABLE = yes include /home/cullmann/install/qmk/christoph-cullmann/common/rules.mk
# less debugging features
COMMAND_ENABLE = no
CONSOLE_ENABLE = no
# Enable N-Key Rollover
NKRO_ENABLE = yes
# less features we don't use
MOUSEKEY_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
# more responsive debouncing: https://michael.stapelberg.ch/posts/2021-05-08-keyboard-input-latency-qmk-kinesis/
# sym_eager_pk does do some key chatter
DEBOUNCE_TYPE = asym_eager_defer_pk
# add achordion to improve home row modifiers
SRC += ../common/achordion.c
# build # build
# qmk compile -kb planck/rev6_drop -km christoph-cullmann # qmk compile -kb planck/rev6_drop -km christoph-cullmann

View file

@ -1,7 +1,7 @@
#pragma once #pragma once
// our shared config parts // our shared config parts
#include "../../../common/config.h" #include "/home/cullmann/install/qmk/christoph-cullmann/common/config.h"
// The way how "handedness" is decided (which half is which), see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness for more options. // The way how "handedness" is decided (which half is which), see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness for more options.
#define MASTER_LEFT #define MASTER_LEFT

View file

@ -1,22 +1,5 @@
# less debugging features # include common settings
COMMAND_ENABLE = no include /home/cullmann/install/qmk/christoph-cullmann/common/rules.mk
CONSOLE_ENABLE = no
# Enable N-Key Rollover
NKRO_ENABLE = yes
# less features we don't use
MOUSEKEY_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
# more responsive debouncing: https://michael.stapelberg.ch/posts/2021-05-08-keyboard-input-latency-qmk-kinesis/
# sym_eager_pk does do some key chatter
DEBOUNCE_TYPE = asym_eager_defer_pk
# add achordion to improve home row modifiers
SRC += ../../../common/achordion.c
# build # build
# qmk compile -kb totem -km default # qmk compile -kb totem -km default