public interface AnalogListener extends InputListener
AnalogListener
is used to receive events of inputs
in analog format.Modifier and Type | Method and Description |
---|---|
void |
onAnalog(java.lang.String name,
float value,
float tpf)
Called to notify the implementation that an analog event has occurred.
|
void onAnalog(java.lang.String name, float value, float tpf)
name
- The name of the mapping that was invokedvalue
- Value of the axis, from 0 to 1.tpf
- The time per frame value.