projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d103679
)
[Title] modified mouse event position
author
giwoong.kim
<giwoong.kim@samsung.com>
Thu, 8 Mar 2012 14:10:44 +0000
(23:10 +0900)
committer
giwoong.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
patch
|
blob
|
history
diff --git
a/tizen/src/hw/maru_touchscreen.c
b/tizen/src/hw/maru_touchscreen.c
index
d0e0f4c
..
41db0ff
100755
(executable)
--- a/
tizen/src/hw/maru_touchscreen.c
+++ b/
tizen/src/hw/maru_touchscreen.c
@@
-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;