forked from enlightenment/efl
put cal back in - move struct details up.
SVN revision: 33592
This commit is contained in:
parent
b83098328e
commit
c09dd5620f
|
@ -13,20 +13,6 @@ typedef struct _Ecore_Fb_Ts_Contrast Ecore_Fb_Ts_Contrast;
|
||||||
typedef struct _Ecore_Fb_Ts_Led Ecore_Fb_Ts_Led;
|
typedef struct _Ecore_Fb_Ts_Led Ecore_Fb_Ts_Led;
|
||||||
typedef struct _Ecore_Fb_Ts_Flite Ecore_Fb_Ts_Flite;
|
typedef struct _Ecore_Fb_Ts_Flite Ecore_Fb_Ts_Flite;
|
||||||
|
|
||||||
static int _ecore_fb_ts_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
|
|
||||||
static int _ecore_fb_ts_fd = 0;
|
|
||||||
static int _ecore_fb_ts_event_byte_count = 0;
|
|
||||||
static int _ecore_fb_ts_apply_cal = 0;
|
|
||||||
static Ecore_Fb_Ts_Event _ecore_fb_ts_event;
|
|
||||||
static Ecore_Fd_Handler *_ecore_fb_ts_fd_handler_handle = NULL;
|
|
||||||
|
|
||||||
#ifdef HAVE_TSLIB
|
|
||||||
struct tsdev *_ecore_fb_tslib_tsdev = NULL;
|
|
||||||
struct ts_sample _ecore_fb_tslib_event;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static double _ecore_fb_double_click_time = 0.25;
|
|
||||||
|
|
||||||
struct _Ecore_Fb_Ts_Event
|
struct _Ecore_Fb_Ts_Event
|
||||||
{
|
{
|
||||||
unsigned short pressure;
|
unsigned short pressure;
|
||||||
|
@ -70,6 +56,22 @@ struct _Ecore_Fb_Ts_Flite
|
||||||
unsigned char brightness;
|
unsigned char brightness;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static int _ecore_fb_ts_fd_handler(void *data, Ecore_Fd_Handler *fd_handler);
|
||||||
|
static int _ecore_fb_ts_fd = 0;
|
||||||
|
static int _ecore_fb_ts_event_byte_count = 0;
|
||||||
|
static int _ecore_fb_ts_cal = 0;
|
||||||
|
static int _ecore_fb_ts_apply_cal = 0;
|
||||||
|
static Ecore_Fb_Ts_Event _ecore_fb_ts_event;
|
||||||
|
static Ecore_Fb_Ts_Calibrate _ecore_fb_ts_cal = {1,1,0,0,0};
|
||||||
|
static Ecore_Fd_Handler *_ecore_fb_ts_fd_handler_handle = NULL;
|
||||||
|
|
||||||
|
#ifdef HAVE_TSLIB
|
||||||
|
struct tsdev *_ecore_fb_tslib_tsdev = NULL;
|
||||||
|
struct ts_sample _ecore_fb_tslib_event;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
static double _ecore_fb_double_click_time = 0.25;
|
||||||
|
|
||||||
EAPI int
|
EAPI int
|
||||||
ecore_fb_ts_init(void)
|
ecore_fb_ts_init(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue