/*
 *
 * Copyright (C) 2012-2019, Samsung Electronics Co., Ltd.
 *
 * Cypress touchscreen. Main header file
 */

#ifndef _CYPRESS_MAIN_H_
#define _CYPRESS_MAIN_H_

#include <stdint.h>

TEE_Result tuiHalTouchGetInfo(drTouchInfo_ptr touchSize);
TEE_Result tuiHalTouchOpen(uint32_t width, uint32_t height, uint32_t touch_type);
TEE_Result tuiHalTouchProcess(void);
TEE_Result tuiHalTouchClose(void);

int touch_event_count(void);
int get_touch_event(char *buf, unsigned int buf_size);

#endif /*_CYPRESS_MAIN_H_ */
