-
Notifications
You must be signed in to change notification settings - Fork 17
PQService
Arthur Nishimoto edited this page Aug 1, 2013
·
3 revisions
Uses the PQLabs API to connect and receive touch data from a PQLabs server (MultiTouchPlatform). Can be combined with the GestureManager to generate more accurate touch point events as well as basic multi-touch gestures like pan and zoom.
- Service type: Pointer
-
Event types:
Down
,Move
,Up
- Event data fields: position, extra data (float array) for touch width and height.
-
serverIP (string)
: the name or IP address of the PQLabs Multitouch Platform server (default: localhost) -
maxBlobSize (int)
: the largest pixel diameter of touches to be reported (default: 1000) -
screenX (int)
: the x resolution to expand normalized touch data. If 0, the resolution of the PQLabs server will be used. If 1, the data will be normalized (0.0 to 1.0). (default: 0) -
screenY (int)
: the y resolution to expand normalized touch data. If 0, the resolution of the PQLabs server will be used. If 1, the data will be normalized (0.0 to 1.0). (default: 0) -
screenOffsetX (int)
: the offset in pixels in the x direction. (default: 0) -
screenOffsetY (int)
: the offset in pixels in the y direction. (default: 0) -
useGestureManager (bool)
: toggle the Gesture Manager. (default: false)