29 lines
704 B
C
29 lines
704 B
C
|
#pragma once
|
||
|
|
||
|
#include "config_common.h"
|
||
|
|
||
|
/* USB Device descriptor parameter */
|
||
|
#define VENDOR_ID 0xEEEE
|
||
|
#define PRODUCT_ID 0x2019
|
||
|
#define DEVICE_VER 0x0001
|
||
|
#define MANUFACTURER Jan Lunge
|
||
|
#define PRODUCT 3by2
|
||
|
|
||
|
/* key matrix size */
|
||
|
#define MATRIX_ROWS 2
|
||
|
#define MATRIX_COLS 3
|
||
|
|
||
|
/* key matrix pins for beccas board*/
|
||
|
#define MATRIX_ROW_PINS { F6,B2 }
|
||
|
#define MATRIX_COL_PINS { F7, B1, B3 }
|
||
|
#define UNUSED_PINS
|
||
|
|
||
|
/* COL2ROW or ROW2COL */
|
||
|
#define DIODE_DIRECTION COL2ROW
|
||
|
|
||
|
/* Set 0 if debouncing isn't needed */
|
||
|
#define DEBOUNCE 5
|
||
|
#define VIAL_KEYBOARD_UID {0x6F, 0xD2, 0x03, 0xC4, 0x16, 0xAF, 0x61, 0x27}
|
||
|
#define VIAL_UNLOCK_COMBO_ROWS { 0, 2 }
|
||
|
#define VIAL_UNLOCK_COMBO_COLS { 0, 1 }
|