trezor-core/embed/trezorhal/touch.h

20 lines
355 B
C
Raw Normal View History

2017-08-14 02:05:19 -07:00
/*
* Copyright (c) Pavol Rusnak, SatoshiLabs
*
* Licensed under TREZOR License
* see LICENSE file for details
*/
2017-03-07 06:52:19 -08:00
#ifndef __TREZORHAL_TOUCH_H__
#define __TREZORHAL_TOUCH_H__
#define TOUCH_START 0x00010000
#define TOUCH_MOVE 0x00020000
#define TOUCH_END 0x00040000
2017-03-07 06:52:19 -08:00
int touch_init(void);
uint32_t touch_read(void);
void touch_click(void);
2017-03-07 06:52:19 -08:00
#endif