Logo
Explore Help
Sign In
atl/android_translation_layer
0
0
Fork 0
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
Code Issues Packages Projects Releases Wiki Activity
Files
231ac88dbda24aa7b0dc6dda4a2f675e6f0db3a3
android_translation_layer/src/api-impl/android/view/InputDevice.java

12 lines
197 B
Java
Raw Normal View History

implement some stuff to make exaple SDL app run 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)
2022-10-26 18:39:04 +02:00
package android.view;
public class InputDevice {
public static int[] getDeviceIds() {
return new int[]{0}; // might work?
}
public static InputDevice getDevice(int id) {
return null;
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Page: 58ms Template: 4ms
English
English
Licenses API