ecore-drm: Add private structure to store mouse information in evdev

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-11 08:41:08 +00:00
parent 2791c3dc06
commit 8fe9adead1
1 changed files with 11 additions and 1 deletions

View File

@ -70,7 +70,7 @@
extern int _ecore_drm_log_dom;
/* undef this for non-testing builds */
# define LOG_TO_FILE
//# define LOG_TO_FILE
# ifdef LOG_TO_FILE
extern FILE *lg;
@ -185,6 +185,16 @@ struct _Ecore_Drm_Evdev
int x, y;
} abs;
struct
{
int x, y;
unsigned int last, prev;
double threshold;
Eina_Bool did_double : 1;
Eina_Bool did_triple : 1;
int prev_button, last_button;
} mouse;
struct
{
struct xkb_keymap *keymap;