Package com.tinkerforge
Interface BrickletJoystick.PositionReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletJoystick
public static interface BrickletJoystick.PositionReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletJoystick.setPositionCallbackThreshold(char, short, short, short, short)
is reached. The parameters are the position 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
positionReached(short x, short y)
-