mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-15 13:04:38 +00:00
eb5d267e63
* Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards * Define diode direction for failing boards * Matching parentheses * Put onekey diode directions in top level config
25 lines
667 B
C
25 lines
667 B
C
#pragma once
|
|
|
|
#include "config_common.h"
|
|
|
|
/* USB Device descriptor parameter */
|
|
#define VENDOR_ID 0xFEED
|
|
#define PRODUCT_ID 0x6060
|
|
#define DEVICE_VER 0x0001
|
|
#define MANUFACTURER Wulkan
|
|
#define PRODUCT Handwired48Keys
|
|
#define DESCRIPTION A compact ortholinear handwired keyboard
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 4
|
|
#define MATRIX_COLS 12
|
|
|
|
#define MATRIX_ROW_PINS { B8, A0, A1, A2 }
|
|
#define MATRIX_COL_PINS { B13, B14, B15, B9, B7, B6, B5, B4, B3, B2, B1, B0 }
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
#define DEBOUNCE 5
|
|
|
|
#define FORCE_NKRO
|