summaryrefslogtreecommitdiff
path: root/keyboards/xd75/keymaps/colinta/config.h
diff options
context:
space:
mode:
authorColin T.A. Gray <colinta@gmail.com>2017-11-26 00:08:28 -0700
committerJack Humbert <jack.humb@gmail.com>2017-11-26 02:08:28 -0500
commit2c0323bc98f7ec8b6a8e2da393fd220718cf19ad (patch)
tree5b06ae6339ee157ccb19f3f44020fbc7823e6207 /keyboards/xd75/keymaps/colinta/config.h
parent7fbe6c35944a140cc3b089884350844dddf301e6 (diff)
Adds my XD75 layout (#2040)
* adds my xd75 layout * add secret strings to 'secrets.h' behind compile flag, assign defaults * macro keys now have defaults (hidden in colinta.h) before any recording, and after clearing the dynamic macros. * fixed whitespace - using 4 spaces instead of 2
Diffstat (limited to 'keyboards/xd75/keymaps/colinta/config.h')
-rw-r--r--keyboards/xd75/keymaps/colinta/config.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/xd75/keymaps/colinta/config.h b/keyboards/xd75/keymaps/colinta/config.h
new file mode 100644
index 0000000000..3b39bee81c
--- /dev/null
+++ b/keyboards/xd75/keymaps/colinta/config.h
@@ -0,0 +1,28 @@
+/* Copyright 2017 Colin T.A. Gray
+ *
+ * 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/>.
+ */
+
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+// QMK customization:
+// - after 1.5s, turn off one-shot keys
+#define ONESHOT_TIMEOUT 1500
+// - TT(layer) only needs one press
+#define TAPPING_TOGGLE 1
+
+#endif