From 22f985eba78687d08d17dc6cb4e7266359925c97 Mon Sep 17 00:00:00 2001 From: Dylan Khor Date: Thu, 15 Jun 2017 07:15:27 +0000 Subject: Add custom let's split keymap --- keyboards/lets_split/keymaps/khord/config.h | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 keyboards/lets_split/keymaps/khord/config.h (limited to 'keyboards/lets_split/keymaps/khord/config.h') diff --git a/keyboards/lets_split/keymaps/khord/config.h b/keyboards/lets_split/keymaps/khord/config.h new file mode 100644 index 000000000..1df3c5e1f --- /dev/null +++ b/keyboards/lets_split/keymaps/khord/config.h @@ -0,0 +1,37 @@ +/* +Copyright 2012 Jun Wako + +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 . +*/ + + +#define USE_SERIAL + +#define MASTER_LEFT +// #define _MASTER_RIGHT +#define EE_HANDS + +#undef RGBLED_NUM +#define RGBLIGHT_ANIMATIONS +#define RGBLED_NUM 12 + +#ifdef SUBPROJECT_rev1 + #include "../../rev1/config.h" +#endif +#ifdef SUBPROJECT_rev2 + #include "../../rev2/config.h" +#endif +#ifdef SUBPROJECT_rev2fliphalf + #include "../../rev2fliphalf/config.h" +#endif -- cgit v1.2.3-24-g4f1b From a44ba492eac9ea65f9f1ca620dfc0344d48accd4 Mon Sep 17 00:00:00 2001 From: Dylan Khor Date: Thu, 15 Jun 2017 03:26:04 -0400 Subject: minor fixes --- keyboards/lets_split/keymaps/khord/config.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'keyboards/lets_split/keymaps/khord/config.h') diff --git a/keyboards/lets_split/keymaps/khord/config.h b/keyboards/lets_split/keymaps/khord/config.h index 1df3c5e1f..d6a99a8b2 100644 --- a/keyboards/lets_split/keymaps/khord/config.h +++ b/keyboards/lets_split/keymaps/khord/config.h @@ -15,11 +15,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#define TAPPING_TERM 150 #define USE_SERIAL - -#define MASTER_LEFT -// #define _MASTER_RIGHT #define EE_HANDS #undef RGBLED_NUM -- cgit v1.2.3-24-g4f1b From 6ba22b5f5eac1e7ee0b8a73fc682aed2f35c0189 Mon Sep 17 00:00:00 2001 From: Fred Sundvik Date: Sun, 18 Jun 2017 16:50:25 +0300 Subject: Don't define RGBLED_NUM in let-split khord keymap It's already defined correctly by the parent keyboard project, and was causing problems for rev1, where the pin is different. --- keyboards/lets_split/keymaps/khord/config.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'keyboards/lets_split/keymaps/khord/config.h') diff --git a/keyboards/lets_split/keymaps/khord/config.h b/keyboards/lets_split/keymaps/khord/config.h index d6a99a8b2..2d845827b 100644 --- a/keyboards/lets_split/keymaps/khord/config.h +++ b/keyboards/lets_split/keymaps/khord/config.h @@ -20,9 +20,7 @@ along with this program. If not, see . #define USE_SERIAL #define EE_HANDS -#undef RGBLED_NUM #define RGBLIGHT_ANIMATIONS -#define RGBLED_NUM 12 #ifdef SUBPROJECT_rev1 #include "../../rev1/config.h" -- cgit v1.2.3-24-g4f1b From f5f7dfa0647bac09c60cbf0247d46f3fedb43a9c Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 28 Jun 2017 00:26:05 -0400 Subject: cleanup lets_split --- keyboards/lets_split/keymaps/khord/config.h | 36 ++++++++++------------------- 1 file changed, 12 insertions(+), 24 deletions(-) (limited to 'keyboards/lets_split/keymaps/khord/config.h') diff --git a/keyboards/lets_split/keymaps/khord/config.h b/keyboards/lets_split/keymaps/khord/config.h index 2d845827b..e3bd2c72e 100644 --- a/keyboards/lets_split/keymaps/khord/config.h +++ b/keyboards/lets_split/keymaps/khord/config.h @@ -1,33 +1,21 @@ -/* -Copyright 2012 Jun Wako +#ifndef CONFIG_USER_H +#define CONFIG_USER_H -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 "../../config.h" #define TAPPING_TERM 150 +/* Use I2C or Serial, not both */ + #define USE_SERIAL +// #define USE_I2C + +/* Select hand configuration */ + +//#define MASTER_LEFT +// #define _MASTER_RIGHT #define EE_HANDS #define RGBLIGHT_ANIMATIONS -#ifdef SUBPROJECT_rev1 - #include "../../rev1/config.h" -#endif -#ifdef SUBPROJECT_rev2 - #include "../../rev2/config.h" -#endif -#ifdef SUBPROJECT_rev2fliphalf - #include "../../rev2fliphalf/config.h" -#endif +#endif \ No newline at end of file -- cgit v1.2.3-24-g4f1b From 61ef949576fb64e3c57c3381875708893e4b3f96 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Wed, 28 Jun 2017 12:58:58 -0400 Subject: update some copyright headers --- keyboards/lets_split/keymaps/khord/config.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'keyboards/lets_split/keymaps/khord/config.h') diff --git a/keyboards/lets_split/keymaps/khord/config.h b/keyboards/lets_split/keymaps/khord/config.h index e3bd2c72e..ea10960dd 100644 --- a/keyboards/lets_split/keymaps/khord/config.h +++ b/keyboards/lets_split/keymaps/khord/config.h @@ -1,3 +1,23 @@ +/* +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 . +*/ + #ifndef CONFIG_USER_H #define CONFIG_USER_H -- cgit v1.2.3-24-g4f1b