19 lines
352 B
C
19 lines
352 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include <tactility/drivers/gpio.h>
|
|
|
|
struct St77922TouchConfig {
|
|
uint8_t address;
|
|
uint16_t x_max;
|
|
uint16_t y_max;
|
|
bool swap_xy;
|
|
bool mirror_x;
|
|
bool mirror_y;
|
|
struct GpioPinSpec pin_reset;
|
|
struct GpioPinSpec pin_interrupt;
|
|
};
|