|
|
|
@ -15,18 +15,56 @@ 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 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
|