summaryrefslogtreecommitdiff
path: root/keyboards/frenchdev/v1/config.h
diff options
context:
space:
mode:
authornpoirey <nicolas.poirey@gmail.com>2016-10-07 17:18:49 +0200
committernpoirey <nicolas.poirey@gmail.com>2017-06-22 10:34:23 +0200
commit23b0fc20e3c94972db7ff897854d2b0513937d71 (patch)
tree9f05765b7b0ee11c4d74f2163090ef30c18a4ed1 /keyboards/frenchdev/v1/config.h
parent9d22a1a6d8491971ce87be48f0993db9a2309277 (diff)
Frenchdev v1
Diffstat (limited to 'keyboards/frenchdev/v1/config.h')
-rw-r--r--keyboards/frenchdev/v1/config.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/keyboards/frenchdev/v1/config.h b/keyboards/frenchdev/v1/config.h
new file mode 100644
index 0000000000..c4c42df82a
--- /dev/null
+++ b/keyboards/frenchdev/v1/config.h
@@ -0,0 +1,68 @@
+/*
+Copyright 2012 Jun Wako <wakojun@gmail.com>
+Copyright 2013 Oleg Kostyuk <cub.uanic@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 FRENCHDEV_V1_CONFIG_H
+#define FRENCHDEV_V1_CONFIG_H
+
+#include "../config.h"
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x1307
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Sacapuces
+#define PRODUCT Frenchdev V1
+#define DESCRIPTION QMK keyboard firmware for Frenchdev
+
+/* key matrix size */
+#define MATRIX_ROWS 16
+#define MATRIX_COLS 6
+
+/* number of backlight levels */
+#define BACKLIGHT_LEVELS 3
+
+#define LED_BRIGHTNESS_LO 15
+#define LED_BRIGHTNESS_HI 255
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+#define USB_MAX_POWER_CONSUMPTION 500
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+// #define NO_DEBUG
+
+/* disable print */
+// #define NO_PRINT
+
+/* disable action features */
+//#define NO_ACTION_LAYER
+//#define NO_ACTION_TAPPING
+//#define NO_ACTION_ONESHOT
+//#define NO_ACTION_MACRO
+//#define NO_ACTION_FUNCTION
+//#define DEBUG_MATRIX_SCAN_RATE
+
+#endif