mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-21 00:53:23 +00:00
d79b5e67b6
* Add Puck * Update Manufacturer name in metadata * Add num lock to high layer * update pins * update pin settings * fix numlock key * Cleanup config.h * Update device info * updates after review
32 lines
751 B
C
32 lines
751 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 OkKeebs LLC
|
|
#define PRODUCT Puck
|
|
#define DESCRIPTION 4x3 macropad
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 4
|
|
#define MATRIX_COLS 3
|
|
|
|
#define MATRIX_ROW_PINS { D2, D3, C6, C7 }
|
|
#define MATRIX_COL_PINS { B4, D7, D6 }
|
|
#define UNUSED_PINS
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
#define DEBOUNCING_DELAY 5
|
|
|
|
/* number of backlight levels */
|
|
#define BACKLIGHT_LEVELS 3
|
|
|
|
/* Locking resynchronize hack */
|
|
#define LOCKING_RESYNC_ENABLE
|