net.java.games.input
Class LinuxEventComponent
java.lang.Object
net.java.games.input.LinuxEventComponent
final class LinuxEventComponent
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinuxEventComponent
public LinuxEventComponent(LinuxEventDevice device,
Component.Identifier identifier,
boolean is_relative,
int native_type,
int native_code)
throws java.io.IOException
- Throws:
java.io.IOException
getDevice
public final LinuxEventDevice getDevice()
getAbsInfo
public final void getAbsInfo(LinuxAbsInfo abs_info)
throws java.io.IOException
- Throws:
java.io.IOException
getButtonTrait
public final Controller.Type getButtonTrait()
getIdentifier
public final Component.Identifier getIdentifier()
getDescriptor
public final LinuxAxisDescriptor getDescriptor()
isRelative
public final boolean isRelative()
isAnalog
public final boolean isAnalog()
convertValue
final float convertValue(float value)
getDeadZone
final float getDeadZone()