ソースを参照

OSET_TOUCH_MOVE case implemented

mikymod 13 年 前
コミット
a12f8c2257
1 ファイル変更5 行追加0 行削除
  1. 5 0
      src/input/InputManager.cpp

+ 5 - 0
src/input/InputManager.cpp

@@ -112,6 +112,11 @@ void InputManager::EventLoop()
 			}
 			}
 			case os::OSET_TOUCH_MOVE:
 			case os::OSET_TOUCH_MOVE:
 			{
 			{
+				TouchEvent touch_event;
+				touch_event.pointer_id = event.data_a;
+				touch_event.x = event.data_b;
+				touch_event.y = event.data_c;	
+				mEventDispatcher.TouchMove(touch_event);			
 				break;
 				break;
 			}
 			}
 			case os::OSET_ACCELEROMETER:
 			case os::OSET_ACCELEROMETER: