package android.view; public class InputDevice { public static int[] getDeviceIds() { return new int[]{0}; // might work? } public static InputDevice getDevice(int id) { return null; } }