*
*/
+#ifndef __ECS_EVENTCAST_H__
+#define __ECS_EVENTCAST_H__
+
/*
* define eventcast messages between ecs and ecp
*/
void send_eventcast_touch_data(int x, int y, int index, int status);
void send_eventcast_hwkey_data(int keycode);
+
+#endif /* __ECS_EVENTCAST_H__ */
*
*/
+#ifndef __EVENTCAST_COMMON_H__
+#define __EVENTCAST_COMMON_H__
+
enum connection_status {
DISCONNECTED = 0,
CONNECTED,
int get_eventcast_connected_port(void);
const char *get_eventcast_connected_ipaddr(void);
+
+#endif /* __EVENTCAST_COMMON_H__ */
*
*/
+#ifndef __EVENTCAST_ENCODE_FB_H__
+#define __EVENTCAST_ENCODE_FB_H__
+
struct encode_mem {
uint8_t *buffer;
uint32_t length;
void set_display_dirty(bool dirty);
bool is_display_dirty(void);
+
+#endif /* __EVENTCAST_ENCODE_FB_H__ */
*
*/
+#ifndef __EVENTCAST_SENSOR_H__
+#define __EVENTCAST_SENSOR_H__
+
bool msgproc_eventcast_sensor_msg(void *msg);
int get_eventcast_sensor_status(void);
void set_eventcast_sensor_status(int status);
+
+#endif /* __EVENTCAST_SENSOR_H__ */
*
*/
+#ifndef __EVENTCAST_TOUCH_H__
+#define __EVENTCAST_TOUCH_H__
+
enum {
ENCODE_WEBP = 0,
ENCODE_PNG,
int get_eventcast_touch_status(void);
void set_eventcast_touch_status(int status);
+
+#endif /* __EVENTCAST_TOUCH_H__ */