[Title] limit to use touch fingers up to 10
authorgiwoong.kim <giwoong.kim@samsung.com>
Thu, 13 Sep 2012 07:10:19 +0000 (16:10 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Thu, 13 Sep 2012 07:10:19 +0000 (16:10 +0900)
[Type] enhancement
[Module] Emulator / touch
[Priority] minor
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

tizen/src/maru_finger.c
tizen/src/maru_finger.h

index c47e564..c38a7d6 100644 (file)
@@ -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());
index afc6564..ad3b343 100644 (file)
@@ -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