[feature] Move files to seperate subfolder to make combining with existing userspace easier
This commit is contained in:
parent
5edaa4b3ca
commit
1764ca5f2f
46 changed files with 78 additions and 64 deletions
34
users/halcyon_modules/splitkb/hlc_tft_display/config.h
Normal file
34
users/halcyon_modules/splitkb/hlc_tft_display/config.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
// Copyright 2024 splitkb.com (support@splitkb.com)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
// Any QMK options should go here
|
||||
|
||||
#pragma once
|
||||
|
||||
#define HLC_TFT_DISPLAY
|
||||
|
||||
// LCD Configuration
|
||||
#define LCD_RST_PIN GP26
|
||||
#define LCD_CS_PIN GP13
|
||||
#define LCD_DC_PIN GP16
|
||||
#define LCD_SPI_DIVISOR 0
|
||||
#define LCD_SPI_MODE 3
|
||||
#define LCD_WIDTH 135
|
||||
#define LCD_HEIGHT 240
|
||||
#define LCD_ROTATION QP_ROTATION_0
|
||||
#define LCD_OFFSET_X 52
|
||||
#define LCD_OFFSET_Y 40
|
||||
|
||||
// QP Configuration
|
||||
#define QUANTUM_PAINTER_SUPPORTS_NATIVE_COLORS TRUE
|
||||
#define ST7789_NO_AUTOMATIC_VIEWPORT_OFFSETS
|
||||
#define ST7789_NUM_DEVICES 1
|
||||
|
||||
#define SURFACE_NUM_DEVICES 1
|
||||
|
||||
// Backlight configuration
|
||||
#undef BACKLIGHT_PIN
|
||||
#define BACKLIGHT_PIN GP27
|
||||
|
||||
// Timeout configuration
|
||||
#define QUANTUM_PAINTER_DISPLAY_TIMEOUT HLC_BACKLIGHT_TIMEOUT
|
||||
Loading…
Add table
Add a link
Reference in a new issue