Browse Source

OSET_TOUCH_MOVE case implemented

mikymod 13 years ago
parent
commit
a12f8c2257
1 changed files with 5 additions and 0 deletions
  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:
 			{
+				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;
 			}
 			case os::OSET_ACCELEROMETER: