[Title] modified mouse event position
authorgiwoong.kim <giwoong.kim@samsung.com>
Thu, 8 Mar 2012 14:10:44 +0000 (23:10 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Thu, 8 Mar 2012 14:10:44 +0000 (23:10 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/hw/maru_touchscreen.c

index d0e0f4c..41db0ff 100755 (executable)
@@ -135,8 +135,8 @@ static void usb_touchscreen_event(void *opaque, int x, int y, int z, int buttons
     USBTouchscreenState *s = opaque;
 
     /* scale to resolution */
-    s->dx = (x * TOUCHSCREEN_RESOLUTION_X / 0x7FFF);
-    s->dy = (y * TOUCHSCREEN_RESOLUTION_Y / 0x7FFF);
+    s->dx = x; //(x * TOUCHSCREEN_RESOLUTION_X / 0x7FFF);
+    s->dy = y; //(y * TOUCHSCREEN_RESOLUTION_Y / 0x7FFF);
     s->dz = z;
     s->buttons_state = buttons_state;
     s->changed = 1;