summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/microtch.h
blob: efa6c2a4f12b9c2aea5fdb053eb5aff5747a7bef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _MICROTOUCH_H
#define _MICROTOUCH_H

INPUT_PORTS_EXTERN(microtouch);

typedef void (*microtouch_tx_func)(running_machine *machine, UINT8 data);
typedef int (*microtouch_touch_func)(running_machine *machine, int *touch_x, int *touch_y);

void microtouch_init(running_machine *machine, microtouch_tx_func tx_cb, microtouch_touch_func touch_cb);
void microtouch_rx(int count, UINT8* data);

#endif //_MICROTOUCH_H