class ControllerElementState

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
handleControllerElementHandleController element handleTo set handle, you simply assign a value directly to a field within handle. You can also use the parent message's HasField() method to check if a message type field value has been set.
event_typeintType of controller element event that occuredYou can manipulate the field event_type as if it were a regular field. To clear the value of event_type and reset it to the default value for its type, you call the ClearField() method of the Message interface.
axis_valuefloatAxis value (set between -1.0 and 1.0); only set if 'axis' controller element, otherwise set to zeroYou can manipulate the field axis_value as if it were a regular field. To clear the value of axis_value and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)