2017-08-14 09:05:19 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) Pavol Rusnak, SatoshiLabs
|
|
|
|
*
|
|
|
|
* Licensed under TREZOR License
|
|
|
|
* see LICENSE file for details
|
|
|
|
*/
|
|
|
|
|
2017-03-07 14:52:19 +00:00
|
|
|
#ifndef __TREZORHAL_TOUCH_H__
|
|
|
|
#define __TREZORHAL_TOUCH_H__
|
|
|
|
|
2017-10-20 13:25:24 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2017-04-07 00:34:53 +00:00
|
|
|
#define TOUCH_START 0x00010000
|
|
|
|
#define TOUCH_MOVE 0x00020000
|
|
|
|
#define TOUCH_END 0x00040000
|
|
|
|
|
2017-10-20 15:18:55 +00:00
|
|
|
void touch_init(void);
|
2017-03-07 14:52:19 +00:00
|
|
|
uint32_t touch_read(void);
|
2017-09-29 08:11:12 +00:00
|
|
|
void touch_click(void);
|
2017-03-07 14:52:19 +00:00
|
|
|
|
|
|
|
#endif
|