Package org.robolectric.shadows
Class ShadowInputDevice
java.lang.Object
org.robolectric.shadows.ShadowInputDevice
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getName()
protected int
protected int
static InputDevice
makeInputDeviceNamed
(String deviceName) void
setDeviceName
(String deviceName) void
setProductId
(int productId) void
setVendorId
(int vendorId)
-
Constructor Details
-
ShadowInputDevice
public ShadowInputDevice()
-
-
Method Details
-
makeInputDeviceNamed
-
getName
-
getProductId
-
getVendorId
-
setDeviceName
-
setProductId
public void setProductId(int productId) -
setVendorId
public void setVendorId(int vendorId)
-