@@ -0,0 +1,1122 @@
+package io.trigger.forge.android.modules.events;%0A%0A%0Aimport android.os.SystemClock;%0Aimport android.view.MotionEvent;%0Aimport android.webkit.WebView;%0Aimport io.trigger.forge.android.core.ForgeActivity;%0Aimport io.trigger.forge.android.core.ForgeApp;%0Aimport io.trigger.forge.android.core.ForgeParam;%0Aimport io.trigger.forge.android.core.ForgeTask;%0A%0Apublic class API %7B%0A%09%0A%09public static void touch(final ForgeTask task,%0A%09%09%09@ForgeParam(%22x%22) final int x, @ForgeParam(%22y%22) final int y)%7B%0A%09%09ForgeActivity activity = ForgeApp.getActivity();%0A%09%09final WebView webView = activity.webView;%0A%09%09activity.runOnUiThread(new Runnable() %7B%0A        %09public void run() %7B%0A        %09%09%09long uptime = SystemClock.uptimeMillis();%0A%09        %09%09webView.dispatchTouchEvent(MotionEvent.obtain(%0A%09        %09%09%09%09uptime,%0A%09        %09%09%09%09uptime, %0A%09        %09%09%09%09MotionEvent.ACTION_DOWN, %0A%09        %09%09%09%09x,%0A%09        %09%09%09%09y,%0A%09        %09%09%09%090)%0A%09        %09%09);%0A%09        %09%09webView.dispatchTouchEvent(MotionEvent.obtain(%0A%09        %09%09%09%09uptime, %0A%09        %09%09%09%09uptime, %0A%09        %09%09%09%09MotionEvent.ACTION_UP, %0A%09        %09%09%09%09x,%0A%09        %09%09%09%09y,%0A%09        %09%09%09%090)%0A%09        %09%09);%0A        %09%7D%0A%09%0A%09%09%7D);%0A%09%7D%0A%7D%0A

needs to be called 'events'