2021-07-18 06:23:02 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2021-02-16 01:40:20 +01:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/* USB Device descriptor parameter */
|
|
|
|
#define VENDOR_ID 0xFEED
|
|
|
|
#define PRODUCT_ID 0x0000
|
|
|
|
#define DEVICE_VER 0x0001
|
2023-03-19 19:05:44 +01:00
|
|
|
#define MANUFACTURER "Vial"
|
|
|
|
#define PRODUCT "STM32F072 example"
|
2021-02-16 01:40:20 +01:00
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 2
|
|
|
|
#define MATRIX_COLS 2
|
|
|
|
|
|
|
|
#define MATRIX_ROW_PINS { B10, B11 }
|
|
|
|
#define MATRIX_COL_PINS { B1, B0 }
|
|
|
|
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
2021-07-18 06:23:02 +02:00
|
|
|
/* Use 1000hz polling */
|
2021-02-16 01:40:20 +01:00
|
|
|
#define USB_POLLING_INTERVAL_MS 1
|