summaryrefslogtreecommitdiff
path: root/keyboards/binepad/bnr1/keymaps/via/config.h
diff options
context:
space:
mode:
authorVino Rodrigues <366673+vinorodrigues@users.noreply.github.com>2022-10-27 06:39:17 +1100
committerGitHub <noreply@github.com>2022-10-26 12:39:17 -0700
commite59475992e984e3384f48205e2f90855bc4661bf (patch)
treeef563da1d51f60b96fdcbd0a05d106ef688e7bfa /keyboards/binepad/bnr1/keymaps/via/config.h
parente485261e53517931d205cb8542446e36e7246f26 (diff)
[Keyboard] Add Binepad BNR1 rotary encoder (#18809)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'keyboards/binepad/bnr1/keymaps/via/config.h')
-rw-r--r--keyboards/binepad/bnr1/keymaps/via/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/binepad/bnr1/keymaps/via/config.h b/keyboards/binepad/bnr1/keymaps/via/config.h
new file mode 100644
index 0000000000..ed7a62296f
--- /dev/null
+++ b/keyboards/binepad/bnr1/keymaps/via/config.h
@@ -0,0 +1,11 @@
+/* Copyright 2022 Binepad (@binpad) */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#pragma once
+
+#define TAPPING_TERM 175
+
+#ifdef DYNAMIC_KEYMAP_LAYER_COUNT
+ #undef DYNAMIC_KEYMAP_LAYER_COUNT
+#endif
+#define DYNAMIC_KEYMAP_LAYER_COUNT 2