From 923c538b655905afc722d25fb8046736000f0bf3 Mon Sep 17 00:00:00 2001 From: "giwoong.kim" Date: Thu, 13 Sep 2012 16:10:19 +0900 Subject: [PATCH] [Title] limit to use touch fingers up to 10 [Type] enhancement [Module] Emulator / touch [Priority] minor [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- tizen/src/maru_finger.c | 2 +- tizen/src/maru_finger.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tizen/src/maru_finger.c b/tizen/src/maru_finger.c index c47e564..c38a7d6 100644 --- a/tizen/src/maru_finger.c +++ b/tizen/src/maru_finger.c @@ -162,7 +162,7 @@ void init_multi_touch_state(void) mts->finger_cnt_max = get_emul_max_touch_point(); if (mts->finger_cnt_max > MAX_FINGER_CNT) { - mts->finger_cnt_max = MAX_FINGER_CNT; //TODO: + mts->finger_cnt_max = MAX_FINGER_CNT; set_emul_max_touch_point(mts->finger_cnt_max); } INFO("maxTouchPoint=%d\n", get_emul_max_touch_point()); diff --git a/tizen/src/maru_finger.h b/tizen/src/maru_finger.h index afc6564..ad3b343 100644 --- a/tizen/src/maru_finger.h +++ b/tizen/src/maru_finger.h @@ -33,8 +33,7 @@ /* definitions relating to multi-touch */ -//TODO : from arg -#define MAX_FINGER_CNT 6 +#define MAX_FINGER_CNT 10 #define DEFAULT_FINGER_POINT_SIZE 32 #define DEFAULT_FINGER_POINT_COLOR 0x7E0F0F0F #define DEFAULT_FINGER_POINT_OUTLINE_COLOR 0xDDDDDDDD -- 2.7.4