summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-07-05 14:51:29 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-07-05 14:51:29 +0000
commit28200419f1f86843ef7d33285d83c32d57b31976 (patch)
tree88f066853d4deb5c5c6692ceb47274d3de61ccf7 /legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
parent8e8a6b7425d6092c2a4bf6a40d19eb9a5a1da23a (diff)
fix 2 more things in ecore-fb
SVN revision: 73361
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
index 3c37120231..23599c9ede 100644
--- a/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
+++ b/legacy/ecore/src/lib/ecore_fb/ecore_fb_li.c
@@ -148,6 +148,9 @@ _ecore_fb_li_device_event_key(Ecore_Fb_Input_Device *dev, struct input_event *ie
148 double current = ecore_loop_time_get(); 148 double current = ecore_loop_time_get();
149 149
150 button = ((iev->code & 0x00F) + 1); 150 button = ((iev->code & 0x00F) + 1);
151 // swap 2 and 3 to make middle and right butotn work right.
152 if (button == 3) button = 2;
153 else if (button == 2) button = 3;
151 if (iev->value) 154 if (iev->value)
152 { 155 {
153 dev->mouse.did_double = EINA_FALSE; 156 dev->mouse.did_double = EINA_FALSE;