mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-21 09:03:23 +00:00
30 lines
729 B
C
30 lines
729 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 QMK Community
|
||
|
#define PRODUCT Pteron Keyboard
|
||
|
#define DESCRIPTION Pteron Keyboard
|
||
|
|
||
|
/* key matrix size */
|
||
|
#define MATRIX_ROWS 5
|
||
|
#define MATRIX_COLS 12
|
||
|
|
||
|
/* key matrix pins */
|
||
|
#define MATRIX_ROW_PINS { D7, E6, B4, B5, B6 }
|
||
|
#define MATRIX_COL_PINS { F4, F6, F5, F7, B1, B3, C6, D4, D0, D1, D2, D3 }
|
||
|
#define UNUSED_PINS
|
||
|
|
||
|
/* COL2ROW or ROW2COL */
|
||
|
#define DIODE_DIRECTION ROW2COL
|
||
|
|
||
|
/* Set 0 if debouncing isn't needed */
|
||
|
#define DEBOUNCING_DELAY 5 // 5 is default
|
||
|
|
||
|
/* prevent stuck modifiers */
|
||
|
#define PREVENT_STUCK_MODIFIERS
|