-
Notifications
You must be signed in to change notification settings - Fork 17
SagePointerService
Arthur Nishimoto edited this page Nov 7, 2013
·
7 revisions
Last revision: 6 November 2013
Accepts SAGE pointer http://www.sagecommons.org/resources/sage-pointer-and-ui/ connections and generates Pointer events.
- Service type: Pointer
-
Event type:
Down
,Move
,Up
- Event data fields: position, flags for left, middle, or right events
-
Position
: Pointer position as a Vector2 -
Left
: Event flag for a left button click -
Middle
: Event flag for a middle button click -
Right
: Event flag for a right button click
-
Event type:
Update
- Event data fields: pointer color, extra data (string) for pointer name and IP address
-
Position
: Normalize RGB color encoded as a Vector3 -
ExtraDataString
: Pointer name followed by a space then the IP address of the client. Note: Spaces in the name are converted to '%'
-
debug (bool)
: If true, enables debug console text showing pointer connection information (default: false) -
forcedSourceId (int)
: Forces all pointers to have the specified ID (default: -1 (disabled))