added a tablet_movement struct
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12454 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -102,6 +102,21 @@ typedef struct {
|
|||||||
int32 wheel_xdelta;
|
int32 wheel_xdelta;
|
||||||
} mouse_movement;
|
} mouse_movement;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
uint32 buttons;
|
||||||
|
float xpos;
|
||||||
|
float ypos;
|
||||||
|
bool has_contact;
|
||||||
|
float pressure;
|
||||||
|
int32 clicks;
|
||||||
|
bool eraser;
|
||||||
|
bigtime_t timestamp;
|
||||||
|
int32 wheel_ydelta;
|
||||||
|
int32 wheel_xdelta;
|
||||||
|
float tilt_x;
|
||||||
|
float tilt_y;
|
||||||
|
} tablet_movement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user