1 #ifndef _ECORE_FB_PRIVATE_H
2 #define _ECORE_FB_PRIVATE_H
5 #include "ecore_private.h"
11 #include <sys/types.h>
13 #include <sys/ioctl.h>
14 #include <linux/version.h>
18 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15)) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18))
19 #define kernel_ulong_t unsigned long
20 #define BITS_PER_LONG 32
21 #include <linux/input.h>
25 #include <linux/input.h>
33 struct _Ecore_Fb_Input_Device
36 Ecore_Fd_Handler *handler;
39 Ecore_Fb_Input_Device_Cap cap;
67 EAPI int ecore_fb_ts_init(void);
68 EAPI void ecore_fb_ts_shutdown(void);
71 int ecore_fb_vt_init(void);
72 void ecore_fb_vt_shutdown(void);
74 /* hacks to stop people NEEDING #include <linux/h3600_ts.h> */
76 #define TS_SET_CAL 0x4014660b
79 #define TS_GET_CAL 0x8014660a