Game Control Plus  1.2.2
 All Classes Namespaces Functions Variables Pages
net.java.games.input.LinuxForceFeedbackEffect Class Referenceabstract
Inheritance diagram for net.java.games.input.LinuxForceFeedbackEffect:

Classes

class  UploadTask
 
class  WriteTask
 

Public Member Functions

 LinuxForceFeedbackEffect (LinuxEventDevice device) throws IOException
 
synchronized final void rumble (float intensity)
 
final String getAxisName ()
 
final Component.Identifier getAxisIdentifier ()
 

Protected Member Functions

abstract int upload (int id, float intensity) throws IOException
 
final LinuxEventDevice getDevice ()
 

Private Attributes

final LinuxEventDevice device
 
final int ff_id
 
final WriteTask write_task = new WriteTask()
 
final UploadTask upload_task = new UploadTask()
 

Detailed Description

Author
elias

Member Function Documentation

final Component.Identifier net.java.games.input.LinuxForceFeedbackEffect.getAxisIdentifier ( )

Get the axis identifier the rumbler is attached to

Returns
The axis identifier

Implements net.java.games.input.Rumbler.

final String net.java.games.input.LinuxForceFeedbackEffect.getAxisName ( )

Get the string name of the axis the rumbler is attached to

Returns
The axis name

Implements net.java.games.input.Rumbler.

synchronized final void net.java.games.input.LinuxForceFeedbackEffect.rumble ( float  intensity)
virtual

Rumble with the specified intensity.

Implements net.java.games.input.Rumbler.