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

Function java_processKeyText

src/android/Window_Android.c:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146static void JNICALL java_processKeyText(JNIEnv* env, jobject o, jstring str) {
147 char buffer[NATIVE_STR_LEN]; cc_string text;
148 String_InitArray(text, buffer);
149
150 Java_DecodeString(env, str, &text);
151 Platform_Log1("KEY - TEXT %s", &text);
152 Event_RaiseString(&InputEvents.TextChanged, &text);
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);

Callers

nothing calls this directly

Calls 3

Java_DecodeStringFunction · 0.85
Platform_Log1Function · 0.85
Event_RaiseStringFunction · 0.85

Tested by

no test coverage detected