|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdvancedFFController
The interface AdvancedFFController. It extends AdvancedController to contain all the necessary methods for Force Feedback (FF) controllers.
| Method Summary | |
|---|---|
boolean |
destroyAll()
Destroy all effects: remove all effects, that are currently stored on the device. |
boolean |
destroyEffect(Effect effect)
Destroy effect: remove an effect from the device. |
int |
getAutoCenter()
Gets the currently set autocenter value. |
int |
getGain()
Gets the currently set gain value. |
int |
getNumOfFFAxes()
Gets the number of FF axes a device has. |
int |
getPlayableNumOfEffects()
Gets the number of effects a device can play simultaneously. |
int |
getStorableNumOfEffects()
Gets the number of effects a device can store. |
java.util.HashSet<java.lang.Class<? extends Effect>> |
getSupportedEffects()
Gets a HashSet of supported effects by this controller. |
boolean |
isAutocenterSupported()
Checks if auto centering is supported by the device. |
boolean |
isEffectSupported(java.lang.Class<? extends Effect> effectClass)
Checks if an effect is supported. |
boolean |
isEffectSupported(Effect effect)
Checks if an effect is supported. |
boolean |
isGainSupported()
Checks if a device supports setting gain. |
boolean |
isPaused()
Checks if the device is currently paused. |
boolean |
isPauseSupported()
Checks if the device supports pause/unpause for played effects. |
boolean |
isPlaying(Effect effect)
Checks if an effect is currently playing. |
boolean |
isQueryingEffectStatusSupported()
Checks if is querying the effect status is supported. |
boolean |
newEffect(Effect effect)
Upload a new effect to the device. |
boolean |
pause()
Pause all effects that are currently playing. |
boolean |
playEffect(Effect effect,
int iterations)
Playback an effect on the device. |
boolean |
setAutoCenter(int autocenterValue)
Sets the auto center value in %. |
boolean |
setGain(int gainValue)
Sets the gain value in %. |
boolean |
stopAll()
Stop all effects that are currently stored on the device. |
boolean |
stopEffect(Effect effect)
Stop an effect which is currently on the device. |
boolean |
unpause()
Resume all effects that were playing before pause() was called. |
boolean |
updateEffect(Effect effect)
Update an effect which was already uploaded to the device. |
| Methods inherited from interface at.wisch.joystick.AdvancedController |
|---|
getBall1Delta, getBall2Delta, getBall3Delta, getBall4Delta, getBallCount, getBallDelta, getBallName, getPov1X, getPov1Y, getPov2X, getPov2Y, getPov3X, getPov3Y, getPov4X, getPov4Y, getPovCount, getPovDirection, getPovName, getPovX, getPovY, getUAxisDeadZone, getUAxisValue, getVAxisDeadZone, getVAxisValue, isFFJoystick, setUAxisDeadZone, setVAxisDeadZone |
| Methods inherited from interface org.lwjgl.input.Controller |
|---|
getAxisCount, getAxisName, getAxisValue, getButtonCount, getButtonName, getDeadZone, getIndex, getName, getPovX, getPovY, getRXAxisDeadZone, getRXAxisValue, getRYAxisDeadZone, getRYAxisValue, getRZAxisDeadZone, getRZAxisValue, getXAxisDeadZone, getXAxisValue, getYAxisDeadZone, getYAxisValue, getZAxisDeadZone, getZAxisValue, isButtonPressed, poll, setDeadZone, setRXAxisDeadZone, setRYAxisDeadZone, setRZAxisDeadZone, setXAxisDeadZone, setYAxisDeadZone, setZAxisDeadZone |
| Method Detail |
|---|
java.util.HashSet<java.lang.Class<? extends Effect>> getSupportedEffects()
HashSet,
Effectboolean isEffectSupported(Effect effect)
effect - an Effect instance
Effectboolean isEffectSupported(java.lang.Class<? extends Effect> effectClass)
effectClass - an Effect class
Effectboolean isQueryingEffectStatusSupported()
Effectint getNumOfFFAxes()
Directionint getStorableNumOfEffects()
getPlayableNumOfEffects()int getPlayableNumOfEffects()
getStorableNumOfEffects()boolean isGainSupported()
setGain(int),
getGain()int getGain()
setGain(int),
isGainSupported()boolean setGain(int gainValue)
gainValue - the % gain value: any value from 0 to 100
isGainSupported(),
getGain()boolean isAutocenterSupported()
getAutoCenter(),
setAutoCenter(int)int getAutoCenter()
isAutocenterSupported(),
setAutoCenter(int)boolean setAutoCenter(int autocenterValue)
autocenterValue - the % autocenter strength: a value from 0 to 100
isAutocenterSupported(),
getAutoCenter()boolean isPauseSupported()
pause(),
unpause(),
isPaused()boolean pause()
isPauseSupported(),
unpause(),
isPaused()boolean unpause()
pause() was called.
isPauseSupported(),
pause(),
isPaused()boolean isPaused()
isPauseSupported(),
pause(),
unpause()boolean newEffect(Effect effect)
effect - the Effect
isEffectSupported(Effect),
playEffect(Effect, int),
stopEffect(Effect),
destroyEffect(Effect)
boolean playEffect(Effect effect,
int iterations)
effect - the Effect to be playediterations - the number of iterations (i.e. how often to play the effect): any positive integer, or INFINITE_TIMES
newEffect(Effect),
updateEffect(Effect),
stopEffect(Effect),
pause(),
unpause()boolean isPlaying(Effect effect)
effect - the Effect to check
playEffect(Effect, int),
stopEffect(Effect),
pause(),
unpause()boolean updateEffect(Effect effect)
effect - the Effect to be updated
newEffect(Effect),
playEffect(Effect, int)boolean stopEffect(Effect effect)
effect - the Effect to be stopped
stopAll(),
destroyEffect(Effect)boolean destroyEffect(Effect effect)
effect - the Effect to be removed from the device
destroyAll(),
stopEffect(Effect)boolean stopAll()
stopEffect(Effect),
destroyAll()boolean destroyAll()
destroyEffect(Effect),
stopAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||