net.java.games.input
Class LinuxEventComponent

java.lang.Object
  extended by net.java.games.input.LinuxEventComponent

final class LinuxEventComponent
extends java.lang.Object


Constructor Summary
LinuxEventComponent(LinuxEventDevice device, Component.Identifier identifier, boolean is_relative, int native_type, int native_code)
           
 
Method Summary
(package private)  float convertValue(float value)
           
 void getAbsInfo(LinuxAbsInfo abs_info)
           
 Controller.Type getButtonTrait()
           
(package private)  float getDeadZone()
           
 LinuxAxisDescriptor getDescriptor()
           
 LinuxEventDevice getDevice()
           
 Component.Identifier getIdentifier()
           
 boolean isAnalog()
           
 boolean isRelative()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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()