}
public void handleAxis(Device device, int axisId, float newValue,
float lastValue) {
if (newValue > 0.75) {
newMapping = new SourceComponent(SourceComponent.Type.AXIS, axisId, Direction.POSITIVE);
} else if (newValue < -0.75) {
newMapping = new SourceComponent(SourceComponent.Type.AXIS, axisId, Direction.NEGATIVE);
}
}