aboutsummaryrefslogtreecommitdiff
path: root/keyboards/neopad/config.h
diff options
context:
space:
mode:
authorrookiebwoy <[email protected]>2021-05-15 05:09:10 +0200
committerGitHub <[email protected]>2021-05-14 20:09:10 -0700
commitb057194568270ce379d1900b2567052d565ce1dd (patch)
tree931f1ebd4379452ad0dbce5849266c82fa9c29a1 /keyboards/neopad/config.h
parent83be6ba472bd8cba9dc8102c193ed9d2b6546799 (diff)
downloadqmk_firmware-b057194568270ce379d1900b2567052d565ce1dd.tar.gz
qmk_firmware-b057194568270ce379d1900b2567052d565ce1dd.zip
[Keyboard] Add Neopad macropad (#12614)
Diffstat (limited to 'keyboards/neopad/config.h')
-rwxr-xr-xkeyboards/neopad/config.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/neopad/config.h b/keyboards/neopad/config.h
new file mode 100755
index 0000000000..79798b1d66
--- /dev/null
+++ b/keyboards/neopad/config.h
@@ -0,0 +1,34 @@
+/*
+Copyright 2021 rookiebwoy
+
+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
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x0913
+#define MANUFACTURER rookiebwoy
+#define PRODUCT neopad
+
+/* Column/Row IO definitions */
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* Reduce tapdance required taps from 5 to 2 */
+#define TAPPING_TOGGLE 2