qmk_firmware/keyboards/boardsource/unicorne/config.h
jack 327b40f593
[Keyboard] Add boardsource/unicorne (#21510)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Cole Smith <smithcole@protonmail.com>
2023-07-20 17:57:08 -06:00

26 lines
688 B
C

// Copyright 2023 jack (@waffle87)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define RGB_MATRIX_LED_COUNT 54
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_ALPHAS_MODS
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define SPLIT_LAYER_STATE_ENABLE
#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP22
#define I2C1_SCL_PIN GP23
#define AUDIO_PIN GP28
#define AUDIO_PWM_DRIVER PWMD6
#define AUDIO_INIT_DELAY
#define AUDIO_PWM_CHANNEL RP2040_PWM_CHANNEL_A
#define STARTUP_SONG SONG(ODE_TO_JOY)
#define ANALOG_JOYSTICK_Y_AXIS_PIN GP26
#define ANALOG_JOYSTICK_X_AXIS_PIN GP27
#define POINTING_DEVICE_INVERT_Y
#define POINTING_DEVICE_INVERT_X