You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
NOTE: the main addition in this commit is WIP support for apps which render on an EGL surface obtained using ANativeWindow_fromSurface currently, this EGL surface is obtained by creating a 700x700 pixel window with GLFW (the 700x700 size is hardcoded in several places) and only Wayland is supported ideally, we'd want to use a wayland subsurface to position the EGL surface above the Surface widget it's associated with (and do whatever for X11)
12 lines
197 B
Java
12 lines
197 B
Java
package android.view;
|
|
|
|
public class InputDevice {
|
|
public static int[] getDeviceIds() {
|
|
return new int[]{0}; // might work?
|
|
}
|
|
|
|
public static InputDevice getDevice(int id) {
|
|
return null;
|
|
}
|
|
}
|