qmk_firmware/keyboards/mmkeyboard/class60/soldered/config.h
Lex Brugman c2dbbc060a
Add MMkeyboard Class60 (#22972)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
2024-07-14 21:58:35 -07:00

28 lines
892 B
C

// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define SOLENOID_PIN B3
#define HAPTIC_ENABLE_PIN A15
#define SOLENOID_DEFAULT_DWELL 4
#define SOLENOID_MIN_DWELL 4
#define SOLENOID_MAX_DWELL 45
#define HAPTIC_OFF_IN_LOW_POWER 1
#define NO_HAPTIC_MOD
#define AUDIO_CLICKY
#define AUDIO_PIN A6
#define AUDIO_PWM_DRIVER PWMD3
#define AUDIO_PWM_CHANNEL 1
#define AUDIO_STATE_TIMER GPTD4
#define AUDIO_PIN_ALT_AS_NEGATIVE
#define AUDIO_PIN_ALT A13
#define DEFAULT_LAYER_SONGS { \
SONG(CAPS_LOCK_ON_SOUND), \
SONG(CAPS_LOCK_OFF_SOUND), \
SONG(NUM_LOCK_ON_SOUND), \
SONG(NUM_LOCK_OFF_SOUND), \
SONG(SCROLL_LOCK_ON_SOUND), \
SONG(SCROLL_LOCK_OFF_SOUND) \
}