qmk-keychron-q3-colemak-dh/keyboards/handwired/3dpcb/config.h
2022-07-23 23:42:17 -06:00

47 lines
1.1 KiB
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 Johan von Konow
#define PRODUCT 3DPCB Keyboard
/* Layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 7
/* key matrix pins */
#define MATRIX_ROW_PINS { D7, E6, B1, B2, B6 }
#define MATRIX_COL_PINS { D4, C6, F6, B5, F7, B4, B3 }
#define UNUSED_PINS
// Leds definition
#define LED_NUM_LOCK_PIN B0
#define LED_CAPS_LOCK_PIN D5
#define LED_PIN_ON_STATE 0
#define LAYER_BLINK_TIME 200
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
/* 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
/* Define MIDI level */
#define MIDI_ADVANCED
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* Use 1000hz polling */
#define USB_POLLING_INTERVAL_MS 1