Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.DIDeviceObject Class Reference

Public Member Functions

 DIDeviceObject (IDirectInputDevice device, Component.Identifier id, byte[] guid, int guid_type, int identifier, int type, int instance, int flags, String name, int format_offset) throws IOException
 
final synchronized int getRelativePollValue (int current_abs_value)
 
final synchronized int getRelativeEventValue (int current_abs_value)
 
final int getGUIDType ()
 
final int getFormatOffset ()
 
final IDirectInputDevice getDevice ()
 
final int getDIIdentifier ()
 
final Component.Identifier getIdentifier ()
 
final String getName ()
 
final int getInstance ()
 
final int getType ()
 
final byte[] getGUID ()
 
final int getFlags ()
 
final long getMin ()
 
final long getMax ()
 
final float getDeadzone ()
 
final boolean isButton ()
 
final boolean isAxis ()
 
final boolean isRelative ()
 
final boolean isAnalog ()
 
final float convertValue (float value)
 

Private Attributes

final IDirectInputDevice device
 
final byte[] guid
 
final int identifier
 
final int type
 
final int instance
 
final int guid_type
 
final int flags
 
final String name
 
final Component.Identifier id
 
final int format_offset
 
final long min
 
final long max
 
final int deadzone
 
int last_poll_value
 
int last_event_value
 

Static Private Attributes

static final int WHEEL_SCALE = 120
 

Detailed Description

Java wrapper for DIDEVICEOBJECTINSTANCE

Author
elias
Version
1.0