From 834efbc6c61352134500e485827fb12d64585b64 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Tue, 27 Aug 2024 18:18:57 +0200 Subject: fix half config at home --- crkbd/config.h | 41 +++++++++++++++++------------------------ crkbd/keymap.c | 32 +++++++++++++++----------------- crkbd/rules.mk | 3 ++- 3 files changed, 34 insertions(+), 42 deletions(-) (limited to 'crkbd') diff --git a/crkbd/config.h b/crkbd/config.h index 5e04ca4..87f7005 100644 --- a/crkbd/config.h +++ b/crkbd/config.h @@ -1,33 +1,26 @@ -/* -This is the c configuration file for the keymap - -Copyright 2012 Jun Wako -Copyright 2015 Jack Humbert - -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 . -*/ +/* Copyright 2022 Christoph Cullmann + * + * 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 . + */ #pragma once // our shared config parts #include "/home/cullmann/data/qmk/christoph-cullmann/common/config.h" -/* Select hand configuration */ - -#define MASTER_LEFT -// #define MASTER_RIGHT -// #define EE_HANDS +// select hand configuration +#define SPLIT_USB_DETECT // // underglow configuration diff --git a/crkbd/keymap.c b/crkbd/keymap.c index 60aad99..efeb439 100644 --- a/crkbd/keymap.c +++ b/crkbd/keymap.c @@ -1,20 +1,18 @@ -/* -Copyright 2019 @foostan -Copyright 2020 Drashna Jaelre <@drashna> - -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 . -*/ +/* Copyright 2022 Christoph Cullmann + * + * 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 . + */ #include QMK_KEYBOARD_H diff --git a/crkbd/rules.mk b/crkbd/rules.mk index afa0b4c..083952c 100644 --- a/crkbd/rules.mk +++ b/crkbd/rules.mk @@ -3,4 +3,5 @@ include /home/cullmann/data/qmk/christoph-cullmann/common/rules.mk # build # qmk compile -kb crkbd -km christoph-cullmann -# qmk flash -kb crkbd -km christoph-cullmann +# qmk flash -kb crkbd -km christoph-cullmann -bl avrdude-split-left +# qmk flash -kb crkbd -km christoph-cullmann -bl avrdude-split-right -- cgit v1.2.3