qmk-keychron-q3-colemak-dh/keyboards/keycapsss/3w6_2040/config.h
Ben 39713d9d74
Add VIAL port for Keycapsss 3w6 RP2040 (#366)
* Add VIAL port for Keycapsss 3w6 RP2040

* fix code format for uid

* fix EE-Hands and move more config options to json

* Fix: add missing split pointing device setting

---------

Co-authored-by: Ben Roe <ben@MacBook-Pro-von-Ben.local>
Co-authored-by: Conor Burns <mail@conor-burns.com>
2023-02-16 00:17:08 -06:00

28 lines
1.3 KiB
C

// Copyright 2022 Conor Burns (@Conor-Burns)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include "config_common.h"
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
#define SERIAL_USART_TX_PIN GP0 // USART TX pin
#define SERIAL_USART_RX_PIN GP1 // USART RX pin
#define SERIAL_USART_PIN_SWAP // Swap TX and RX pins if keyboard is master halve.
#define SERIAL_USART_SPEED 921600 // Sped :)
#define USB_VBUS_PIN GP19 // for rp2040 | When USB_VBUS_PIN is not defined, SPLIT_USB_DETECT is used.
#define EE_HANDS // Split handedness via eeprom
#define SPLIT_LED_STATE_ENABLE // Sync host leds (caps lock, ...)
#define SPLIT_LAYER_STATE_ENABLE // Enables syncing of the layer state between both halves
#define SPLIT_POINTING_ENABLE // Transmitting the pointing device status to the master side
#define POINTING_DEVICE_RIGHT // Pointing device on the right side (Required - pick one only)
//#define POINTING_DEVICE_LEFT // Pointing device on the left side (Required - pick one only)
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
#define RGBLIGHT_DEFAULT_HUE 152
#define RGBLIGHT_DEFAULT_SAT 232
#define RGBLIGHT_DEFAULT_VAR 255
#define RGBLIGHT_DEFAULT_SPD 2
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 0