diff options
Diffstat (limited to 'trunk/src/emu/machine/microtch.h')
-rw-r--r-- | trunk/src/emu/machine/microtch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/trunk/src/emu/machine/microtch.h b/trunk/src/emu/machine/microtch.h new file mode 100644 index 00000000000..d378c49eb91 --- /dev/null +++ b/trunk/src/emu/machine/microtch.h @@ -0,0 +1,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 |