net.java.games.input
Class LinuxForceFeedbackEffect
java.lang.Object
net.java.games.input.LinuxForceFeedbackEffect
- All Implemented Interfaces:
- Rumbler
- Direct Known Subclasses:
- LinuxConstantFF, LinuxRumbleFF
abstract class LinuxForceFeedbackEffect
- extends java.lang.Object
- implements Rumbler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinuxForceFeedbackEffect
public LinuxForceFeedbackEffect(LinuxEventDevice device)
throws java.io.IOException
- Throws:
java.io.IOException
upload
protected abstract int upload(int id,
float intensity)
throws java.io.IOException
- Throws:
java.io.IOException
getDevice
protected final LinuxEventDevice getDevice()
rumble
public final void rumble(float intensity)
- Description copied from interface:
Rumbler
- Rumble with the specified intensity.
- Specified by:
rumble
in interface Rumbler
getAxisName
public final java.lang.String getAxisName()
- Description copied from interface:
Rumbler
- Get the string name of the axis the rumbler is attached to
- Specified by:
getAxisName
in interface Rumbler
- Returns:
- The axis name
getAxisIdentifier
public final Component.Identifier getAxisIdentifier()
- Description copied from interface:
Rumbler
- Get the axis identifier the rumbler is attached to
- Specified by:
getAxisIdentifier
in interface Rumbler
- Returns:
- The axis identifier