Files
android_translation_layer/src/api-impl/android/view/InputDevice.java

16 lines
336 B
Java
Raw Normal View History

package android.view;
public class InputDevice {
2023-08-12 13:09:33 +02:00
public static final int SOURCE_CLASS_BUTTON = 0x00000001;
public static final int SOURCE_KEYBOARD = 0x00000100 | SOURCE_CLASS_BUTTON;
public static int[] getDeviceIds() {
return new int[] {0}; // might work?
}
public static InputDevice getDevice(int id) {
return null;
}
}