Make onNativePen available for Android

This commit is contained in:
hwsmm
2024-11-12 22:58:39 +09:00
committed by Ryan C. Gordon
parent a5e8fc21b2
commit f5fbdf7ed5
2 changed files with 19 additions and 0 deletions

View File

@@ -1059,6 +1059,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
public static native void onNativeTouch(int touchDevId, int pointerFingerId,
int action, float x,
float y, float p);
public static native void onNativePen(int penId, int button, int action, float x, float y, float p);
public static native void onNativeAccel(float x, float y, float z);
public static native void onNativeClipboardChanged();
public static native void onNativeSurfaceCreated();