2018-06-30 18:46:53 +02:00
|
|
|
package org.warp.picalculator.device;
|
|
|
|
|
2018-07-28 23:26:07 +02:00
|
|
|
import org.warp.picalculator.event.TouchEventListener;
|
|
|
|
import org.warp.picalculator.event.TouchPoint;
|
|
|
|
|
|
|
|
public interface HardwareTouchDevice extends TouchEventListener {
|
2018-06-30 18:46:53 +02:00
|
|
|
public boolean getInvertedXY();
|
|
|
|
public boolean getInvertedX();
|
|
|
|
public boolean getInvertedY();
|
|
|
|
public default void setInvertedXY() {}
|
|
|
|
public default void setInvertedX() {}
|
|
|
|
public default void setInvertedY() {}
|
2018-07-28 23:26:07 +02:00
|
|
|
public TouchPoint makePoint(long id, float x, float y, int maxX, int maxY, float radiusX, float radiusY, float force, float rotationAngle);
|
2018-06-30 18:46:53 +02:00
|
|
|
}
|