qmk-keychron-q3-colemak-dh/keyboards/bongopad/config.h
ll3macorn 51c8221cb7
adding bongopad (#85)
* h

* Update config.h

* Update config.h

k
2021-11-23 21:48:57 -05:00

68 lines
1.5 KiB
C

// Copyright 2021 Ll3macorn (@ll3macorn)
// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef CONFIG_H
#define CONFIG_H
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x1234
#define PRODUCT_ID 0x2949
#define DEVICE_VER 0x0001
#define MANUFACTURER Ll3macorn
#define PRODUCT BongoPad
#define DESCRIPTION BongoPad
#define VIAL_KEYBOARD_UID {0x08, 0xDB, 0x6F, 0x28, 0x40, 0xFD, 0x6F, 0x58}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0, 2 }
#define NO_ACTION_TAPPING
#define RGB_DI_PIN E6
#define RGBLED_NUM 6
#define VIAL_TAP_DANCE_ENTRIES 4
#define DYNAMIC_KEYMAP_LAYER_COUNT 4
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 3
/* key matrix pins */
#define MATRIX_ROW_PINS { F7, D7, C6, D4 }
#define MATRIX_COL_PINS { F4, F5, F6 }
#define UNUSED_PINS
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define ENCODERS_PAD_A { B1 }
#define ENCODERS_PAD_B { B3 }
#define LAYER_STATE_8BIT
#define NO_ACTION_ONESHOT
/* number of backlight levels */
/* Set 0 if debouncing isn't needed */
#define DEBOUNCING_DELAY 5
/* 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
/* key combination for command */
#define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
/* prevent stuck modifiers */
#define PREVENT_STUCK_MODIFIERS
#endif