summaryrefslogtreecommitdiff
path: root/keyboards/squiggle/config.h
diff options
context:
space:
mode:
authorIbnu Daru Aji <ibnuda@users.noreply.github.com>2020-07-25 16:15:35 +0700
committerGitHub <noreply@github.com>2020-07-25 02:15:35 -0700
commit054021e8757a72de4d3fae1f58944e9c922d22d1 (patch)
treee405f5cfaffca40150c022b062a57ca4db3dab5e /keyboards/squiggle/config.h
parentf5c2cd2eb7415418f4d7f87f732b0c6e07afade7 (diff)
[Keyboard] Squiggle (#9387)
* new keyboard for squiggle. * added pic and other layout. * updated readme. * following drashna's suggestions. * removed an empty line and right hand as master. * following fauxpark's suggestions. * following manna-harbour's suggestions. * trying to satisfy PR Lint keyboards * manna-harbour forgot to add it. * following fauxparx's suggestions. * following fauxpark's suggestions. * following fauxpark's suggestions.' ' * following fauxpark's suggestions. * following fauxpark''s suggestions. * upated info.json to represent the actual layouts. * following noroadsleft's suggestions.
Diffstat (limited to 'keyboards/squiggle/config.h')
-rw-r--r--keyboards/squiggle/config.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/squiggle/config.h b/keyboards/squiggle/config.h
new file mode 100644
index 0000000000..85bf32d9a9
--- /dev/null
+++ b/keyboards/squiggle/config.h
@@ -0,0 +1,44 @@
+/*
+Copyright 2020 Ibnu D. Aji
+
+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 0x6955
+#define PRODUCT_ID 0x2073
+#define MANUFACTURER ibnuda
+#define PRODUCT squiggle
+
+#define USE_SERIAL
+
+/*
+ * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
+ */
+#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCE 5
+
+/* define if matrix has ghost (lacks anti-ghosting diodes) */
+//#define MATRIX_HAS_GHOST
+
+
+/* disable these deprecated features by default */
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION