mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 19:18:03 +06:00
30 lines
771 B
C
30 lines
771 B
C
// Copyright 2023 Kyle McCreery
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
/* Matrix COL and ROW definitions */
|
|
#define MATRIX_ROWS 9
|
|
#define MATRIX_COLS 6
|
|
|
|
/* Cirque Touchpad Settings */
|
|
#define POINTING_DEVICE_AUTO_MOUSE_ENABLE
|
|
#define CIRQUE_PINNACLE_ATTENUATION EXTREG__TRACK_ADCCONFIG__ADC_ATTENUATE_2X
|
|
|
|
/* Define custom font */
|
|
#define OLED_FONT_H "keyboards/mechwild/sugarglider/glcdfont.c"
|
|
|
|
#define CIRQUE_PINNACLE_TAP_ENABLE
|
|
#define POINTING_DEVICE_GESTURES_SCROLL_ENABLE
|
|
|
|
/* spi config */
|
|
#define SPI_DRIVER SPID1
|
|
#define SPI_SCK_PIN A5
|
|
#define SPI_SCK_PAL_MODE 5
|
|
#define SPI_MOSI_PIN A7
|
|
#define SPI_MOSI_PAL_MODE 5
|
|
#define SPI_MISO_PIN A6
|
|
#define SPI_MISO_PAL_MODE 5
|
|
#define CIRQUE_PINNACLE_SPI_DIVISOR 8
|
|
#define CIRQUE_PINNACLE_SPI_CS_PIN A3
|