summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <christoph@cullmann.io>2024-08-27 18:18:57 +0200
committerChristoph Cullmann <christoph@cullmann.io>2024-08-27 18:18:57 +0200
commit834efbc6c61352134500e485827fb12d64585b64 (patch)
tree3ff04ac8e10736ea06f31a8d2e2e20a2be9c3854
parent789b351293fd4ecf3ae7885e53d54c7107e3e9dd (diff)
fix half config at home
-rw-r--r--crkbd/config.h41
-rw-r--r--crkbd/keymap.c32
-rw-r--r--crkbd/rules.mk3
3 files changed, 34 insertions, 42 deletions
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 <wakojun@gmail.com>
-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 <http://www.gnu.org/licenses/>.
-*/
+/* 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 <http://www.gnu.org/licenses/>.
+ */
#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 <http://www.gnu.org/licenses/>.
-*/
+/* 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 <http://www.gnu.org/licenses/>.
+ */
#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