summaryrefslogtreecommitdiff
path: root/keyboards/dichotomy/keymaps/beat/config.h
diff options
context:
space:
mode:
authordr-BEat <dr-BEat@users.noreply.github.com>2020-03-06 09:47:52 +0100
committerGitHub <noreply@github.com>2020-03-06 00:47:52 -0800
commit3c0ef04390b3858a0b73707c88e56bb8f65983a9 (patch)
tree4235458ab24830e48bdbed24b60ce14298c0fa3d /keyboards/dichotomy/keymaps/beat/config.h
parentfd7b52cc64683683109cfb146670b76782a3c490 (diff)
[Keymap] Dichotomy keymap by beat (#8279)
* Added more led helpers * Working keymap * Added new mouse button an made lower layer toggleable * Small improvement to process_record_user * Removed extra layer buttons * Added Numpad to apply layer * Moved buttons and added toggle for raise button * Added Menu,PrintScreen and Windowslock buttons, and left handmouse * Fixed Scroll Buttons * Turned TAPPING TOGGLE to 2 * Switched Del and Ctrl on left hand * Added Home Button to Mouse layer * Fixed led initialization to avoid red led on boot * Updated formatting to follow guidelines * Used enums instead of defines and used layer_state_t type * Added license * Moved TAPPING settings to keymap config * Fixed small formatting issue in keymap.c * Use GPIO Control instead of lowlevel ports
Diffstat (limited to 'keyboards/dichotomy/keymaps/beat/config.h')
-rw-r--r--keyboards/dichotomy/keymaps/beat/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/dichotomy/keymaps/beat/config.h b/keyboards/dichotomy/keymaps/beat/config.h
new file mode 100644
index 0000000000..f31e7469f4
--- /dev/null
+++ b/keyboards/dichotomy/keymaps/beat/config.h
@@ -0,0 +1,19 @@
+/*
+ * 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
+
+#define TAPPING_TERM 200
+#define TAPPING_TOGGLE 2