WarpPI/core/src/main/java/it/cavallium/warppi/device/HardwareTouchDevice.java

22 lines
541 B
Java
Raw Normal View History

package it.cavallium.warppi.device;
import it.cavallium.warppi.event.TouchEventListener;
import it.cavallium.warppi.event.TouchPoint;
2018-07-28 23:26:07 +02:00
public interface HardwareTouchDevice extends TouchEventListener {
2018-09-22 11:17:30 +02:00
boolean getInvertedXY();
2018-08-28 02:39:41 +02:00
2018-09-22 11:17:30 +02:00
boolean getInvertedX();
2018-08-28 02:39:41 +02:00
2018-09-22 11:17:30 +02:00
boolean getInvertedY();
2018-08-28 02:39:41 +02:00
2018-09-22 11:17:30 +02:00
default void setInvertedXY() {}
2018-08-28 02:39:41 +02:00
2018-09-22 11:17:30 +02:00
default void setInvertedX() {}
2018-08-28 02:39:41 +02:00
2018-09-22 11:17:30 +02:00
default void setInvertedY() {}
2018-08-28 02:39:41 +02:00
2018-09-22 11:17:30 +02:00
TouchPoint makePoint(long id, float x, float y, int maxX, int maxY, float radiusX, float radiusY, float force,
float rotationAngle);
}