mirror of
https://github.com/grymoire/i2c_puppet-Linux.git
synced 2024-12-27 05:48:21 +01:00
17 lines
295 B
C
17 lines
295 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <sys/types.h>
|
|
|
|
struct touch_callback
|
|
{
|
|
void (*func)(int8_t, int8_t);
|
|
struct touch_callback *next;
|
|
};
|
|
|
|
void touchpad_gpio_irq(uint gpio, uint32_t events);
|
|
|
|
void touchpad_add_touch_callback(struct touch_callback *callback);
|
|
|
|
void touchpad_init(void);
|