summaryrefslogtreecommitdiff
path: root/keyboards/sentraq/s60_x/config.h
diff options
context:
space:
mode:
authorNicholas Shaff <nick@shadedream.com>2019-02-05 08:36:49 -0600
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-05 06:36:49 -0800
commit9b232a7f885e320061aae994713acd31297eac5c (patch)
treea0649ecd2fd490bf908c4fe6c4ab5a89e436c912 /keyboards/sentraq/s60_x/config.h
parent33526778209f9de570edd0b7af1a42eed8fffdc2 (diff)
downloadqmk_firmware-9b232a7f885e320061aae994713acd31297eac5c.tar.gz
qmk_firmware-9b232a7f885e320061aae994713acd31297eac5c.zip
Keyboards: Move the other Sentraq keyboards into the sentraq vendor directory (#5052)
* Moving sentraq keyboards to sentraq subdirectory. * Updating readme markdown to correct make commands. * Updating s60_x references to point to the new vendor subdirectory. * Fixed stripped spaces in markdown. * Updated help information in s60_x readme and linked to additional documentation.
Diffstat (limited to 'keyboards/sentraq/s60_x/config.h')
-rw-r--r--keyboards/sentraq/s60_x/config.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/keyboards/sentraq/s60_x/config.h b/keyboards/sentraq/s60_x/config.h
new file mode 100644
index 0000000000..bb2602dcab
--- /dev/null
+++ b/keyboards/sentraq/s60_x/config.h
@@ -0,0 +1,54 @@
+/*
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2016 Julien Pecqueur <julien@peclu.net>
+Copyright 2016 Felix Uhl <ifreilicht@gmail.com>
+
+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_H
+#define CONFIG_H
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x6060
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Massdrop
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 15
+
+/* number of backlight levels */
+#define BACKLIGHT_PIN B7
+#ifdef BACKLIGHT_PIN
+#define BACKLIGHT_LEVELS 3
+#endif
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
+#define DEBOUNCING_DELAY 5
+
+#ifdef SUBPROJECT_default
+ #include "default/config.h"
+#endif
+#ifdef SUBPROJECT_rgb
+ #include "rgb/config.h"
+#endif
+
+#endif