|
|
@@ -9,14 +9,10 @@ namespace os
|
|
|
|
|
|
extern "C"
|
|
|
{
|
|
|
+ //!< OS push_event() jni bind
|
|
|
JNIEXPORT void JNICALL Java_crown_android_CrownLib_pushEvent(JNIEnv * env, jobject obj, jint type, jint a, jint b, jint c, jint d);
|
|
|
};
|
|
|
|
|
|
-JNIEXPORT void JNICALL Java_crown_android_CrownLib_pushEvent(JNIEnv * env, jobject obj, jint type, jint a, jint b, jint c, jint d)
|
|
|
-{
|
|
|
- push_event((OSEventType)type, a, b, c, d);
|
|
|
-}
|
|
|
-
|
|
|
//-----------------------------------------------------------------------------
|
|
|
void init_input()
|
|
|
{
|
|
|
@@ -53,5 +49,11 @@ void show_cursor()
|
|
|
// not necessary
|
|
|
}
|
|
|
|
|
|
+//-----------------------------------------------------------------------------
|
|
|
+JNIEXPORT void JNICALL Java_crown_android_CrownLib_pushEvent(JNIEnv * env, jobject obj, jint type, jint a, jint b, jint c, jint d)
|
|
|
+{
|
|
|
+ push_event((OSEventType)type, a, b, c, d);
|
|
|
+}
|
|
|
+
|
|
|
} // namespace os
|
|
|
} // namespace crown
|