Touch support reworked
This commit is contained in:
+7
-8
@@ -32,14 +32,13 @@ enum TouchEvent
|
||||
|
||||
struct TouchState
|
||||
{
|
||||
unsigned char event;
|
||||
short x;
|
||||
short y;
|
||||
short startX;
|
||||
short startY;
|
||||
short lastX;
|
||||
short lastY;
|
||||
uint32_t time;
|
||||
unsigned char event;
|
||||
short x;
|
||||
short y;
|
||||
short startX;
|
||||
short startY;
|
||||
short deltaX;
|
||||
short deltaY;
|
||||
};
|
||||
|
||||
constexpr uint8_t SLIDE_RANGE = 6;
|
||||
|
||||
Reference in New Issue
Block a user