qmk-keychron-q3-colemak-dh/keyboards/nachie/syndrome_ortho/config.h
nachie 1df15a95b8
Add support for boards and pcbs from nachie (#764)
Syndrome
Syndrome Ortho
Little Writter
Evelyn
Subtext

Also includes changes from Matt Piasecki <matthewpiasecki@icloud.com>
for OLED support for syndrome

Co-authored-by: Nachiket Kulkarni <nachiket_kulkarni@apple.com>
2024-08-18 20:30:10 -06:00

38 lines
1.3 KiB
C
Executable File

/*
Copyright 2024 Nachie
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
#define RP2040_FLASH_GENERIC_03H
#ifdef HAPTIC_ENABLE
#define SOLENOID_PIN GP15
#endif
/* Oled config */
#ifdef OLED_ENABLE
#define I2C_DRIVER I2CD1
#define I2C1_SDA_PIN GP10
#define I2C1_SCL_PIN GP11
#define OLED_TIMEOUT 60000 // Turns off the OLED screen after x ms of screen update inactivity. Helps reduce OLED Burn-in. Set to 0 to disable.
#define OLED_FADE_OUT
#define OLED_FADE_OUT_INTERVAL 13
#define OLED_BRIGHTNESS 50 // The default brightness level of the OLED, from 0 to 255.
#define OLED_UPDATE_INTERVAL 16 // limits in milliseconds how frequently the OLED updates. Calculation 1000/fps (increases keyboard responsiveness)
#endif
#define VIA_CUSTOM_LIGHTING_ENABLE