2023-03-21 21:53:06 +01:00
|
|
|
// Copyright 2023 Jason Hazel (@jasonhazel)
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-06-16 22:57:37 +02:00
|
|
|
#define MATRIX_COLS 8
|
|
|
|
#define MATRIX_ROWS 5
|
|
|
|
|
2023-03-21 21:53:06 +01:00
|
|
|
#define SPI_SCK_PIN GP2
|
|
|
|
#define SPI_MOSI_PIN GP3
|
|
|
|
#define SPI_MISO_PIN GP4
|
|
|
|
|
|
|
|
#define SHIFTREG_MATRIX_COL_CS GP0
|
|
|
|
#define SHIFTREG_DIVISOR 8
|
|
|
|
#define SHIFTREG_ROWS 5
|
|
|
|
#define SHIFTREG_COLS 8
|
|
|
|
|
|
|
|
#define MATRIX_ROW_PINS_SR { GP26, GP27, GP28, GP29, GP6 }
|
|
|
|
|
|
|
|
#define POINTING_DEVICE_CS_PIN GP1
|
|
|
|
#define CIRQUE_PINNACLE_DIAMETER_MM 35
|
|
|
|
#define POINTING_DEVICE_ROTATION_90
|