summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eve/eve_touch_engine.h
blob: 3a7508f352b5e62ce42aa482eea74d07c063179f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdint.h>

void eve_touch_init_engine(void);
void eve_touch_start(void);
void eve_touch_stop(void);

void eve_touch_set_extended(int extended);
void eve_touch_get_matrix(uint32_t *touch_matrix);
void eve_touch_set_matrix(const uint32_t *touch_matrix);

int eve_touch_ehost_ready(void);
void eve_touch_ehost_enter(uint8_t id, uint16_t x, uint16_t y);
void eve_touch_ehost_end(void);

uint32_t eve_touch_reg_xy(int i);
uint8_t eve_touch_reg_tag(int i);
uint32_t eve_touch_reg_track(int i);