2022-03-07 07:12:17 +01:00
|
|
|
/**
|
|
|
|
* Copyright 2021 Charly Delay <charly@codesink.dev> (@0xcharly)
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
#if defined(KEYBOARD_bastardkb_charybdis_4x6_blackpill)
|
|
|
|
# undef MATRIX_COL_PINS
|
|
|
|
# define MATRIX_COL_PINS \
|
|
|
|
{ B0, B1, B12, B3, B4, B5 }
|
2022-08-28 21:55:19 +02:00
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
# define USB_VBUS_PIN B10
|
|
|
|
# define DEBUG_LED_PIN C13
|
2022-03-07 07:12:17 +01:00
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
# define AUDIO_PIN B7
|
|
|
|
# define AUDIO_PWM_DRIVER PWMD4
|
|
|
|
# define AUDIO_PWM_CHANNEL 2
|
|
|
|
# define AUDIO_PWM_PAL_MODE 2
|
|
|
|
# define AUDIO_INIT_DELAY
|
|
|
|
# define AUDIO_ENABLE_TONE_MULTIPLEXING
|
|
|
|
# define AUDIO_TONE_MULTIPLEXING_RATE_DEFAULT 10
|
2022-03-07 07:12:17 +01:00
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
# define SERIAL_USART_SPEED (1 * 1024 * 1024)
|
2022-07-03 04:55:46 +02:00
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
# undef POINTING_DEVICE_CS_PIN
|
|
|
|
# define POINTING_DEVICE_CS_PIN A15 // b14
|
|
|
|
# define PMW33XX_LIFTOFF_DISTANCE 0b1111
|
|
|
|
#endif
|
2022-03-07 07:12:17 +01:00
|
|
|
|
2022-07-03 04:55:46 +02:00
|
|
|
#undef ROTATIONAL_TRANSFORM_ANGLE
|
2022-11-29 20:43:42 +01:00
|
|
|
#define ROTATIONAL_TRANSFORM_ANGLE 25
|
|
|
|
#define POINTING_DEVICE_ROTATION_270
|
2022-03-07 07:12:17 +01:00
|
|
|
|
|
|
|
/* RGB Matrix. */
|
|
|
|
#undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
|
|
|
|
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
|
2022-07-03 04:55:46 +02:00
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
#define CHARYBDIS_MINIMUM_DEFAULT_DPI 1200
|
|
|
|
#define CHARYBDIS_DEFAULT_DPI_CONFIG_STEP 400
|
|
|
|
#define CHARYBDIS_MINIMUM_SNIPING_DPI 200
|
|
|
|
#define CHARYBDIS_SNIPING_DPI_CONFIG_STEP 100
|
|
|
|
|
2022-07-03 04:55:46 +02:00
|
|
|
#define CHARYBDIS_CONFIG_SYNC
|
2022-08-28 21:55:19 +02:00
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
#define BOOTMAGIC_LITE_ROW 0
|
2022-08-28 21:55:19 +02:00
|
|
|
#define BOOTMAGIC_LITE_COLUMN 0
|
2022-11-29 20:43:42 +01:00
|
|
|
#define BOOTMAGIC_LITE_ROW_RIGHT 5
|
2022-08-28 21:55:19 +02:00
|
|
|
#define BOOTMAGIC_LITE_COLUMN_RIGHT 0
|
2022-11-29 20:43:42 +01:00
|
|
|
#define BOOTMAGIC_LITE_EEPROM_ROW 1
|
2022-08-28 21:55:19 +02:00
|
|
|
#define BOOTMAGIC_LITE_EEPROM_COLUMN 0
|
2022-11-29 20:43:42 +01:00
|
|
|
#define BOOTMAGIC_LITE_EEPROM_ROW_RIGHT 1
|
2022-08-28 21:55:19 +02:00
|
|
|
#define BOOTMAGIC_LITE_EEPROM_COLUMN_RIGHT 0
|