MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / java_processPointerDown

Function java_processPointerDown

src/android/Window_Android.c:155–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static void JNICALL java_processPointerDown(JNIEnv* env, jobject o, jint id, jint x, jint y, jint isMouse) {
156 Platform_Log4("POINTER %i (%i) - DOWN %i,%i", &id, &isMouse, &x, &y);
157 Input_AddTouch(id, x, y);
158}
159
160static void JNICALL java_processPointerUp(JNIEnv* env, jobject o, jint id, jint x, jint y, jint isMouse) {
161 Platform_Log4("POINTER %i (%i) - UP %i,%i", &id, &isMouse, &x, &y);

Callers

nothing calls this directly

Calls 2

Platform_Log4Function · 0.85
Input_AddTouchFunction · 0.85

Tested by

no test coverage detected