|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jhid.impl.linux.LinuxDeviceInfo
Permits to retrieve
Constructor Summary | |
LinuxDeviceInfo(java.lang.String aFileName,
int aFD)
|
Method Summary | |
java.lang.String |
getDeviceName()
Returns the name of the device as reported by the OS. |
int |
getDeviceVendorId()
Returns vendor id of the device as reported by the OS. |
int |
getDeviceVersion()
Returns version number of the device as reported by the OS. |
int |
getFD()
|
java.lang.String |
getFileName()
|
InputId |
getInputId()
|
byte[] |
getSupportedEventCodes(int aEventType)
|
byte[] |
getSupportedEventTypes()
|
boolean |
hasEventCode(int aEventType,
int aEventCode)
Determines if the device can report events of the specified type and code |
boolean |
hasEventType(int aEventType)
Determines if the device can report events of the specified type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinuxDeviceInfo(java.lang.String aFileName, int aFD)
Method Detail |
public int getFD()
public java.lang.String getFileName()
public InputId getInputId()
public byte[] getSupportedEventTypes()
public byte[] getSupportedEventCodes(int aEventType)
public boolean hasEventType(int aEventType)
aEventType
- One of the EV_* constants in LinuxConstants
public boolean hasEventCode(int aEventType, int aEventCode)
aEventType
- One of the EV_* constants in LinuxConstants
public java.lang.String getDeviceName()
IDeviceInfo
getDeviceName
in interface IDeviceInfo
public int getDeviceVendorId()
IDeviceInfo
getDeviceVendorId
in interface IDeviceInfo
public int getDeviceVersion()
IDeviceInfo
getDeviceVersion
in interface IDeviceInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |