GetImplementation(window).SendRotationCompletedAcknowledgement();
}
+void FeedTouchPoint(Window window, const Dali::TouchPoint& point, int32_t timeStamp)
+{
+ Integration::Point convertedPoint(point);
+ GetImplementation(window).FeedTouchPoint(convertedPoint, timeStamp);
+}
+
+void FeedWheelEvent(Window window, const Dali::WheelEvent& wheelEvent)
+{
+ Integration::WheelEvent convertedEvent(static_cast<Integration::WheelEvent::Type>(wheelEvent.GetType()), wheelEvent.GetDirection(), wheelEvent.GetModifiers(), wheelEvent.GetPoint(), wheelEvent.GetDelta(), wheelEvent.GetTime());
+ GetImplementation(window).FeedWheelEvent(convertedEvent);
+}
+
+void FeedKeyEvent(Window window, const Dali::KeyEvent& keyEvent)
+{
+ Integration::KeyEvent convertedEvent(keyEvent.GetKeyName(), keyEvent.GetLogicalKey(), keyEvent.GetKeyString(), keyEvent.GetKeyCode(), keyEvent.GetKeyModifier(), keyEvent.GetTime(), static_cast<Integration::KeyEvent::State>(keyEvent.GetState()), keyEvent.GetCompose(), keyEvent.GetDeviceName(), keyEvent.GetDeviceClass(), keyEvent.GetDeviceSubclass());
+ GetImplementation(window).FeedKeyEvent(convertedEvent);
+}
+
} // namespace DevelWindow
} // namespace Dali
class TouchEvent;
class WheelEvent;
class RenderTaskList;
+struct TouchPoint;
namespace DevelWindow
{
*/
DALI_ADAPTOR_API void SendRotationCompletedAcknowledgement(Window window);
+/**
+ * @brief Feed (Send) touch event to window
+ * @param[in] window The window instance
+ * @param[in] point The touch point
+ * @param[in] timeStamp The time stamp
+ */
+DALI_ADAPTOR_API void FeedTouchPoint(Window window, const Dali::TouchPoint& point, int32_t timeStamp);
+
+/**
+ * @brief Feed (Send) wheel event to window
+ * @param[in] window The window instance
+ * @param[in] wheelEvent The wheel event
+ */
+DALI_ADAPTOR_API void FeedWheelEvent(Window window, const Dali::WheelEvent& wheelEvent);
+
+/**
+ * @brief Feed (Send) key event to window
+ * @param[in] window The window instance
+ * @param[in] keyEvent The key event holding the key information.
+ */
+DALI_ADAPTOR_API void FeedKeyEvent(Window window, const Dali::KeyEvent& keyEvent);
+
} // namespace DevelWindow
} // namespace Dali