Package com.tinkerforge
Interface BrickletJoystick.AnalogValueReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletJoystick
public static interface BrickletJoystick.AnalogValueReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletJoystick.setAnalogValueCallbackThreshold(char, int, int, int, int)
is reached. The parameters are the analog values of the joystick. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletJoystick.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
analogValueReached(int x, int y)
-