From c59e67347c06a1f54c466039aec28d550b44652b Mon Sep 17 00:00:00 2001 From: Eric Peterson Date: Sun, 10 Mar 2019 04:10:59 +0000 Subject: [PATCH] reverted launchpad config --- keyboards/launchpad/rev1/config.h | 54 ++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 8 deletions(-) diff --git a/keyboards/launchpad/rev1/config.h b/keyboards/launchpad/rev1/config.h index 67a4154226..189c8ff69e 100644 --- a/keyboards/launchpad/rev1/config.h +++ b/keyboards/launchpad/rev1/config.h @@ -15,18 +15,56 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef REV1_CONFIG_H -#define REV1_CONFIG_H +#ifndef CONFIG_H +#define CONFIG_H -#include "../config.h" +#include "config_common.h" -#define DEVICE_VER 0x0001 +/* USB Device descriptor parameter */ +#define VENDOR_ID 0x1337 +#define PRODUCT_ID 0x6007 +#define MANUFACTURER Maple Computing +#define PRODUCT Launch Pad +#define DESCRIPTION An all - in - on macropad -/* Let's Macro V2 pin-out */ -#define MATRIX_ROW_PINS { C6, B1, B3, D7 } -#define MATRIX_COL_PINS { D2, F7 } -#define UNUSED_PINS +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 2 +/* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW +/* define if matrix has ghost */ +//#define MATRIX_HAS_GHOST + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCING_DELAY 5 + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* + * 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 + +#ifdef SUBPROJECT_rev1 +# include "rev1/config.h" #endif + +#endif \ No newline at end of file